How to install a GPS unit on a Raspberry Pi and use the GPS clock to set system time on the Pi running Stretch Lite.
Buy the GPS - https://amzn.to/2DsuasA
Setup Commands:
sudo apt-get install gpsd gpsd-clients python-gps chrony
sudo nano /etc/default/gpsd
#set the following
START_DAEMON=”true”
USBAUTO=”true”
DEVICES=”/dev/ttyACM0″
GPSD_OPTIONS=”-n”
sudo nano /etc/chrony/chrony.conf
#Add the following line to the end of the file:
refclock SHM 0 offset 0.5 delay 0.2 refid NMEA
#reboot
#check that both are active
systemctl is-active gpsd
systemctl is-active chronyd
#see the data
gpsmon -n
73,
KM4ACK