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

Re: Clock/Time issues



On 4/25/05, Bruno Wolff III <bruno wolff to> wrote:
> On Mon, Apr 25, 2005 at 11:51:59 -0500,
>   Charles Malespin <charles malespin gmail com> wrote:
> > Hi all,
> >    I am running FC3 with the newest kernel 2.6.11 but am having some
> > clock issues.  Every time I boot up the clock is set back 5 hours from
> > what the actual time is.
> 
> This is usually caused by the bios having the clock set to local time,
> but linux is assuming it is GMT.
> 
> The right way to do this is to have the BIOS clock set to GMT, but I don't
> think this works well with Windows if you are dual booting the machine.

Yes, you want the BIOS hardware clock to be set to UTC time.  The
only reason to ever leave the BIOS in "local" time is if you are
dual-booting with Windows which can not deal with timezones correctly.
As long as you're all Unix/Linux/BSD: hardware clock should always be UTC.

The system-config-date GUI has a checkbox for "system clock uses UTC".
As well, you can just edit the config file /etc/sysconfig/clock and set the
UTC= variable to true

   UTC=true

then reboot.  Also you may want to set up NTP, or at least one-shot
set the clock with a command like following,

   ntpdate 0.pool.ntp.org

-- 
Deron Meranda


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