[TriLUG] A clock problem
Michael Tharp
gxti at partiallystapled.com
Tue Jul 19 18:56:54 EDT 2005
Randall Barlow wrote:
>OK, so now the clock doesn't change itself to random times anymore, but
>I've been noticing that the clock is now drifting away from the correct
>time slowly. Before, when I had the clock set to "local" in rc.conf,
>the clock would be updated by ntpd just fine upon booting. Now, it
>doesn't seem that ntpd is updating the clock. Anyone know how to fix
>this? (Gentoo...)
>
>Thanks,
>Randy Barlow
>
>
>
My /etc/conf.d/ntpd(sans comments):
NTPD_HOME=/var/empty
NTPD_OPTS="-s"
My /etc/ntpd.conf:
servers pool.ntp.org
And my /etc/ntp.conf:(relevance unknown):
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict 68.221.103.40 mask 255.255.255.248
fudge 127.127.1.0 stratum 3
server 127.127.1.0
driftfile /var/lib/ntp/ntp.drift
logfile /var/log/ntp.log
Make sure to rc-update add ntpd default.
Hope this helps.
More information about the TriLUG
mailing list