I bought a Raspberry Pi 3 approximately two months ago, and since then time has never updated. Details:
- The operating system is a fresh installation of Raspbian Jessie (4.1.19-v7+).
- The Internet connection is via native Wi-Fi and no other problem with communication.
- No firewall problems as time update works like a charm on a Windows machine on the same LAN.
- Time zone is properly set.
I first started with
nptdate. When I tried forcing update,
sudo /etc/init.d/ntp stop sudo ntpd -q -g sudo /etc/init.d/ntp start
the terminal froze at the second command. The last message in
Listening on routing socket on fd #22 for interface updates
driftfile /var/lib/ntp/ntp.drift statistics loopstats peerstats clockstats filegen loopstats file loopstats type day enable filegen peerstats file peerstats type day enable filegen clockstats file clockstats type day enable server 0.debian.pool.ntp.org iburst server 1.debian.pool.ntp.org iburst server 2.debian.pool.ntp.org iburst server 3.debian.pool.ntp.org iburst restrict -4 default kod notrap nomodify nopeer noquery restrict -6 default kod notrap nomodify nopeer noquery restrict 127.0.0.1 restrict ::1
It seems to me that the
ntp package has a problem. How do I set up time update, as my Raspberry is turned on only during the day and time lag accumulates during the night?