# Derived from: /etc/RCS/ntp.conf,v 3.4 2000/03/11 17:34:04 windl Exp
### Miscellaneous section ###
# logconfig [+|-|=][{sync|sys|peer|clock}{{,all}{info|statistics|events|status}}]...
logconfig =syncevents +peerevents +sysevents +allclock

pps /dev/refclock-1 assert hardpps	# PPS device

### Configuration section ###
server 127.127.8.1 mode 135 prefer	# Meinberg GPS167 with PPS
fudge 127.127.8.1 time1 0.0042		# relative to PPS for my hardware
#fudge 127.127.8.1 flag1 1		# enable median filter
#fudge 127.127.8.1 flag2 1		# enable averaging
#fudge 127.127.8.1 flag3 1		# enable PPS processing (for ATOM)

server 127.127.22.1 			# ATOM(PPS)
fudge 127.127.22.1 flag3 1		# enable PPS API

#server 127.127.1.0 prefer		# local clock (LCL)
#fudge 127.127.1.0 stratum 0		# adjust stratum of LCL
#fudge 127.127.1.0 time2 77.857	# adjust frequency error of LCL
#fudge 127.127.1.0 flag3 1		# be PPS peer
#broadcast 224.0.1.1 key 2 ttl 2	# broadcast the time

# PLL must be turned off if the only reference is the local clock (LCL)
#disable pll
#enable pps				# needed for `pps_sync'
enable auth monitor stats
driftfile /etc/ntp.drift	# remember the drift of the local clock

### Statistics section ###
statistics loopstats clockstats
statsdir /tmp/xntpd/
filegen peerstats file peers type day link enable
filegen loopstats file loops type day link enable
filegen clockstats file clocks type day link enable

### Authentication section ###
keys /etc/ntp.keys
trustedkey 1 2 15
requestkey 15
controlkey 15
#authdelay 0.000019	# DES, Pentium @ 100MHz
#authdelay 0.000030	# MD5, Pentium @ 100MHz

## Access control section ###
#restrict 0.0.0.0 mask 0.0.0.0 ignore
restrict 127.127.0.0 mask 255.255.0.0 noquery # allow referenc clocks
#restrict 127.0.0.1 nopeer	# don't synchronize on yourself
