Benno Schulenberg a écrit :
Your hardware clock is supposed to be at UTC?
Check with 'grep CLOCK= /etc/conf.d/clock'.
Your time zone is correctly set?
Check with 'ls -l /etc/localtime'.
If those are okay, do:
rm /etc/adjtime
hwclock --set --utc --date="2005-11-18 21:34" # example time
hwclock --hctosys
If your hardware clock must be at local time, then replace --utc
with --localtime.
I too have a clock problem (the time returned by "date" being one hour
fast), and I have been fiddling with "hwclock" without finding the right
way. When I saw the above post, I thought that it gave me the answer,
and tried to apply it, but had no success (I used both --utc and
--localtime).
The legal time, here in France and at this (winter) period, is GMT + 1,
as shown correctly by the clock of my iMac, but "date" keeps returning
GMT + 2.
Can anyone figure out the solution?
Charles
--
gentoo-user@gentoo.org mailing list