Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 1998 18:02:10 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Jim Cassata <jim@web-ex.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: xntpd 
Message-ID:  <199810102302.SAA29513@nospam.hiwaay.net>
In-Reply-To: Message from Jim Cassata <jim@web-ex.com>  of "Sat, 10 Oct 1998 17:49:51 CDT." <Pine.BSF.4.05.9810101746290.14920-100000@Homer.Web-Ex.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
(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
> 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?199810102302.SAA29513>