I hate NTP.
The man pages makes it look so easy.
Here's an excerpt from tldp.org on basic ntp config.
# --- GENERAL CONFIGURATION ---
server aaa.bbb.ccc.ddd
server 127.127.1.0
server 127.127.1.0 stratum 10
# Drift file.
driftfile /etc/ntp/drift
Then you can restrict by adding, only add after the earlier config has been fully tested
# Prohibit general access to this service.
restrict default ignore
# Permit systems on this network to synchronize with this time service.
# But no modify our time.
restrict aaa.bbb.ccc.ddd nomodify
# Allow the following unrestricted access to ntpd
restrict aaa.bbb.ccc.ddd
restrict 127.0.0.1
stratum 10 mentioned earlier will change or rather adjust your system time gradually. sometimes it doesn't really work, the system time will still remain the same, or maybe I'm not patient enough. Sheesh
No comments:
Post a Comment