You are not logged in.
Pages: 1
Hi!
I can't get the time on my system correct. It stays to hours behind no matter what i do.
I have installed tzdata with pacman, and set my correct timezone i rc.conf (Europe/Oslo).
The time now is 22:33 (10:33 PM).
hwclock command gives:
Tue 01 Apr 2008 08:33:13 PM CEST -0.000502 secondsAccording to this my hwclock is set in localtime, but the time displayed is UTC.
In rc.conf i have set HARDWARECLOCK="UTC". I have also edited /etc/adjtime according to instructions in man hwclock:
/etc/adjtime
0
0
UTChwclock believs its UTC because hwclock --utc doesnt change the ouput. However hwclock --localtime gives the time 18:33 (6:33 PM), which is 4 hours behind.
When i set the hardwareclock to localtime in rc.conf, hwclock --utc gives me the correct time. It was after i discovered this i added the /etc/adjtime file, but it didn't change anything.
I'm runnning arch on a Macbook Pro, dual-booting with OS X. The time in OS X works fine.
Can anyone please help me with this problem? I'm pretty stuck and frustrated right now...
EDIT: typo
EDIT2: Doesn't look like the /etc/adjtime file does anything. Tried setting it to localtime, made no difference...
oew
Last edited by oew (2008-04-01 21:08:48)
there's no place like ~/
Offline
I always do it like this:
- set system bios time to local (watch) time
- use "localtime" and correct (capital city) timezone in rc.conf
- sync with ntpdate (sporadically online) or openntpd ('always-on' machine) to <country code>.pool.ntp.org
When dual-booting, also adapt the other system(s) to the same scheme.
I hate sigs. This one only exists to remind myself to get an avatar.
Offline
Pages: 1