I want to sync my RPI 3 to a local time server.
I edited the file
/etc/ntp.conf and added the following line
I restarted ntp using
sudo service ntp restart and even rebooted the pi.
The time and date will not set correctly. It is off a couple of days, hours and minutes. It's like you start the RPI for the first time and the time has not been set once.
The local time server is alive.
I am using the RPI in a corporate environment.
ntpq -p now gives me the following output:
10.10.10.2 ( 220.127.116.11 2 u 56 64 3 0.492 1424814 9.260 srv24.globale-g .INIT. 16 u - 64 0 0.000 0.000 0.000 sigma.shadowchi .INIT. 16 u - 64 0 0.000 0.000 0.000 p5099c3bf.dip0. .INIT. 16 u - 64 0 0.000 0.000 0.000 stratum2-1.ntp. .INIT. 16 u - 64 0 0.000 0.000 0.000
10.10.10.2 being the local time server. I removed the "iburst" parameter in
The sync does kind of work now, after starting ntp using
sudo service ntp start and
sudo update-rc.d ntp defaults. The time syncs from time to time, but I don't know why and when.