You are not logged in.
Pages: 1
I noticed a default ntp.conf in /etc, but I could not see how the ntp package installed it. Anyway, it wasn't working very well so I went to the ntp web site to figure out why. One fix was eliminating the 127.0.0.1 local clock. Another was dropping notrust from the restrict command. Here's my new ntp.conf which works much better now, in case it might help someone else.
restrict default nomodify noquery
server ntp-2.vt.edu
server louie.udel.edu
server ntp-1.mcs.anl.gov
server clock.psu.edu
driftfile /etc/ntp.drift
logfile /var/log/ntp.log
Also note that http://www.eecis.udel.edu/~mills/ntp/html/accopt.html says, at the bottom of the page where it's easy to miss:
Default restriction list entries with the flags ignore, interface, ntpport, for each of the local host's interface addresses are inserted into the table at startup to prevent the server from attempting to synchronize to its own time.
AFAICT, that's why you should NOT use
restrict 127.0.0.1
which opens up the local clock as a time source, which is a bad thing.
The sturgeon general says don't smoke fish
Offline
I'm pretty sure the /etc/ntp.conf is created by dhcpcd.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
Pages: 1