You are not logged in.
I have the following line in my rc.conf:
HARDWARECLOCK="localtime"
However, Archlinux is still subtracting 5 hours from my hardware clock time, giving me the incorrect time. Sometimes openntpd corrects this, but sometimes it doesn't. How do I stop Arch from subtracting time when no compensation for the time zone is needed?
Offline
Try deleting /var/lib/hwclock/adjtime and then rebooting.
The answer was found here, http://bbs.archlinux.org/viewtopic.php?id=79543.
Offline
You can set your hardware clock manually:
hwclock --set --date="9/25/09 14:05:00"
And set your system time to match hardware clock:
hwclock --hctosys
Offline
Try deleting /var/lib/hwclock/adjtime and then rebooting.
The answer was found here, http://bbs.archlinux.org/viewtopic.php?id=79543.
Sorry, just tried it and it didn't work. The time is still 5 hours behind.
Offline
You can set your hardware clock manually:
hwclock --set --date="9/25/09 14:05:00"
And set your system time to match hardware clock:
hwclock --hctosys
I expected that last one to work, but for some reason it didn't. I wonder if Arch set my hwclock to UTC while I wasn't looking? I checked it in the bios right before I posted this topic, but I suppose it could have done something since then. Time for another reboot I guess.
Offline
Well, that was weird, sometime between the time I posted this topic and now, Arch reset my hardware clock to UTC. I have no idea why, I didn't ask it to, but at least it is accepting that my hardware clock is local time now. Thanks guys!
EDIT: Actually, that's not correct, it didn't reset my hardware clock to UTC, it just set it to match the incorrect system time. Sorry I'm kind of tired or I would have caught that the first time.
Last edited by jmetal88 (2009-09-25 15:58:00)
Offline
I actually have the same issue. Neither solution worked here but I don't use my comp clock much so I've been ignoring it until I have time to look into it.
Offline