Table of Contents

, , , ,

PC Engines APU and Versalogic GPS

Versalogic VL-MPEu-G2 GPS

Documentation

Configuration for CentOS 6.5

Install GPSd

/etc/ntp.conf

# Allow more distance between GPS (USB) and Serial PPS.
# Stratum level 12 when no ref source available
tos mindist 0.010 orphan 12

driftfile /var/lib/ntp/ntp.drift

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

# Local servers
server ntp1.polaire.nl
server ntp2.polaire.nl
server ntp3.home.polaire.nl

# ATOM PPS (/dev/pps0)
server 127.127.22.0 minpoll 4 maxpoll 4
fudge  127.127.22.0 refid PPS

# GPS (USB /dev/ttyACM0)
server 127.127.28.0 minpoll 4 maxpoll 4 prefer
fudge 127.127.28.0 refid GPSd
fudge 127.127.28.0 time1 0.065

# By default, exchange time with everybody, but don't allow configuration.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1