Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2002 10:49:44 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        MurrayTaylor <mjtlx@ozemail.com.au>
Cc:        Chris Dillon <cdillon@wolves.k12.mo.us>, Joe & Fhe Barbish <barbish@a1poweruser.com>, FBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: ntpd as time server?
Message-ID:  <Pine.GSO.4.31.0201151048380.20828-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <000501c19d5c$0a4dafa0$022aa8c0@homenet.xxx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Jan 2002, MurrayTaylor wrote:

> Akk.. and the one other bit of magic that makes it work
> Xntpd and ntpdate want to use the same port 123, which gets them knotted..
> So the entry in crontab is NOT just
>
> ntpdate aaa.bbb.ccc.ddd
>
> but instead is
>
> /root/bin/ntpcron
>
> which is a script as follows
>
> #!/bin/sh
> kill `cat /var/run/xntpd.pid`
> sleep 1
> ntpdate aaa.bbb.ccc.ddd
> sleep 1
> xntpd -p /var/ruun/xntpd.oid
>
>
> Ie drop off the xntdp daemon while we tweek the systems clock

Rather than step your clock, why not just teach ntpd about the time
server it should synchronise to? It's pretty configurable, and you'll
get smooth time changes if you do this.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
It's a sad fact that the word "semantics" seems to have lost all meaning.


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?Pine.GSO.4.31.0201151048380.20828-100000>