Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Time off by 12 hours - what do I do?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kernelcowboy
Guru
Guru


Joined: 14 Feb 2004
Posts: 391
Location: New Plymouth, New Zealand

PostPosted: Sun Apr 25, 2004 9:09 am    Post subject: Time off by 12 hours - what do I do? Reply with quote

When installing I set the time, date and timezone per the installation instructions. I'm certain I set the time properly. Now, the time on my system is 12 hours behind. I live in New Zealand and suspect there is some issue with setting this timezone. I'm not sure if the date shifted when I set the timezone or not.

When I try to set the time propertly, I run into 'date in future' problems when compiling. I didn't deal with this problem right away, and now have quite a large, built-up system. (Thanks the help from you guys and a great distro!)

Any advice now how to deal? If I set the clock, I might just have to re-emerge sources when I need them. Is that enough? Or will there be other problems?

Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Apr 25, 2004 11:16 am    Post subject: Reply with quote

kernelcowboy,

If this machine is *NIX only, go into the BIOS and set the time to as it would be for GMT thats London -1 hour today.

Your timezone symlink should be pointed at your real timezone file.
This will take care of timezone offset and daylight saving time, if you have that.

If you dual boot with windows, set the BIOS time to local wall clock time and the timezone symlink to the real localtime file.
Anything else, and the two OS fight over time.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Sun Apr 25, 2004 11:47 am    Post subject: Reply with quote

You dont need to reboot into the BIOS, you can set your clock with /sbin/hwclock --systohc (after your system time is set accordingly).
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Regor
Guru
Guru


Joined: 06 Aug 2002
Posts: 545
Location: 39° 2' 48" N, 120° 59' 2" W

PostPosted: Mon Apr 26, 2004 12:32 am    Post subject: Reply with quote

The solution is obvious - move to the opposite side of the planet. :twisted:
_________________
Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis
Back to top
View user's profile Send private message
kernelcowboy
Guru
Guru


Joined: 14 Feb 2004
Posts: 391
Location: New Plymouth, New Zealand

PostPosted: Mon Apr 26, 2004 12:48 am    Post subject: Reply with quote

:roll: I already did. Used to live down the road from you.

I changed the clock back 12 hours, and waited 12 hours for all the future timed files to be in the past. Haven't had any trouble. May be something is lurking. I did the hwclock --systohc too. Live and learn.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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