Jim Ford schrieb:
> Simon Bolduc wrote:
>> Alternatively you could have a cron job to ping a remote host or
>> something.  I'm not sure how often NTP will update the time, using a
>> cron job to ping or update the time once every 4 hours or so should do
>> the trick.
> 
> You mean that someone has actually got openntpd to work reliably?
> 
> I've got openntpd installed, but every time I look at its status it's 
> stopped! If I start it, it appears to start OK but when I look later 
> it's stopped again.
> 
> A trawl through the web reveals that this is not uncommon - and not only 
> on Leaf. I've tried the various recommended fixes with no success.

I don't know about openntpd, I am just conservative enough to use the 
standard ntp daemon from ntpd.lrp This one works reliably for me and I 
have not found a reason yet to change.

I found the following settings work best for the ntp,conf and defaults:

# /etc/ntp.conf, configuration for ntpd

# ntpd will use syslog() if logfile is not defined
#logfile /var/log/ntpd

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

# pool.ntp.org maps to more than 100 low-stratum NTP servers.
# Your server will pick a different set every time it starts up.
#  *** Please consider joining the pool! ***
#  ***  <http://www.pool.ntp.org/#join>  ***
server swisstime.ee.ethz.ch iburst
server clock.tix.ch
server ntp.univ-lyon1.fr


# /etc/default/ntp
# NTPD options
NTPD_OPTS="-g"

# should we wait for ntpd to be synchronized
NTP_WAIT=YES
NTP_WAIT_TIMEOUT=60


HTH

Erich



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to