Linux and Nagios‎ > ‎

Raspberry Pi Time Synch

posted 22 May 2017, 12:50 by Tristan Self
The Raspberry Pi lacks a real time clock, which means that the time can drift, so much so that NTP fails to update the software clock because its skewed so much.

To resolve this you can do the following:

Add this to /etc/ntp.conf:

tinker panic 0

That will cause ntpd to sync despite the large clock offset.

sudo service ntpd stop
sudo ntpd -gq
sudo service ntpd start


Now run a "date" and check the time has synched as expected.
Comments