[Eug-lug] Computer time on Mozilla email?

Bob Miller kbob at jogger-egg.com
Mon Jan 17 19:15:32 PST 2005


Alan Crandall wrote:

> after a reboot from 2000 the bios showed the right time/reboot from 
> Mandrake,clock was off

Here's the technical tidbit you're missing.  A PC has a hardware
clock.  It runs off a battery, and keeps time even when the PC is
turned off.  Windows likes the hardware clock to be set to local time.
Linux likes the hardware clock to be set to GMT, also known as UTC.
When you looked at the time in the BIOS, you saw the hardware clock's
time.

There's a way to tell Linux to treat the hardware clock as local time.
For Mandrake, you do this by logging in as root, then editing the file
/etc/sysconfig/clock.  You should see a line in that file that says
UTC=true.  Change it to UTC=false.

Reboot, etc.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     kbob at jogger-egg.com


More information about the EUGLUG mailing list