You are not logged in.

#1 2006-05-01 11:53:01

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 215

Correcting my clock in rc.conf?[SOLVED]

It's been wrong for quite a while but had bigger problems and didn't really bother. Now, finally, I got Arch running nice with most stuf working fine so I want to fix my clock. Iv'e tr ied setting it to "Europe/Stockholm" which made it two hours later when I want it like 8 hours earlier. I also saw there was an "GMT-0" option so I tried a GMT-8 without success. It only changed it 2 hours. I have "localtime" set. What can I do?

/Richard


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

#2 2006-05-01 13:04:16

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

Re: Correcting my clock in rc.conf?[SOLVED]

I found this online: http://www.linuxsa.org.au/tips/time.html

try this (taken from the site)
# Run ``date MMDDhhmm'' to set the current system date/time.

# Type ``/sbin/hwclock --systohc [--utc]'' to set the hardware clock.

Offline

#3 2006-05-01 13:15:38

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 215

Re: Correcting my clock in rc.conf?[SOLVED]

Thanks. Working perfectly!


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

#4 2006-05-01 20:53:30

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Correcting my clock in rc.conf?[SOLVED]

if you have localtime in rc.conf you'll want the hwclock line to be --localtime instead of --utc, otherwise when you reboot it'll be way off. But I would recommend using utc anyways unless you dual boot with windows.

Offline

#5 2006-05-02 00:56:46

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Correcting my clock in rc.conf?[SOLVED]

I use "localtime" even without dual-booting, because every  LiveCD I know uses that 'hwclock --localtime' line.


1000

Offline

Board footer

Powered by FluxBB