On Tue, 02 Jan 2001, John N. Alegre wrote:
> I am running RedHat 6.1/6.2 on two towers and a Think Pad. Both the towers
> switched the year just fine, but the laptop booted Monday morning with a date
> in 1999 and a time seven hours off. I used the control-panel time machine and
> changed the date and time and selected "Set System Time".
>
> After I rebooted the date was correct but the time changes back to the incorrect
> 7 hours ahead. I have tried a a few more times and the time does not hold past
> reboot.
>
> Can anyone help? Is there a way to set date from the command line? Why would
> this only happen on the laptop?
>
A good util is "rdate" to sync your pc clock with an atomic
clock over the 'Net. I use time.nist.gov or
tock.usno.navy.mil personally. The command I use is as
follows:
rdate -s -p <servername>
The options are -s (SET the time) and -p (PRINT the time so
you know it's actually corrected! <G>) Then, as someone has
suggested later, as root, run hwclock --systohc.
John
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list