[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Laptop clock is localtime, system time is off



Nate Bargmann wrote:

>* Antony Gelberg <antony@wayforth.co.uk> [2005 Oct 11 05:32 -0500]:
> 
>  
>
>>Edit the line in /etc/default/rcS:
>># Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
>>UTC=yes
>>
>>I arrived at this conclusion by reading the comments at the top of
>>/etc/init.d/hwclock(first).sh.
>>    
>>
>
>I also saw this in the Debian Adminstrator's Manual, but, now... 
>
><Paul Harvey>The Rest of the Story.</Paul Harvey>  (TM)
>
>When I made this change the init scripts dutifuly saved the system time
>to the hwclock creating an erroneous time setting when I shut down.  
>I rebooted and nothing seemed to change, until yesterday.  
>
>I popped the XP drive in and the time was five hours off 
>(US/Central on DST = GMT - 5 hrs) so I set the time correctly.  Later
>in the day I popped the Debian drive back in and whaddayaknow?  
>The time was correct.  
>
>Apparently, setting UTC="no" is exactly the change that worked, I was
>just too dense to see it right away.  All is well now.
>
>Thanks to everyone.
>
>- Nate >>
>
>  
>
Thanks! I'll have to try this as well. The offset between the clock in
Debian and Windows has been driving me crazy lately.

 - João Pinheiro

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: