Ben Stienstra

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

User Tools

Site Tools



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]
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>​
 +<​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
 +# ATOM PPS (/dev/pps0)
 +server minpoll 4 maxpoll 4
 +fudge refid PPS
 +# GPS (USB /​dev/​ttyACM0)
 +server minpoll 4 maxpoll 4 prefer
 +fudge refid GPSd
 +fudge 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 ::​1</​code>​
versalogic_gps.txt ยท Last modified: 2014/06/20 18:41 by admin