Re: getting correct time on a laptop (IBM ThinkPad T23)
Am Mittwoch 21 Juni 2006 17:02 schrieb Paul Kimoto:
> On Wed, Jun 21, 2006 at 08:34:54AM +0200, Martin Steigerwald wrote:
> > 1) I had chrony claiming that system time had 0 seconds difference to
> > NTP time while there was a difference of 10 or more minutes. This is
> > with a standard chrony installation (after aptitude purge chrony).
> > 2) Chrony apparantly cannot set the hardware clock. I get a
> > input/output error on modprobe rtc, and it seems that the module
> > genrtc doesn't do the trick. I reverted on not letting chrony do that
> > but the usually debian hwclock scripts which seems to work.
> Do you invoke the (chronyc) "trimrtc" command? (If this works, you
> probably want to "writertc" as well.)
okay I missed that. I just used the default configuration, but it
complained about missing rtc support anyway until I modprobed genrtc (rtc
does not work).
> Does your computer have a way to get IP addresses of external NTP
> servers when chronyd starts (even if the network is down)? I believe
> that otherwise chronyd forgets about those servers and never tries to
> contact them.
No... it uses automatic network configuration via guessnet and ifplugd.
Network is down when no network is available.
So I may be better off using the IP addresses of some NTP servers?
I just don't get it how chrony can tell me my system clock is 0.0 seconds
ahead of NTP time, while "sources" show that there are three sources
available and just to make completely sure I manually put it online by
issuing "password blabla" and "online" and the system clock is definately
several minutes behind NTP time... well sure its not fast of NTP time
then but shouldn't chrony adjust the clock anyhow, like it sometimes
I just install ntpdate right now, run it once and sure the clock is right
up to the second with my radio controlled solar alarm clock. Why do
chrony and openntpd fail to do that for me?
Well probably worth a bug report and further investigation, but that will
have to wait until I manage to take the time for it.
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7