Ntp not updating

When I placed the same SD card in Pi Zero time was updated correctly. Edit Problem only occurs when using official Wi Fi dongle (no matter what Pi) or on Pi 3 when using Wi Fi connection.

ntp not updating-23

For longer term, you should simply configure the NTP daemon to be running always.

This answer should go to the top, because it is correct: ntpdate is deprecated and installing it is a bad idea, because it conflicts with ntp.

NTPD is running ntpq -pcrv -bash-3.2# ntpq -pcrv remote refid st t when poll reach delay offset jitter ============================================================================== dc3.domai 2 u 29 64 377 0.567 -4263.4 10.392 ass ID=0 status=c011 sync_alarm, sync_unspec, 1 event, event_restart, version="ntpd [email protected] Mon Dec 9 UTC 2013 (1)", processor="i686", system="Linux/3.10.23-xxxx-std-ipv6-32", leap=11, stratum=16, precision=-20, rootdelay=0.000, rootdispersion=2356.905, peer=0, refid=INIT, reftime=00000000.00000000 Thu, Feb 7 2036 .000, poll=6, clock=d81ce655.d5ce975b Mon, Nov 24 2014 .835, state=1, offset=0.000, frequency=-0.140, jitter=0.001, noise=0.001, stability=0.000, tai=0 Something looks to be broken in your time setup.

I would check the 2 other boxes DC1 & 3 to ensure they are getting the correct time. 1 u 40 64 377 9.468 0.209 0.129 -PRIVATE3 2 u 12 64 377 6.943 -0.270 0.142 -PRIVATE5 .

Apr 16 web1 ntpd[3613]: Listening on interface #6 eth0, Enabled Apr 16 web1 ntpd[3613]: Listening on interface #7 eth1, 192.1#123 Enabled Apr 16 web1 ntpd[3613]: kernel time sync status 2040 Apr 16 web1 ntpd[3613]: frequency initialized 0.000 PPM from /var/lib/ntp/ntp.drift I'm not sure I will be able to help, this looks like you are configured correctly.

The most likely reason for a fail is that a firewall is blocking the connection on port 123.

The easiest and quickest way to test this assertion, is to shut down the firewall if you have one and try the command again: I use gov to update my Linux box, works fine. I also have my box setup to act as a time standard.

I have opened the port, but I have not setup an alias for it yet.

If the clock is way off, you need to do this manual step because otherwise ntp will not change your clock and will not tell you why.# apt-get install fake-hwclock fake-hwclock: Save/restore system clock on machines without working RTC hardware Some machines don't have a working realtime clock (RTC) unit, or no driver for the hardware that does exist.

Tags: , ,