You are not logged in.

#1 2009-05-27 20:52:52

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

[SOLVED] - set my time correct

Hi,
Reinstalled Arch today and the clock is two hours ahead...

rc.conf = HARDWARECLOCK=localtime
dualbooting with Vista (work laptop)

how can I change this?

Edit, ment localtime offcourse...=D

Last edited by ftornell (2009-05-28 13:22:42)


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

#2 2009-05-27 20:54:07

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: [SOLVED] - set my time correct

Install openntpd and add @openntpd to your daemon in rc.conf

Offline

#3 2009-05-27 21:08:38

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED] - set my time correct

HARDWARECLOCK=localhost? is that a typo? could be an issue...

Offline

#4 2009-05-27 21:33:24

jlcordeiro
Member
From: Portugal
Registered: 2009-05-23
Posts: 76

Re: [SOLVED] - set my time correct

Possibly localtime big_smile

Offline

#5 2009-05-27 21:35:41

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: [SOLVED] - set my time correct

To set the hardware clock time & date:

hwclock --set --date="27/5/09 06:47:00"

To set system time to match hardware clock:

hwclock --hctosys

Last edited by Raffles10 (2009-05-27 21:37:03)

Offline

#6 2009-05-27 23:04:29

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] - set my time correct

Removing /var/lib/hwclock/adjtime might help.
It probably contains a too large correction value.
Note: Automatic time correction using NTP servers with e.g. openntpd does work in small increments only.


To know or not to know ...
... the questions remain forever.

Offline

#7 2009-05-28 13:22:27

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Re: [SOLVED] - set my time correct

kevin89 wrote:

Install openntpd and add @openntpd to your daemon in rc.conf

That made it correct, thx!


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

Board footer

Powered by FluxBB