Am Donnerstag, 23. März 2006 15:32 schrieb Jerry Feldman:
On Thursday 23 March 2006 8:37 am, Per Jessen wrote:
Daniel Bauer wrote:
I then adjusted date and time with click right on the watch in the kde task bar, ("set date and time") to March 20, 2006. Today it shows May 27, 2008...
Did you also set the hardware clock? "hwclock --systohw" - or in the BIOS.
b.t.w.: where the PC stands it's not possible to connect to the internet, so I can't use ntpdate or something like that and have to do it manually somehow... but how?
If the builtin clock is actually unreliable, you'll some other source of time. It doesn't need to be on the internet, any internal network would be ok too. If it cannot in any way be connected to a network (with a reliable time source), perhaps you could attach a DCF77 receiver or something like that.
I would agree with per. But, I suggest you run a test, by booting your system into the BIOS and setting the hardware clock manually. If you an let the PC run for a period of time where you suspect that the time is being trashed, check the BIOS time again - make sure you don't run an OS.
If your hardware clock is the one that is bad, then you have identified the problem.
Then boot up in Linux and make sure that the time zone is set correctly. If you do not dual boot Windows, then it is best to set the hardware clock to UTC time, otherwise set it to local time. Once you have made sure everything with Linux is set correctly, bring up a terminal window or a virtual terminal (control-alt-f1). Actually, I would initially boot into run level 1 or 2, and use the date command to check the time. Linux does set the hardware clock on shutdown, but not when it is running. So, if you see a significant drift, physically power off the system, and check the BIOS. Again, you want to find out where the drift is coming from.
The last test is from KDE. Just repeat the tests you did with KDE. But, you should already have identified that the culprit is either the hardware or Linux.
-- Jerry Feldman
Linux Expertise Center (PTAC-MA/TX) Hewlett-Packard Co. 200 Forest Street MRO1-3/K12 Marlborough, MA 01752-3081 508-467-4315 (http://www.testdrive.hp.com)
Thank you Per & Jerry, I'll check that tomorrow when visiting the customers office and then give feedback here... Daniel