Auf Basis von:
Versuch chrony mit gpsd und einem GPS Modul zu einem Stratum 1 Server zu bauen.
Zeitzone setzen
timedatectl set-timezone Europe/Berlin
Serielle Console deaktivieren
systemctl mask serial-getty@ttyAMA0.service
Pakete Grundinstallation
apt install gpsd gpsd-clients python3-gps chrony pps-tools
Die serielle Schnittstelle muss konfiguriert werden. Habe noch nicht herausgefunden, wie ich das rebootfest einstelle:
stty -F /dev/ttyAMA0 raw 9600 cs8 clocal -cstopb
gpsd Konfiguration unter /etc/default/gpsd
# Devices gpsd should collect to at boot time. # They need to be read/writeable, either by user gpsd or the group dialout. DEVICES="/dev/ttyAMA0" # Other options you want to pass to gpsd GPSD_OPTIONS="-n -D1 -s 9600" # Automatically hot add/remove USB GPS devices via gpsdctl USBAUTO="false"