Difference between revisions of "High precision computer logger"

From IARC 207 Wiki
Jump to navigation Jump to search
(Created page with " Replace '''ntpd''' with '''chronyd''': * http://chrony.tuxfamily.org/ Then, also add '''gpsd''': * http://www.catb.org/gpsd/gpsd-time-service-howto.html * In addition to gps...")
 
Line 24: Line 24:
 
GPSD_OPTIONS="-G -n"
 
GPSD_OPTIONS="-G -n"
 
</pre>
 
</pre>
 +
 +
 +
Doing those two things will get you a computer that will keep time with good precision when connected to a gps & unable to access network time for extended periods.  NTP works best in always connected environments.

Revision as of 11:15, 24 January 2016


Replace ntpd with chronyd:

Then, also add gpsd:

root@turkey:/etc/default# cat /etc/default/gpsd
# Default settings for the gpsd init script and the hotplug wrapper.

# Start the gpsd daemon automatically at boot time
START_DAEMON="true"

# Use USB hotplugging to add new USB devices automatically to the daemon
USBAUTO="true"

# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
DEVICES="/dev/ttyUSB0"

# Other options you want to pass to gpsd
GPSD_OPTIONS="-G -n"


Doing those two things will get you a computer that will keep time with good precision when connected to a gps & unable to access network time for extended periods. NTP works best in always connected environments.