Date: Sun, 11 Oct 1998 09:25:48 -0400 From: Norman C Rice <nrice@emu.sourcee.com> To: David Kelly <dkelly@hiwaay.net> Cc: questions@FreeBSD.ORG, Jim Cassata <jim@web-ex.com> Subject: Re: xntpd Message-ID: <19981011092548.A14433@emu.sourcee.com> In-Reply-To: <199810102302.SAA29513@nospam.hiwaay.net>; from David Kelly on Sat, Oct 10, 1998 at 06:02:10PM -0500 References: <jim@web-ex.com> <199810102302.SAA29513@nospam.hiwaay.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 10, 1998 at 06:02:10PM -0500, David Kelly wrote:
> (moved to -questions)
>
> Jim Cassata writes:
> >
> > Is anyone using this or a better way to keep server clocks in sync?
> > It doesn't seem to do anything, 4 servers all running xntpd with a
> > /etc/ntp.conf (as per the man pages) as follows:
> >
> > server 128.173.14.71
> > driftfile /etc/ntp.drift
> >
> > and there is a writable driftfile that never gets written to. According to
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you created the drift file, delete it and restart xntpd so it can create
the drift file when it's ready too -- have patience. Apparently, xntpd expects
the drift file to contain valid data if it exists.
Sorry, I missed the original post.
--
Regards,
Norman C. Rice, Jr.
> > the complete FreeBSD book, the driftfile's presence in the conf file tells
> > xntpd to get the time from the server, and it's absence tells it to get
> > the time from listening to ntp broadcasts.
>
> That's essentially what I have in my /etc/ntp.conf. The big difference
> is that I list servers by name, not IP address as their actual IP
> addresses tend to change. Also I list 4 servers.
>
> If you are on a part time dialup link you should not start xntpd from
> /etc/rc.conf, but manually (as root) during your first dialup.
>
> What does "ntpq -c peers" say?
> n4hhe: {681} ntpq -c peers
> remote refid st t when poll reach delay offset disp
> ==============================================================================
> 130.199.128.184 130.199.112.138 3 - 39m 64 0 247.39 -1686.6 16000.0
> fly.hiwaay.net 192.5.41.40 16 - 107m 64 0 164.61 -1691.2 16000.0
> 128.249.2.2 134.131.68.73 3 - 46m 64 0 229.23 -1680.7 16000.0
> 128.194.103.35 128.194.177.1 3 - 41m 64 0 238.59 -1701.1 16000.0
> n4hhe: {682} ls -l /etc/ntp*
> -rw-r--r-- 1 root wheel 701 Mar 22 1998 /etc/ntp.conf
> -rw-rw-r-- 1 root wheel 9 Oct 10 17:09 /etc/ntp.drift
> n4hhe: {683}
>
> I'm not connected right now so DNS isn't mapping numbers to names. Don't
> know why my ntp.drift changed at 17:09 as xntpd was not connected to the
> net in the past 18 hours. Altho it was connected at 17:15.
>
>
> --
> David Kelly N4HHE, dkelly@nospam.hiwaay.net
> =====================================================================
> The human mind ordinarily operates at only ten percent of its
> capacity -- the rest is overhead for the operating system.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981011092548.A14433>
