-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NTP Time ? #5
Comments
It seems to be a dhcpcd issue, dhcpcd seems to be trying to write something before calling its exit scripts, /run/systemd/timesyncd.conf.d/ likely needs to be mounted as a tmpfs to fix /etc/dhcp/dhclient-exit-hooks.d/timesync but something else is happening to keep that from even running. |
Well, I guess maybe thats not the right hook? I'm confused there seems to be multiple hooks /lib/dhcpcd/dhcpcd-hooks/50-ntp.conf may be the right one to worry about and it does seem to be running but not working probably need at least /var/run/ /var/run/dhcpcd/ntp.conf to be on tmpfs, but so fat at least that isnt enough |
May it is this one:
From here: |
After running the script and booting:
Trying to reconfigure:
... but no clue how to fix his bug or if it is even related. |
Seems not to be an readonly issue:
|
The |
@PaintYourDragon Do |
@mamoit fake-hwclock writes to a file on shutdown, and i could have sworn when I tested it there was still a ntpd installed? |
@jacobalberty To be honest I ran the script on raspbian lite and did not check if the |
Aparently I'm not the only one who suspects |
My fix has solved the issue with the incorrect time. I use it in my project https://github.com/marcin-sielski/LM15SGFNZ07/tree/master/examples/SmarThermo. Cheers. |
I was wrong, Therefore, I think the correct solution for this problem would be indeed to purge fake-hwclock (since |
I can confirm @mamoit |
After running the script the Pi will default to 3 November 2016. NTP time is also missing. So you dont have accurate date and time.
The text was updated successfully, but these errors were encountered: