Date: Sat, 2 Dec 2000 12:11:14 -0500 From: Landy Roman <landie@concentric.net> Message-ID: <20001202121114.A624@concentric.net> Subject: time-zone my bios clock is set to my local time, in yast time zone is us/eastern and local every time i reboot my clock in linux goes back 5 hrs. why? <p> -- Rolando Roman SuSe 7.0 Linux virtuoso 2.2.16 #1 Wed Aug 2 20:22:26 GMT 2000 i586 unknown
Date: Sat, 2 Dec 2000 12:25:37 -0500 From: Eugene Tyurin <eugene_tyurin@yahoo.com> Message-ID: <20001202122537.A6985@daBox.jvnc.net> Subject: Re: [SLE] time-zone On Sat, Dec 02, 2000 at 12:11:14PM -0500, Landy Roman wrote:
my bios clock is set to my local time, in yast time zone is us/eastern and local
every time i reboot my clock in linux goes back 5 hrs. why?
The clock goes back to GMT (I bet you're in US/Eastern). You screwed up the installation somehow. You've got 2 choices: 1. Keep bios with local time. Run yast as root: Administration->Time Zone. Select a zone, and then tell yast that your bios is local time - NOT GMT time. 2 (Preferred). Set bios to GMT. Do the same thing with yast, but tell it that your clock is @ GMT. This way daylight savings will be automatically activated. -- ET.
Date: Sat, 2 Dec 2000 14:37:17 -0600 From: Jeffrey Taylor <jeff.taylor@ieee.org> Message-ID: <20001202143717.A19899@elendil.bearhouse.lan> Subject: Re: [SLE] time-zone Quoting Eugene Tyurin <eugene_tyurin@yahoo.com>: [snip]
2 (Preferred). Set bios to GMT. Do the same thing with yast, but tell it that your clock is @ GMT. This way daylight savings will be automatically activated.
I don't know where this myth comes from. My desktop's hardware clock is set on local time and it makes the change to and from daylight savings time just fine. Probably someone screwed up the system clock implementation twenty years ago and the "fix" is still floating around. Jeffrey
Date: Sat, 2 Dec 2000 23:55:04 +0100 (CET) From: Ole Kofoed Hansen <okh-linux@post.cybercity.dk> Message-ID: <Pine.LNX.4.21.0012022349080.1610-100000@linux.home> Subject: Re: [SLE] time-zone On Sat, 2 Dec 2000, Jeffrey Taylor wrote:
Quoting Eugene Tyurin <eugene_tyurin@yahoo.com>: [snip]
2 (Preferred). Set bios to GMT. Do the same thing with yast, but tell it that your clock is @ GMT. This way daylight savings will be automatically activated.
I don't know where this myth comes from. My desktop's hardware clock is set on local time and it makes the change to and from daylight savings time just fine. Probably someone screwed up the system clock implementation twenty years ago and the "fix" is still floating around.
This so-called myth comes from the fact that if Linux is not running when the change to/from DST occurs, Linux wont change the time. (How should Linux know that you did not have some other OS running at the time, which made the switch?) If you have the hardware clock set to GMT, it is the locale that translates from GMT to your time-zone that handles how to translate the time depending on the time of year. This will work just fine independently of whether Linux was running when the clock changed. Regards Ole -- Pro is to con as progress is to Congress.
Date: Sat, 2 Dec 2000 18:31:03 -0600 From: Jeffrey Taylor <jeff.taylor@ieee.org> Message-ID: <20001202183103.A5739@elendil.bearhouse.lan> Subject: Re: [SLE] time-zone Why you anyone run some other OS :) Thank you for straightening this out. Jeffrey Quoting Ole Kofoed Hansen <okh-linux@post.cybercity.dk>:
This so-called myth comes from the fact that if Linux is not running when the change to/from DST occurs, Linux wont change the time. (How should Linux know that you did not have some other OS running at the time, which made the switch?)
If you have the hardware clock set to GMT, it is the locale that translates from GMT to your time-zone that handles how to translate the time depending on the time of year. This will work just fine independently of whether Linux was running when the clock changed.
Message-ID: <3A2935E4.3FC86FB7@iname.com> Date: Sat, 02 Dec 2000 17:48:20 +0000 From: Chris Reeves <chris.reeves@iname.com> Subject: Re: [SLE] time-zone Landy Roman wrote:
my bios clock is set to my local time, in yast time zone is us/eastern and local
every time i reboot my clock in linux goes back 5 hrs. why?
Linux thinks your hardware clock is set to GMT. In /etc/rc.config, change this: GMT="-u" to this: GMT="" My advice, however, would be to keep your system clock using GMT, assuming Linux is currently set at the correct (local) time, and your time zone is set correctly, then use the following command (as root) to set your hardware clock to GMT: hwclock --utc --systohc Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
participants (5)
-
chris.reeves@iname.com
-
eugene_tyurin@yahoo.com
-
jeff.taylor@ieee.org
-
landie@concentric.net
-
okh-linux@post.cybercity.dk