Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sync time between Gentoo and Win XP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mercurator
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 92
Location: Slovenia

PostPosted: Mon Sep 27, 2004 3:19 pm    Post subject: Sync time between Gentoo and Win XP Reply with quote

I come from a little county of Slovenia. In Windows XP I set the timezone to GMT+1 since we have central european time. In gentoo I set the /etc/localtime to CET. My problem is that the the clock in linux is running two hours ahead of the one set in Windows. The two hour difference is always present, no matter how I set the time. If I set time in gentoo to 10.00, then in XP it is 8.00. And if I set XP time to 10.00, then gentoo time is 12.00.

Is there any way I could sync time between these two OSes?
_________________
"Ignorantia non est Argumentum" - Benedict de Spinoza
Back to top
View user's profile Send private message
dizzogg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2002
Posts: 131
Location: Virginia, USA

PostPosted: Mon Sep 27, 2004 8:08 pm    Post subject: Reply with quote

is your gentoo install set to use UTC or localtime? If you dual boot you have to have your bios clock set to localtime, cause windows can't handle it any other way.... I don't know if that's your problem, but I know plenty of other people have had problems with it.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Mon Sep 27, 2004 11:20 pm    Post subject: Reply with quote

Look at your /etc/rc.conf

Since you want to use local time there's an entry in that file that should look like this:
Code:

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time).  If your clock is set to the local time, then set CLOCK
# to "local".  This setting is used by the /etc/init.d/clock script.

CLOCK="local"


And if you have the file using CLOCK="UTC" then that would probably be your problem.
Back to top
View user's profile Send private message
jsosic
Guru
Guru


Joined: 02 Aug 2004
Posts: 510
Location: Split (Croatia)

PostPosted: Fri Oct 22, 2004 4:22 pm    Post subject: Reply with quote

Hello to Slovenia, Croatia here :)

Well, this may be offtopic on linux forum, but what tha hell, I'll ask anyway. Hope you don't bother :(

I want to use UTC time, but since I dualboot windows on my desktop machine, I wonder is there a way to change windows clock to UTC? It's much smarter time system IMHO. But, 'cause of M$tupidity, I doubt it's possible...
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Fri Oct 22, 2004 8:38 pm    Post subject: Reply with quote

The problem is that Windows doesn't use UTC at all.

Windows uses GMT. The different between UTC and GMT is that UTC accounts for leap seconds but GMT does not.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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