Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


versalogic_gps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
versalogic_gps [2014/06/19 20:55]
admin
versalogic_gps [2014/06/20 18:41] (current)
admin [Install GPSd]
Line 43: Line 43:
 </​code>​ </​code>​
   * Test gpsd. <​code>​gpsd -D 5 -N -n /​dev/​ttyACM0</​code>​   * Test gpsd. <​code>​gpsd -D 5 -N -n /​dev/​ttyACM0</​code>​
 +
 +====/​etc/​ntp.conf====
 +<​code>#​ 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</​code>​
versalogic_gps.txt ยท Last modified: 2014/06/20 18:41 by admin