You are not logged in.

#1 2008-07-03 00:39:36

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

[SOLVED]Hardware Clock setting

I installed Arch last night and chose HardwareClock="UTC" because I don't have Windows on this machine and I had chosen the UTC setting during my Debian installs on the same machine.

However, when I logged into my Debian install, the time is off by 5 hours - me being on the East Coast. Then I tried changing the HardwareClock setting to localtime and this resulted in a difference of 9 hours.

Now I have it back at UTC. Is there a way of changing this so I can get the accurate time on all 3 of my installs ?

Or do I have to go into the BIOS and manually change the time to reflect the time on the East Coast?

Last edited by Inxsible (2008-07-03 03:05:44)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#2 2008-07-03 00:45:50

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [SOLVED]Hardware Clock setting

Are you sure you specified a proper timezone in rc.conf?

Offline

#3 2008-07-03 01:00:09

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]Hardware Clock setting

lucke wrote:

Are you sure you specified a proper timezone in rc.conf?

Yes it is set to "US/Eastern"

Last edited by Inxsible (2008-07-03 02:52:34)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2008-07-03 01:14:47

phisphere
Member
From: Tallinn, Estonia
Registered: 2007-03-05
Posts: 136
Website

Re: [SOLVED]Hardware Clock setting

i had similar problems when i installed overlord. everything was set up properly, but the clock was still wrong.
so i just changed the time manualy.

first of you have to set the correct time and date in date. use date --help for details.
then hwclock --set will adjust the hardware clock with date.

date -s [MMDDhhmm[[CC]YY]
hwclock --set

Offline

#5 2008-07-03 02:54:08

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]Hardware Clock setting

phisphere wrote:

i had similar problems when i installed overlord. everything was set up properly, but the clock was still wrong.
so i just changed the time manualy.

first of you have to set the correct time and date in date. use date --help for details.
then hwclock --set will adjust the hardware clock with date.

date -s [MMDDhhmm[[CC]YY]
hwclock --set

Would I still keep the hardwareClock setting in rc.conf as UTC then?

or should I change it to localtime?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#6 2008-07-03 03:03:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]Hardware Clock setting

I was able to set the date. But when I issue the

hwclock --set

command, I get this as output

#hwclock --set
No --date option specified.
No usable set-to time. Cannot set clock

EDIT : I solved this using the --systohc option for hwclock.

Thanks for you help.

Last edited by Inxsible (2008-07-03 03:05:26)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB