clock update on raspberry
Added by Thierry GOLDER almost 7 years ago
Hi,
I'm using a stand alone raspberry pi (no internet connexion).
I would like to synchronize the rpi clock with data received from DVB-T protocol.
I know that the clock update check box do not work as RPI have no RTC.
Do you know a way to bypass this restriction?
Thanks for your help.
Regards
Thierry
Replies (5)
RE: clock update on raspberry - Added by Thierry GOLDER almost 7 years ago
thanks!
I will let you know with my success (or not!)
RE: clock update on raspberry - Added by Thierry GOLDER almost 7 years ago
I just tried your solution.
Nothing happend...
how to link tvheadend and fake-hwclock?
regards,
Thierry
RE: clock update on raspberry - Added by Robert Cameron almost 7 years ago
Why not use fake-hwclock in combination with NTP? That's what I use on my SBCs without RTC:
$ echo "NTP=pool.ntp.org" | sudo tee -a /etc/systemd/timesyncd.conf $ sudo timedatectl set NTP true $ sudo systemctl enable fake-hwclock fake-hwclock-save.timer $ sudo systemctl start fake-hwclock-save.timer
Edit: Nevermind, I just re-read the OP about lack of internet. Is there a util in the DVB utils that exposes the network, and perhaps a cron job that re-syncs the clock, that would work?
RE: clock update on raspberry - Added by Thierry GOLDER almost 7 years ago
May be successful using date -- set commande in tvheadend code?