[NTLUG:Discuss] clock issues
Terry
trryhend at gmail.com
Fri May 27 13:21:29 CDT 2005
On 5/27/05, Fred James <fredjame at fredjame.cnc.net> wrote:
> The box (info below) never seemed to be able to keep time, no matter how
> I set it (Mandrake Control Center, or command line). Synchronizing with
> another server is not an option. I was just about to change the
Just out of curiosity, why is using a time server not an option?
> battery, before exploring the MiniHOWTO on Clock, when I noticed
> something that I don't know why I didn't see it before.
>
> I could set the time, and within a very short time the time was fast by
> about 2 minutes - very repeatable - so the problem was in the hardware
> and software clocks being out of sync
>
> 'hwclock --show;date' proved this to be true.
> 'hwclock --set --date="n/nn/nn nn:nn:nn"' set the hardware clock to the
> correct time (close enough anyway)
> 'hwclock --show;date' proves the two are now in sync.
>
A little simplier method:
hwclock --systohc
(Will set the Hardware Clock to the current System Time)
More information about the Discuss
mailing list