-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathntp-server.conf
30 lines (25 loc) · 1.05 KB
/
ntp-server.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# DON'T PANIC!
# Prevents NTP from giving up and exiting when time is more than
# +/- 1000 seconds off from the servers we are synchronizing against.
tinker panic 0
# The driftfile must remain in a place specific to this
# machine - it records the machine specific clock error.
driftfile /var/lib/ntp/ntp.drift
# Specify 4 servers from ntp.org to use for synchronization when we can
# get to the Internet. "iburst" allows for faster synchronization when
# these servers are first contacted.
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst
# Configure undisciplined local clock when external servers are
# unavailable.
server 127.127.1.1 iburst minpoll 3 prefer
fudge 127.127.1.1 stratum 12
# Broadcast time to anyone listening on the 10.9.0.x network.
# "minpoll 3" makes the server broadcast every 2^3 seconds for faster
# synchronization when the robot is powered up.
broadcast 10.9.0.255 minpoll 3
# Disable authentication. It's a trusted network and authentication
# setup is a pain.
disable auth