Erich Titl wrote: > Hi Robert > > Robert von Knobloch wrote: >> Hello LEAF, >> I have been running lEAF-Bering 3.0 on a WRAP platform since it was >> released and everything works extremely well. >> I noticed only recently that the time on the box is not quite right. >> Studying the daemon.log I notice a great many entries: >> >> Feb 8 19:07:18 brandmauer /usr/sbin/openntpd[8174]: adjusting local >> clock by -53.379618s > > That looks pretty good actually, only it affects the actual software > clock only, not the hardware clock. > > >> > ... > >> >> If anyone has any ideas where the problem might lie, I would be grateful >> to hear from them. > > What ntp daemon are you running on that WRAP box? Look at its > configuration and the init script, you may want to add a hwclock > command somewhere in there to update the hwclock over a reboot. I > requested a modification in the ntpd settings to update the hardware > clock as soon as a reasonable time is received from a time server. > > Also it is possible, with a bit of hardware modification, which is not > difficult at all, to add a backup battery to your WRAP. > > > cheers > > Erich > Hi Eric,
I am using opentpd (with the '-s' switch) and it does adjust the time on boot (an older version on LEAF had this problem, but it got fixed in uClibc 3.0 [I think], just not exactly and then spends all it's time trying to adjust the last seconds, apparently without any result. As above, the log shows that it is trying to adjust, but it doesn't achieve anything. I don't know the exact mechanism of the clock under LEAF, I suppose it is running in memory and only uses the hardware at boot/shutdown ? (which, in my case does nothing - no battery). My question is why can it perform the initial setting, but cannot later fine adjust ? I don't need battery backup and I don't think it would change my problem. cheers to you too, Robert ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
