[wplug] system time is UTC

Brian Sammon brians+ at cs.cmu.edu
Tue Apr 13 17:40:07 EDT 2004


> However, now my computer thinks it's 8:28 AM (which is Greenwich time, if 
> I'm not mistaken) instead of 12:28 PM.  I don't really know where the 
> problem lies, since NTPD seems to run okay.  

Greenwich time is 4 hours later, not 4 hours earlier.
What I think is happening here is that the HW clock is getting set (by NTP, 
maybe) based on local time, and then when something reads the time from the HW 
clock, it assumes that the HW Clock is in Greenwich time, and subtracts 4 
hours.
If you want the HW Clock set to UTC, you need to figure out which program is 
feeding the wrong time into the HW Clock and fix/replace that
program. (probably NTPD)
You should have the "hwclock" command which you can use to manually check/set 
the Hardware clock.





More information about the wplug mailing list