clock running fast
Federico Galvez-Durand Besnard
Federico.Besnard at bluewin.ch
Thu Dec 30 11:37:07 PST 2004
Set /etc/localtime to your correct timezone before doing anything in
your machine.
Remove /var/db/ntpd.drift before you reboot or restart your ntpd.
This is what I use in /etc/rc.conf:
+++
ntpd_enable="YES" # Run ntpd Network Time Protocol (or NO).
ntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different one.
ntpd_flags="-p /var/run/ntpd.pid -f /etc/ntp/drift -l /var/log/ntp.log"
+++
Check ntpd messages with dmesg.
If it does not work, this is one ntp.conf (change server to
time.u.washington.edu or whatever is closer to you) that worked well for me:
+++++ BEGIN /etc/ntp.conf +++++++
# NTP configuration file
#
# Thu Nov 11 20:06:40 GMT+1 2004
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
restrict 127.0.0.1
# servers to query
#-------------------
server clock.tix.ch
restrict clock.tix.ch mask 255.255.255.255 nomodify notrap
noquery
+++++ END /etc/ntp.conf +++++++
Once you get synchronised with your time-server, you can consider
changing minpoll maxpoll to polite values.
Fico//
David Talkington wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Federico Galvez-Durand Besnard wrote:
>
>> what do you have in :
>> /etc/ntp.conf
>
>
> Only:
>
> server time.u.washington.edu
> server 127.127.1.0 fudge 127.127.1.0 stratum 10
>
>
> Command line:
>
> /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid \
> - -f /var/db/ntpd.drift
>
> Thank you ... -d
>
More information about the freebsd-stable
mailing list