RE: [SLE] Changing hardware clock
![](https://seccdn.libravatar.org/avatar/6ebe35ec59fe11c13cf3ea8c333c0b83.jpg?s=120&d=mm&r=g)
Sir, You might want to look into the command clock. (Especially the -w option. I believe it's the one that writes the time back to the BIOS clock) Let me know if it works. Sincerely, Pierre -----Original Message----- From: Chris Reeves [SMTP:chris.reeves@iname.com] Sent: Wednesday, December 01, 1999 1:23 PM To: SuSE Mailing List Subject: [SLE] Changing hardware clock How do I do the above from within Linux? I've just noticed that the time given by the date command is out by an hour, so I need a way to change the hardware clock (which is wrong). Oh, and I've got sound going again (I started that last OSS eval 5 days before the end of the month :( ). I'll buy a full license when the trial runs out. Thanks, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
![](https://seccdn.libravatar.org/avatar/5c0f4e71d9d0b71b8b60a2693df1571a.jpg?s=120&d=mm&r=g)
On Wed, 1 Dec 1999, Pierre Rochefort wrote:
You might want to look into the command clock. (Especially the -w option. I believe it's the one that writes the time back to the BIOS clock)
hwclock --systohc -- _Deirdre * http://www.linuxcabal.net * http://www.deirdre.net My three rules for happy living: No Windows, No Java, No Perl. "I'd love to have the green paint concession on the next Matrix movie." -- Rick Moen -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
![](https://seccdn.libravatar.org/avatar/2e846a486bb47d24595d540de089fe0d.jpg?s=120&d=mm&r=g)
Deirdre Saoirse wrote:
On Wed, 1 Dec 1999, Pierre Rochefort wrote:
You might want to look into the command clock. (Especially the -w option. I believe it's the one that writes the time back to the BIOS clock)
hwclock --systohc
Thanks to both Pierre and Deirdre. The clock and hwclock commands appear to be identical. I used 'hwclock --set --date="..."' first to set the hardware clock, and then 'hwclock --hwtosys' to update the system clock (the system clock was out by an hour too). I reckon this mess was caused by NT (I had to boot into NT for five minutes to get rid of an NTFS partition, but other than that I haven't used NT for months ;-) ). It's fixed now, thanks again, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
chris.reeves@iname.com
-
deirdre@deirdre.net
-
pierre.rochefort@connectware.ca