You are not logged in.
If I set
hwclock --utcI'm one hour ahead of my real time, if I set
hwclock --localtime I'm one hour behind.
The correct time zone is set in rc.conf.
I have to do
sudo date -s <correct time>everytime I reboot.
Last edited by Jindur (2012-08-09 17:35:03)
Offline
how about this?
ntpdate pool.ntp.org && hwclock --utc --systohcArch64/DWM || My Dropbox referral link
Offline
I have a problem with installing arch on my netbook it has worked in the past but now i wanna reinstall but every time i try to boot of the live install the bios lists "removable device" and doesn't boot off it and I'm thinking that its the cpu cause it has a 32-bit cpu and the installer might now be only 64-bit? any suggestions?
Offline
wrong place to post this >_>
Offline
jindur, Is this a new install? Did you set the timezone by linking /etc/localtime to the appropriate timezone?
https://wiki.archlinux.org/index.php/Be … e#Timezone
https://wiki.archlinux.org/index.php/Be … clock_time
Last edited by 2ManyDogs (2012-08-09 17:21:32)
Offline
Well it's the only Arch install I ever made, it's about 1.5 years old and I never touched /etc/localtime iirc. But I just checked it and it's linked correctly.
"ntpdate" not found and not in pacman either. And I want to understand what's wrong here.
I just changed my BIOS clock to UTC time, and in Arch type
hwclock --utcand that command replies with the correct time! But if I type
dateafterwards or look at the X clock they both give the wrong time again (2 hours earlier). They also do this if I try
hwclock --localtimeso it seems the hwclock command has actually no effect at all.
Last edited by Jindur (2012-08-09 17:28:24)
Offline
Do you have an /etc/adjtime file? If you do, what is in it?
And what is in rc.conf (you said it's the correct time zone; is it on the HARDWARECLOCK line?)
Last edited by 2ManyDogs (2012-08-09 17:34:59)
Offline
Yes, /etc/adjtime contains
0.000000 0 0.000000
0
UTCAnd I actually just fixed the problem I think, by editing /etc/rc.conf and setting
HARDWARECLOCK="UTC"and doing
hwclock --utc -sand rebooting. Now finally the system shows the correct time from
dateor in X!
Offline
Great! Mark the thread [solved] please (edit the title of your first post).
(edit) you're quick...
Last edited by 2ManyDogs (2012-08-09 17:36:59)
Offline