...
5) Configure by editing the /etc/ntp.conf configuration file with the following lines:
Code Block |
---|
server 127.127.28.0 minpoll 4 maxpoll 4
fudge 127.127.28.0 time1 0.420 refid GPS
server 127.127.28.1 minpoll 4 maxpoll 4 prefer
fudge 127.127.28.1 refid GPS1
|
The first line just uses serial data from the gps while the second adds information from the pps line. The .420
Testing gpsd:
For debugging purposes gpsd can be run in the foreground with:
...