View previous topic :: View next topic |
Author |
Message |
RazorD n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Jan 2004 Posts: 16
|
Posted: Fri Apr 01, 2005 5:46 pm Post subject: Daylight Saving Time Problems [Solved] |
|
|
Sorry if this is the wrong section, its the only place i can think of.
Basically, i have problems with the time of my PC... I dual boot with Windows, so heres the problem:
Windows sets the right time, i go to gentoo to find it time is one hour ahead of the real time... If i change it to the real time in gentoo, its one hour behind next time i start windows.
This all started when i had problems with gdesklets setting the right time on the clocks on it, so i set the /etc/localtime to be the zone info for Europe/London, because this seemed to fix the gdesklet clock being one hour behind problem...
Basically, i think all i need to know is what timezone should i set /etc/localtime too, so that windows and linux both show the correct time.
Im in england, which is currently in DST. (BST - British Summer Time)...
Any suggestions?
Thanks!
-Raz
Last edited by RazorD on Fri Apr 01, 2005 6:14 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
diastelo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/14034232464266b7da296fb.gif)
Joined: 23 Feb 2004 Posts: 521
|
Posted: Fri Apr 01, 2005 6:04 pm Post subject: |
|
|
If you don't boot into Windows that often, why don't you completely disable any automatic time changes and just manually change it from Linux? Once you've gotten the time to stop fluctuating, then you should let your primary operating system handle any automatic changes. Since I only use Gentoo on my system, I sync with a timeserver using NTP. After this weekend, I'll see how well it adjusts to daylight savings time. (It's an experiment of mine!)
You can probably change the time by changing the timezone symlink, actually, but I haven't tried that yet. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RazorD n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Jan 2004 Posts: 16
|
Posted: Fri Apr 01, 2005 6:09 pm Post subject: |
|
|
Changed what i was searching for and managed to find a refrence to clock in rc.conf, so i prodded around, changed it to CLOCK="local" and now its happy.. I can just change it manually twice a year, unless i'm in windows when the change happens, and it fixes itself
I reinstalled gentoo yesturday (i'm still learning linux, i wanted to do a complete install from scratch to see if i could manage it without having to follow a manual step by step), so i'm still not sure if gdesklets will handle it properly.. we'll see in a few hours!
Thanks for your help
-Raz |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
haven Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1874784213402e00b6d6df2.gif)
Joined: 19 Nov 2003 Posts: 141 Location: Belfast, Uk
|
Posted: Wed Apr 13, 2005 8:56 am Post subject: |
|
|
Ok you've changed the rc.conf CLOCK to local which is the first part, I assume you restarted the /etc/init.d/clock daemon after making that change.
The second bit you need to do is make sure that your /etc/localtime is a symlink to /usr/share/zoneinfo/GB. Then just sync to a uk timeserver (i.e. /usr/bin/ntpdate bear.zoo.bt.co.uk) and you should be at the right time.
I hope that helps. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|