Timekeeping oddities on MacMini G4s

Hal Murray hmurray at megapathdsl.net
Tue Feb 7 20:56:59 AEDT 2017


> What do I do if I don't have an existing ntp.conf ?

Assuming ntpsec builds...

There are sample config files in config/
  contrib/ntp.conf.log.sample has logging which you probably want.
it has lots of comments.

It is setup to use us.pool.ntp.org
If you aren't in the us, you should probably change that to your country code.

If you know of any good servers near your location (by network quality, not 
miles/km), you can add them with:
  server <ip-address-or-name> iburst

It will write in several files:
  /var/lib/ntp/ntp.drift
  /var/log/ntp.log
  /var/log/ntpstats/<various>
So you need to make sure the directories exist.


Turn off whatever is currently keeping time on your system.

./build/main/ntpd/ntpd -N -c ./contrib/ntp.conf.log.sample

(It may need a file name starting at /)


-- 
These are my opinions.  I hate spam.





More information about the Linuxppc-dev mailing list