You are not logged in.

#1 2008-09-01 23:11:56

vootpig
Member
Registered: 2008-08-11
Posts: 14

[SOLVED] Problem with clock

Hi,

I cannot get my clock to display the right time. In /etc/rc.conf it is set to UTC and the timezone is set to US/Eastern, yet the clock still displays the wrong time (9:12 at the moment, when it is really 19:12). Any ideas how to fix this? I have tried setting the hardwareclock to localtime but it didn't make a difference.

Last edited by vootpig (2008-09-01 23:47:13)

Offline

#2 2008-09-01 23:16:33

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: [SOLVED] Problem with clock

Try installing openntpd, and add it to your daemons list.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#3 2008-09-01 23:17:07

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [SOLVED] Problem with clock

You can install ntp and set up a cron script to run hourly or daily:

ntpdate -b <ntp server>

Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#4 2008-09-01 23:30:15

vootpig
Member
Registered: 2008-08-11
Posts: 14

Re: [SOLVED] Problem with clock

I installed openntpd and added the daemon but when I rebooted my clock is still displaying the wrong time. I'm so confused!

Offline

#5 2008-09-01 23:33:48

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [SOLVED] Problem with clock

The wiki is always helpful: http://wiki.archlinux.org/index.php/NTP wink


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#6 2008-09-01 23:41:59

vootpig
Member
Registered: 2008-08-11
Posts: 14

Re: [SOLVED] Problem with clock

Thanks for the link, but I consulted the wiki and it basically says that openntpd should work after being installed, and the one error it cites in troubleshooting did not occur on my system. I tried installing regular old ntp as an alternative but the file does not seem to exist when pacman tries to get it from the repository. I would also really like to just figure out what's wrong here, because I would like my system clock to work as it should :] If you guys can offer any more help I would greatly appreciate it!

EDIT: Nevermind, running the ntpd -s -d command shown in the wiki synced the clock and now it's displaying correct information. Thanks a lot for the help!

Last edited by vootpig (2008-09-01 23:46:59)

Offline

Board footer

Powered by FluxBB