Skip to content

Instantly share code, notes, and snippets.

@ddrown
Last active August 4, 2023 22:00
Show Gist options
  • Save ddrown/6c7780b722b218098757b5bb76e200fb to your computer and use it in GitHub Desktop.
Save ddrown/6c7780b722b218098757b5bb76e200fb to your computer and use it in GitHub Desktop.
USB refclock = GPS PPS connected via USB
teensy-X.lan = teensy based NTP servers (with hardware timestamps)
config:
refclock SOCK /var/run/chrony/chrony.ttyACM1.sock refid USB offset 0.000068 poll 3
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#* USB 0 3 377 5 -7698ns[-7963ns] +/- 5688ns
^- teensy-1.lan 1 4 377 17 -609ns[ -609ns] +/- 19us
^- teensy-2.lan 1 4 377 31 -249ns[ -517ns] +/- 19us
Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev
==============================================================================
USB 21 13 162 -0.000 0.034 -1ns 1395ns
teensy-1.lan 19 11 134 +0.007 0.004 -75ns 160ns
teensy-2.lan 21 8 106 +0.009 0.003 +133ns 113ns
Reference ID : 55534200 (USB)
Stratum : 1
Ref time (UTC) : Fri Aug 04 21:57:30 2023
System time : 0.000000331 seconds slow of NTP time
Last offset : -0.000000271 seconds
RMS offset : 0.000000347 seconds
Frequency : 27.174 ppm fast
Residual freq : -0.000 ppm
Skew : 0.036 ppm
Root delay : 0.000000001 seconds
Root dispersion : 0.000010352 seconds
Update interval : 8.0 seconds
Leap status : Normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment