i am looking for a solution that can prefer NTP, updating the RTC when possible, and then fall back to the RTC when no network is available.
it seems that NTP do this job and when the ntp is running it syncs RPI's time also the hwclock to the ntpserver time?
during boot up system date acts weird! some time works fime, some times sync with rtc, some time go back to 1999 ,.... any help in this regard?
by the way: i have sussessfully done these stuff:
- add an RTC to raspberry pi (as we know adding RTC is quite diferent thing on Raspbian Jessie or Raspbian Wheezy.) https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time
setting raspberry time to ntp servers is also not that much difficult!
ntpd is working ok and syncs the rpi to an ntp server
i can easily sync rtc to/from system using hwclock -s or -w