Skip to content

Commit b9631e3

Browse files
committed
Issue #1: Add a couple more debugging commands.
1 parent 078ff64 commit b9631e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ ethtool -T eth0 # or eth1, lists hardware clock info
9898
9999
# Chrony debugging
100100
chronyc sources -v # shows sources with documentation of fields
101-
chronyc -n tracking # shows detailed timing data
101+
chronyc tracking # shows detailed timing data
102102
103103
# Check on NTP service from another computer
104104
ntpdate -q [ip of grandmaster]
@@ -107,6 +107,9 @@ ntpdate -q [ip of grandmaster]
107107
wget https://tsn.readthedocs.io/_downloads/f329e8dec804247b1dbb5835bd949e6f/check_clocks.c
108108
gcc -o check_clocks check_clocks.c
109109
sudo ./check_clocks -d eth0 # or eth1 (the interface you're using for PTP)
110+
111+
# Check offset between NIC PHY and system clock
112+
sudo phc_ctl eth1 cmp # should be nearly -37000000000ns
110113
```
111114

112115
Much of the work that went into this project was documented in [this thread on the TimeHat v2](https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/674).

0 commit comments

Comments
 (0)