You are not logged in.
Pages: 1
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
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
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
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
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
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
Offline
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
I have fixed the problem by deleting the file /var/lib/hwclock/adjtime thanks to everyone
Offline
Pages: 1