Skip to content

Time synchronization

Zdeněk Materna edited this page Jun 2, 2017 · 1 revision

/etc/chrony/chrony.conf on server (artable):

...
# Allow NTP client access from local network.
allow 192.168/16

#Not synchronized to any external source. (local mode)
local stratum 10
...

/etc/chrony/chrony.conf on clients:

...
server 192.168.104.200 iburst
...

Check chrony status:

dev@pcspanel3:~$ chronyc tracking
Reference ID    : 192.168.104.200 (artable)
Stratum         : 11
Ref time (UTC)  : Fri Jun  2 06:42:16 2017
System time     : 0.000000413 seconds fast of NTP time
Last offset     : 0.000006779 seconds
RMS offset      : 0.000026900 seconds
Frequency       : 4.455 ppm fast
Residual freq   : 0.001 ppm
Skew            : 0.028 ppm
Root delay      : 0.000254 seconds
Root dispersion : 0.000184 seconds
Update interval : 258.0 seconds
Leap status     : Normal

Check only time synchronization:

dev@pcspanel3:~$ ntpdate -q artable
server 192.168.104.200, stratum 10, offset -0.000021, delay 0.02588
 2 Jun 08:46:13 ntpdate[25023]: adjust time server 192.168.104.200 offset -0.000021 sec
Clone this wiki locally