I booted up my slack box for the first time in nearly 12 months today. Turns out the system time was completely screwed (thought it was 2005 for some reason).
I followed instructions on this website: http://pc-freak.net/blog/how-to-fix-...time-troubles/ which seemed to do the trick.
My question is: is this time discrepancy an artifact of me not switching on the machine enough or is there something I need to be doing like binding it to some sort of ntp server when the box boots up?
Many thanks in advance.
Couple of things.
First one, you've most likely got a dead battery on the mother board, good idea to change it.
Second one, include a call to ntpdate in /etc/rc.d/rc.M before the call to start ntpd (that's after the network starts and additional filesystems are mounted).
You'd want to do something like
Third option -- when you start the box, get into the bios and check and possibly set the time (especially with a dead battery).
Hope this helps some.
Yes it is due to not being turned on and/or that you need to replace the BIOS battery. Hardware clocks are not very accurate and would expect it to drift if the computer has not been powered on for awhile. NTP will try to compensate for hardware clock drift but may not be enough if you are not going to power on the computer regularly.
I'll pick up a new battery.
|All times are GMT -5. The time now is 01:49 PM.|