Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
- driftfile /var/lib/ntp/ntp.drift
- enable pps stats
- # Enable this if you want statistics to be logged.
- statsdir /var/log/ntpstats/
- statistics loopstats peerstats clockstats
- filegen loopstats file loopstats type day enable
- filegen peerstats file peerstats type day enable
- filegen clockstats file clockstats type day enable
- # GPS PPS reference, accurate to 50usec
- # The last octect refers to /dev/pps(n) - in this case, /dev/pps0
- server 127.127.22.0 minpoll 4 maxpoll 4
- fudge 127.127.22.0 refid PPS
- # GPS time, which is only accurate to about 10msec
- server 127.127.28.0 minpoll 4 maxpoll 4 prefer
- fudge 127.127.28.0 time1 0.135 refid GPS
- # If you want to rely on any other servers, add them here...
- # server 121.0.0.41
- # server 180.150.12.46
- # Always use a pool!
- pool au.pool.ntp.org iburst
- # By default, exchange time with everybody, but don't allow configuration.
- restrict -4 default kod notrap nomodify nopeer noquery limited
- restrict -6 default kod notrap nomodify nopeer noquery limited
- # Local users may interrogate the ntp server more closely.
- restrict 127.0.0.1
- restrict ::1
- # Needed for adding pool entries
- restrict source notrap nomodify noquery
- leapfile /usr/share/zoneinfo/leap-seconds.list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement