[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] ntp-client



On 1/21/02 at 8:15 AM MikeM wrote:

|On 1/21/02 at 12:12 PM Jelmer Jellema wrote:
|
||Hi,
||
||In the control panel, you can enter the name of a ntp-server. Today, I
||found
||my server a bit off-time. Can anyone point me to the script/place where
||this
||entry is actually used. Is this only during boot, in some cron-thing, or
||never?
|=============
|
|On my RaQ3:
|
| # grep -r ntpdate /etc/*
|/etc/rc.d/init.d/xntpd:         /usr/sbin/ntpdate -s -b -p 8 -u `cat
|/etc/ntp/step-tickers`
|/etc/rc.d/rc0.d/K10xntpd:               /usr/sbin/ntpdate -s -b -p 8 -u
|`cat /etc/ntp/step-tickers`
|/etc/rc.d/rc1.d/K10xntpd:               /usr/sbin/ntpdate -s -b -p 8 -u
|`cat /etc/ntp/step-tickers`
|/etc/rc.d/rc2.d/K10xntpd:               /usr/sbin/ntpdate -s -b -p 8 -u
|`cat /etc/ntp/step-tickers`
|/etc/rc.d/rc3.d/K10xntpd:               /usr/sbin/ntpdate -s -b -p 8 -u
|`cat /etc/ntp/step-tickers`
|/etc/rc.d/rc4.d/K10xntpd:               /usr/sbin/ntpdate -s -b -p 8 -u
|`cat /etc/ntp/step-tickers`
|/etc/rc.d/rc5.d/K10xntpd:               /usr/sbin/ntpdate -s -b -p 8 -u
|`cat /etc/ntp/step-tickers`
|/etc/rc.d/rc6.d/K10xntpd:               /usr/sbin/ntpdate -s -b -p 8 -u
|`cat /etc/ntp/step-tickers`
|/etc/rc.d/rcN.d/K09xntpd:               /usr/sbin/ntpdate -s -b -p 8 -u
|`cat /etc/ntp/step-tickers`
|
=============

As a follow-up to my original reply...

I do not run the GUI's ntp service on my RaQ3.  It I did, the ntpdate program would also appear somewhere in /etc/cron.daily/, since the GUI sets it to run with the daily cron jobs.

The reason I do not use the GUI ntp service anymore is that the RaQ's clock drifts a significant number of seconds per day, and the step of time caused by a multi-second adjustment threw off some watchdog timers (watchdog timers do not like the system time to go in reverse).

Instead, I downloaded and installed the ntp daemon (see http://www.ntp.org for everything you need to know), and now my RaQ3 stays sync'd to a few tens of milliseconds.  The ntp daemon adjusts the system time in a manner that assures a monotonically increasing system time.  So my watchdog timers are happy now.  :-)