ntp

Dustin Decker dustind at moon-lite.com
Thu Apr 11 22:03:47 CDT 2002


On Thu, 11 Apr 2002, Eric Rossiter wrote:
> Thanks Hal...I looked, but didn't find much.  
> Anyway, I have ntp-4.1.1 downloaded and installed.  The docs say the
> ntp.conf file is provided, but there is not an ntp.conf file in /etc.
> 
> Can I just create this file myself, and set it up to basically match the
> example presented?  From the docs I've perused in the last hour, this
> looks way over my poor head.  I tried this a few months ago and had to
> give up....thought I might be a little better prepared now...foolish me.

I don't know so much about doing the whole network... (that is to say, I 
don't know how to get ntp on one server to give out time to all other 
machines on the network.)

As for time sync, I do this in a cron job:

#!/bin/sh
/usr/sbin/ntpdate -bu -t 3 time-a.nist.gov >/dev/null 2>&1
/sbin/hwclock --systohc >/dev/null 2>&1

Dustin

-- 
Even in evil, we discern rays of light and hope, and gradually come to see, in suffering and
temptation, proofs and instruments of the sublimest purposes of wisdom and love.  - William
Ellery Channing




More information about the Kclug mailing list