From owner-freebsd-questions Wed Oct 27 6:19:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from saul.netgates.co.uk (saul.netgates.co.uk [194.105.64.199]) by hub.freebsd.org (Postfix) with ESMTP id AC64814BF7 for ; Wed, 27 Oct 1999 06:19:20 -0700 (PDT) (envelope-from didds@netgates.co.uk) Received: from netgates.co.uk (localhost [127.0.0.1]) by saul.netgates.co.uk (8.9.3/8.9.3) with ESMTP id OAA00414; Wed, 27 Oct 1999 14:18:48 +0100 (BST) (envelope-from didds@netgates.co.uk) Message-ID: <3816FBB8.F40C4A79@netgates.co.uk> Date: Wed, 27 Oct 1999 14:18:48 +0100 From: Ian Diddams X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Oles' Hnatkevych" Cc: "Stephen A. Derdau" , freebsd-questions@FreeBSD.ORG Subject: Re: xntpd configuration References: <3816E487.5014F43E@ne.mediaone.net> <1636.991027@fc.kiev.ua> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oles' Hnatkevych wrote: > > OK. But what configuration has to have "server"??? > > we run intranet here, and we need our own source > of syncronization.... This is how I've sorted it... On server (known locally as "time"): ntp.conf : server ntp.cs.strath.ac.uk server 127.127.1.0 fudge 127.127.1.0 stratum 10 driftfile /etc/ntp.drift and xntpd is started at boot time with arguments -p /var/run/xntpd.pid -c /etc/ntp.conf ntp.cs.strath.ac.uk is an external time server available publically; I wrote and asked if I could use it for authentification and they kindly agreed. If you have no external link, or don't wish to use such a beast, then the second line apparently acts as "use yourself" ie "I am definitive myself". Don't ask me why this works 'cos I found it on a web page to do with xntpd somewhere a long time ago! The rest of the file is smoke and mirrors (see previous). But it works. (FWIW before I ran xntpd up I ran "ntpdate ntp.cs.strath.ac.uk" as a one off time sync to bring it dead level immediately.) Clients : load xntpd with the same arguments as above. ntp.conf file looks like server time driftfile /etc/ntp.drift (Again, before starting up xntpd I did a one off "ntpdate time" to totally sync the clocks.) HTH. -- Didds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message