ChronyNTPConfig
Jump to navigation
Jump to search
Change the NTP server[edit | edit source]
Edit this file:
root@vr-e446c2:~# nano /etc/chrony.conf
comment out the following:
#pool pool.ntp.org minpoll 8 iburst maxsources 3 #server time1.ventureresearch.com iburst
add line for the new server entry:
#pool pool.ntp.org minpoll 8 iburst maxsources 3 #server time1.ventureresearch.com iburst server 134.189.181.8 iburst
save and exit the file
restart the time service
root@vr-e446c2:~# systemctl restart chronyd
verify the new server
root@vr-e446c2:~# chronyc -n sources 210 Number of sources = 2 MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== #? SOCK 0 4 0 10y +0ns[ +0ns] +/- 0ns ^? 134.189.181.8 0 7 0 10y +0ns[ +0ns] +/- 0ns
root@vr-e446c2:~# chronyc sources 210 Number of sources = 3 MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== #? SOCK 0 4 0 10y +0ns[ +0ns] +/- 0ns ^? 134.189.181.8 0 7 0 10y +0ns[ +0ns] +/- 0ns ^* qa.poptracker.rfid.ventur 3 6 17 26 -38us[ -278us] +/- 86ms
root@vr-e446c2:~# chronyc tracking Reference ID : 192.168.19.14 (qa.poptracker.rfid.ventureresearch.com) Stratum : 4 Ref time (UTC) : Tue Aug 2 23:22:42 2016 System time : 0.000329051 seconds fast of NTP time Last offset : +0.000475056 seconds RMS offset : 0.000475056 seconds Frequency : 10.642 ppm fast Residual freq : -71.729 ppm Skew : 1.061 ppm Root delay : 0.057111 seconds Root dispersion : 0.057504 seconds Update interval : 0.0 seconds Leap status : Normal