You are not logged in.

#1 2004-05-10 05:50:57

From: Charlotte, NC, USA
Registered: 2004-04-08
Posts: 84

ntp config

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 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
driftfile /etc/ntp.drift
logfile /var/log/ntp.log

Also note that 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


which opens up the local clock as a time source, which is a bad thing.

The sturgeon general says don't smoke fish


#2 2004-05-10 06:01:39

Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797

Re: ntp config

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


Board footer

Powered by FluxBB