This commit is contained in:
2025-06-14 01:34:13 -06:00
parent abd505f3e6
commit c4df708c56
9 changed files with 31 additions and 18 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
SUBSYSTEM=="pps[0-9]*", GROUP="dialout", MODE="0660"
SUBSYSTEM=="tty[0-9]*", GROUP="dialout", MODE="0660"
SUBSYSTEM=="tty[A-Z]*[0-9]*", GROUP="dialout", MODE="0660"
SUBSYSTEM=="tty[A-Z]*[0-9]*", GROUP="dialout", MODE="0660"
SUBSYSTEM=="i2c[A-Z]-*[0-9]*", GROUP="dialout", MODE="0660"
SUBSYSTEM=="rtc[0-9]*", GROUP="dialout", MODE="0660"
+5 -2
View File
@@ -5,7 +5,7 @@
# precision is how precise this is. not 1e-3 = 1 millisecond, so not very precision
# poll 0 means poll every 2^0 seconds = 1 second poll interval
# filter 3 means take the average/median (forget which) of the 3 most recent readings. NMEA can be jumpy so we're averaging here
refclock SHM 0 refid NMEA offset 0.000 precision 1e-3 poll 0 filter 3
refclock SHM 0 refid NMEA offset 0.000 precision 1e-6 poll 0 filter 3
# PPS refclock is PPS specific, with /dev/pps0 being the source
# refid PPS means call it the PPS source
@@ -16,7 +16,10 @@ refclock SHM 0 refid NMEA offset 0.000 precision 1e-3 poll 0 filter 3
refclock PPS /dev/pps0 refid PPS lock NMEA offset 0.0 poll 3 trust
# also enable logging by uncommenting the logging line
log tracking measurements statistics
# log tracking measurements statistics
# Update RTC from system clock periodically
makestep 0.1 3
# allow local connections to ntp
allow 10.0.0.0/24
+2 -2
View File
@@ -1,3 +1,3 @@
# m h dom mon dow command
# set hardware I2C RTC every 5 minutes
*/5 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
# set hardware I2C RTC hourly
0 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"