Time goes back 4 hours on every boot
Well, hello!
I have a problem: everytime I boot my PC, the time is set back 4 hours relative to the time that was set on the last boot. ie, if the clock says 14:00 now, and I reboot, the clock will say 10:00. This all started when I followed the instructions here to set my clock to the right time (it was 10 minutes slow before, but at least none of this magic time-changing happened). So what I want to know is how to fix this so the clock will be normal again. Here's some output that might be useful... Code:
hernan@hernan:~ (23.740 MB)$ date It probably has something to do with my timezone (CLT: -4 hrs) but I have no idea on how to go about fixing this. The basic instructions I followed to set the clock were: Quote:
-- L*F |
I have too a delay between hardware clock and system time
Code:
$ date Code:
# timeconfig Code:
# ntpdate cl.pool.ntp.org http://ntp.isc.org/bin/view/Servers/NTPPoolServers |
Thanks! I hope the changes live a reboot =D
-- L*F |
Re: Time goes back 4 hours on every boot
Quote:
(Sorry. I couldn't resist.) |
You could put ' ntpdate cl.pool.ntp.org ' in /etc/rc.d/rc.local ;)
To be more accurate, better is to put it in a crontab, though |
Re: Re: Time goes back 4 hours on every boot
Quote:
--L*F |
Quote:
-- L*F |
I had this problem before. It was because I had set my clock to utc but told it local, or the other way around. There's a shutdown script you can modify. I'll try to find it. or you can grep for hwclock in your shutdown scripts.
|
using "timeconfig" and getting the right time from an ntp server, then doing "/sbin/hwclock --systohc" solved the problem. thanks =D
-- L*F |
All times are GMT -5. The time now is 09:05 AM. |