You are not logged in.

#1 2008-05-05 06:53:11

holmess
Member
Registered: 2008-03-25
Posts: 11

Help please

I live in Texas. I use xfce+Archlinux. x86_64 bit amd machine. For the love of god, i cannot get the system clock say the right time. For some reason evolution decided not to start. I am getting tired of Arch unstability. Please help me.

Offline

#2 2008-05-05 06:57:08

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Help please

man date


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2008-05-05 09:50:11

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

Re: Help please

I would suggest you to sync your time with ntp. It's very easy.

Install Ntp:

pacman -S ntp

Go to the NTP Servers page, and pick the server you need.

Then run:

ntpdate -b <the server you picked>

That should update your time.

In addition to that you can create a cron job to run daily or hourly, just create a script. Just paste the above command in a file and name it, say, time.cron. Put the file in /etc/cron.hourly or /etc/cron.daily, according to your preference.

This is the best solution I have found, and I quite like it.

Last edited by finferflu (2008-05-05 09:51:19)


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-05-05 11:31:20

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: Help please

You can also use ntp daemons (ntpd and ntpdate) from /etc/rc.d after installing ntp package. Pick the best pool from http://www.pool.ntp.org/ as finferflu's NTP server page did not load for me. The default pool in ntp is pool.ntp.org, which redirects to random pool servers around the world. You get more accurate results by choosing a continental or even a country specific pool.

Last edited by Purch (2008-05-05 11:35:14)

Offline

#5 2008-05-05 13:18:36

Neverth
Member
From: Finland - Land of taxes
Registered: 2006-05-16
Posts: 45
Website

Re: Help please

test:
/etc/rc.conf
HARDWARECLOCK to utc if its localtime or vice versa.
Check that TIMEZONE is right.

As for ntp, eg I run /etc/rc.d/ntpdate start with ntp pkg. Never configured it but its good enough for me.


Flying is Trying is Dying

Offline

Board footer

Powered by FluxBB