Re: ntp(date) and laptop during suspend
> Greetings!
> I think I have finally managed to get Debian working correctly
> with APM (suspend/resume features) on my IBM Thinkpad. On boot up, my
> laptop sets the time from a NTP server on the Internet using
> ntpdate. However, after coming out of suspend mode, the time is always
> behind by 5 hours. This wouldn't be too much of a problem is the time was
> all that was affected. However, when I do an uptime this morning,
> following the resume, it showed that my laptop had been up for about 20
> hours. I actually know for a fact that it has been up all weekend (since
> Friday morning). So, I am not really sure where my problem is, but it
> seems that my clock management is going to hell when in suspend
> mode. Can anyone tell me what is happening here and how to prevent this?
>
> Thanks,
> Bryan Walton
5 hours huh? You wouldn't happen to be exactly 5 hours off from GMT would
you?
When you resume it usually sync's with the hardware clock, but if your
hardware is on GMT/UTC you have to tell it so, otherwise it is treated as
local time.
* Heather * star@ many places...
Reply to: