Re: The clock has gone crazy...
The file /etc/adjtime has the following two lines:
cambados:~# cat /etc/adjtime
-115.758041 945099084 0.000000
945097761
Is it important the fact that it has two lines?
Another question: What command do I have to use in order to set the clock up?
Thanks in advance and apologies for having replied to your mail so late.
Manuel Arenaz
Bryan Scaringe wrote:
> Try modifying /etc/adjtime so that it has one line:
>
> 0.0 0 0.0
>
> Those are zeros, not the letter O.
>
> Then set the time.
>
> then reboot.
>
> /etc/adjtime is ment to keep track of the "drift" on your HW clock
> (since no clock is perfect). However, the drift isn't always the same.
> If /etc/adjtime was made during a time when your clock had an extrodinary
> amount of drift in a short period of time, the hwclock program may have
> assumed your clock was always that screwed up. Then it would
> try to correct that on every bootup. In effect, it would always overcompensate.
> This happened to me.
>
> Changeing /etc/adjtime to the line above should tell the system that your clock
> is perfect. Eventually your system will write a new /etc/adjtime, and fill it
> with more realistic values.
>
> Bryan Scaringe
>
> On 13-Dec-1999 Manuel Arenaz Silva wrote:
> > Hello,
> >
> > The clock of my machine has gone crazy. When I set it up to the correct
> > time in the BIOS everything works fine for a while. But after some time,
> > the clock begins to accumulate more and more delay. When I reboot the
> > machine and enter in the BIOS setup, the hardware clock has been
> > changed. What is happening? May it be related to the timezone?
> >
> > I detected this strange behaviour two weeks ago, and the Linux Debian
> > was installed in my PC in june.
> >
> > Thanks in advance,
> >
> > Manuel Arenaz
> >
> >
> > --
> > Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
> > /dev/null
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: