You are not logged in.

#1 2010-04-07 12:26:23

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 326

[Solved]Grave hour problem

Hi i've a problem in my netbook with the hour, because i can't get it correct, i've tried everything, openntpd, ntpd, date and hwclock, also changing manally the date in Bios but when i turn on the pc the hour is still wrong and also the bios one, even if i've saved before exit from Bios. I don't know how can i fix this strange issue, that started to happen since the changemet of legal hour

Last edited by toketin (2010-04-07 21:05:02)

Offline

#2 2010-04-07 13:54:49

csat
Member
From: Rio de Janeiro, Brazil
Registered: 2008-08-06
Posts: 93

Re: [Solved]Grave hour problem

Go to teminal and type
su
enter your root password
then,
type date -s "day month year hour:min:sec"
where
day = current date
month = current month
year = current year
Example:  "07 APR 2010 10:52:00"
reboot

You can also set only time with root account, if your local time is 10:52 AM
date -s, --set=1052

Hope this help you.


CSAT
Arch User

Offline

#3 2010-04-07 17:56:21

rohu1990
Member
Registered: 2010-04-03
Posts: 9

Re: [Solved]Grave hour problem

I dont think bios time and date is being changed by arch !!(Am not sure but i guess so)

I suspect that its the battery, which is used to maintain and date and time in bios reulting this issue

Offline

#4 2010-04-07 18:31:53

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 326

Re: [Solved]Grave hour problem

thanks also i've thought that could be the battery of motherboard, but i don't know how can i change it in a netbook lol

Offline

#5 2010-04-07 18:58:33

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 326

Re: [Solved]Grave hour problem

I've changed the time with the command date -s "..." as root, i've rebooted and after 10 minutes i've turned on again the pc, the time was 10 minutes late

Offline

#6 2010-04-07 19:16:45

alexandrite
Member
Registered: 2009-03-27
Posts: 326

Re: [Solved]Grave hour problem

Some motherboards don't keep time very accurately.  It seems like you have one of those.

As such, you should probably use NTP to periodically synchronize the time with a server that knows better wink

Offline

#7 2010-04-07 20:50:15

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: [Solved]Grave hour problem

You may want to make sure that everything is setup rightly in your /etc/rc.conf. TIMEZONE and HARDWARECLOCK specifically. Timezone should be set to your timezone. If your hardware clock is local time, USEHARDWARECLOCK should be "localtime"; if it is UTC, it should be "UTC" (I think).

Offline

#8 2010-04-07 21:04:33

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 326

Re: [Solved]Grave hour problem

I have fixed the problem by deleting the file /var/lib/hwclock/adjtime big_smile thanks to everyone smile

Offline

Board footer

Powered by FluxBB