You are not logged in.
Pages: 1
My time stardard set to HARDWARECLOCK="UTC" and TIMEZONE="Asia/Shanghai" in /etc/rc.conf,and code:hwclock --set --date;date;hwclock --systohc/--hctosys,etc. but can not get the correct time when restart mechine second day.
Output of my mechine:
$date
Thu Jan 14 12:17:22 CST 2010
$hwclock --show
Thu 14 Jan 2010 12:19:12 PM CST -0.588858 seconds
How can I get correct time?Thanks a lot.
Yeah.Keep It Simple and Stupid!
Offline
You should set the local time in BIOS.
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
Or keep it at ="" and use openntpd to set the time
Offline
+ 1 to openntpd. it keeps syncing with a time server. so you dont have to worry about it ever. Comes in extremely handy on older machines like mine where the clock starts lagging.
Last edited by Inxsible (2010-01-15 05:15:28)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Another +1 for openntpd.
I use it on my home server and on all the other PCs that use Linux. The openntpd on my server syncs to a pool of servers located in my country. And it also presents itself as a NTP server on the LAN here, all the other boxes in the home (Windows and Linux alike) sync to it in turn.
Works flawlessly.
Offline
you can also use ntp.
get it with
pacman -S ntp
then sync your time:
ntpdate ntp3.sf-bay.org
Offline
I also recommend OpenNTPD. It will use the internet to set the time on your computer. More information here: http://wiki.archlinux.org/index.php/Net … e_Protocol If you can read Chinese: http://wiki.archlinux.org/index.php/Net … 6%96%87%29
Offline
Use this:http://wiki.archlinux.org/index.php/Net … e_Protocol
Last edited by n0dix (2010-01-15 17:15:36)
Offline
ntp or OpenNTPD FTW. (I'm using ntp)
Use which ever and never worry again about time.
It's not that hard to set and once you set it, you never need to worry again (, well only if you're reinstalling...)
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
It's not that hard to set and once you set it, you never need to worry again (, well only if you're reinstalling...)
or when booting windows on your other partition. somehow windows changes my time when I boot it. I read about this problem somewhere but forgot the elegant fix for this (I don't really care since I rarely boot windows) so I use ntp to set my time again.
Offline
OpenNTPD by me, too.
/me wants you to detele this account... please delete it.
Offline
you can also use ntp.
get it withpacman -S ntp
then sync your time:
ntpdate ntp3.sf-bay.org
Thanks lustikus,It is easy to set and work!
Yeah.Keep It Simple and Stupid!
Offline
if you have windows 7 (possibly with vista too) you can change some ridiculous hidden registry key to make it leave the time on UTC (usually it loads it as localtime, turns it into UTC, then offsets, then saves as localtime again...). I just let Windows run 5 hours ahead of the real time because I hardly use it .
Offline
"ntpdate ntp3.sf-bay.org" work OK,but I find that the correct time setuped can not be keeped,tomorrow remain a incorrect time.How fix it.Thanks
Yeah.Keep It Simple and Stupid!
Offline
Pages: 1