Linux Zeitsynchronisation mit GPS
Aus Port23Wiki
(Unterschied zwischen Versionen)
Robin (Diskussion | Beiträge) (→Fedora Linux) |
Robin (Diskussion | Beiträge) (→Fedora Linux) |
||
Zeile 13: | Zeile 13: | ||
gpsd-3.23.1-2.fc36.x86_64 |
gpsd-3.23.1-2.fc36.x86_64 |
||
+ | |||
+ | Datei /etc/sysconfig/gpsd anpassen: |
||
+ | |||
+ | cat /etc/sysconfig/gpsd |
||
+ | # Options for gpsd, including serial devices |
||
+ | OPTIONS="" |
||
+ | # Set to 'true' to add USB devices automatically via udev |
||
+ | USBAUTO="true" |
||
+ | # |
||
+ | # |
||
+ | DEVICES="/dev/ttyACM0" |
||
+ | GPSD_OPTIONS="-n" |
Version vom 22. Juni 2022, 11:55 Uhr
- https://austinsnerdythings.com/2021/09/29/millisecond-accurate-chrony-ntp-with-a-usb-gps-for-12-usd/
- https://austinsnerdythings.com/2021/04/19/microsecond-accurate-ntp-with-a-raspberry-pi-and-pps-gps/
Fedora Linux
USB GPS Empfänger:
lsusb Bus 005 Device 003: ID 1546:01a8 U-Blox AG [u-blox 8]
GPS Daemon installieren:
gpsd-3.23.1-2.fc36.x86_64
Datei /etc/sysconfig/gpsd anpassen:
cat /etc/sysconfig/gpsd # Options for gpsd, including serial devices OPTIONS="" # Set to 'true' to add USB devices automatically via udev USBAUTO="true" # # DEVICES="/dev/ttyACM0" GPSD_OPTIONS="-n"