sntp is not consistent on Raspberry Pi
I am running an RPi with a FatDog installer. sntp is not consistent, probably since the last ntp update from slackwarearm.
I edited /etc/rc.d/rc.local to call ntpdate instead: Quote:
|
I do not have a Pi but,I think that this is a hardware problem. The Pi, as far as I know, does not have a real time clock,leading all automated time programmes to fail. Someone tell me that I'm wrong.
|
Quote:
Chris |
The FatDog install image should not be the issue, it is only an installer image. What was the problem with sntp? you told us what you were using instead of sntp, but what was the output from sntp that seemed inconsistant? I have had no problems with it running 14.1 and current (November 2014).
|
Quote:
Quote:
|
Well... there may be a difference with what you and I are doing...........
I use the following, called from a script in /etc/wicd/scripts/postconnect. Code:
/usr/sbin/sntp -s pool.ntp.org |
I use this on all my systems to put the time right (even when it's way off):
Code:
ntpdate -b pool.ntp.org On system where there is a working hardware clock al also do this Code:
hwclock -w |
Actually a step/slew issue, settimeofday is the correct choice:
Code:
sntp -S 3.us.pool.ntp.org |
Quote:
Code:
root@slackware:~# ntpdate -b 0.pool.ntp.org Code:
root@slackware:~# ntpd -b 0.pool.ntp.org (Example used is midday on Sunday, April 01 2018) Code:
root@slackware:~# date 040112002018.00 Code:
root@slackware:~# date -s "Sun Apr 01 12:00:00 2018" Code:
root@vuur:~# ntpq -p Code:
root@drie:~# ntpdate -b 192.168.10.71 "Time is the school in which we learn, Time is the fire in which we burn." [Delmore Schwartz] |
All times are GMT -5. The time now is 11:08 PM. |