You are not logged in.
Pages: 1
Topic closed
Hello everybody,
I have a pretty annoying problem here..
I live in Ottawa, Canada, so my timezone is
Canada/Eastern
So at the localization part of rc.conf, I put:
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="yes"
TIMEZONE="Canada/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
But now the system clock is set 7 hours later than
the real local time..
Could you please tell me what I am doing wrong?
Thanks a lot in advance
Last edited by geo909 (2008-10-17 18:39:21)
Offline
I'm in the same timezone
TIMEZONE="America/Toronto"
works for me
Offline
Oh well..
Don't know what's going on, I set it to America/Toronto and I have the same
problem, (shows 7 hours later).
It seems that I have to set the UCT somewhere or something?
Something is not well configured, but i have no idea..
Offline
Usually the best way to nip that problem is to install openntpd.
pacman -S openntpd
Then add openntpd to your daemons array in your /etc/rc.conf file so it will start with your next boot up, and then
/etc/rc.d/openntpd start
and your clock should be correct.
Smarter than a speeding bullet
My Goodreads profile
Offline
Can you post the output of date and hwclock ?
Offline
I had some trouble getting mine all set up with openntpd and Reality. After I had everything else I could think of set up properly (like all the stuff above), I added this to /etc/profile:
TZ='US/Pacific'; export TZ
Change US/Pacific to your timezone and see if it helps.
Offline
Oh well, that doesn't work either!
I will try to install openntpd although
all this is seems to be too much.. I just wanted to set up
my clock! Never thought setting the time would be such
a complicated task I have spent an hour on this!!!
Offline
pacman -S openntpd
Then add openntpd to your daemons array in your /etc/rc.conf file so it will start with your next boot up, and then
/etc/rc.d/openntpd start
and your clock should be correct.
Right, I had troubles with my clock 2 hours late, I did the openntpd thing and it worked
So thanks Rumor
But my hwclock isn't right...(or is it ?)
[ktr@arch ~]$ date
Fri Oct 17 18:14:45 CEST 2008
[ktr@arch ~]$ hwclock
Fri 17 Oct 2008 04:14:56 PM CEST -0.812821 seconds
all this is seems to be too much.. I just wanted to set up
my clock! Never thought setting the time would be such
a complicated task I have spent an hour on this!!!
Hi, welcome on linux...
Last edited by Kooothor (2008-10-17 16:19:44)
ktr
Offline
Ok, I just used the command 'date' to set the clock.
Used something like
date 10171435
to set it to October 17 14:35.
Don't have any idea if I just set the hardware clock or the system clock,
I just have my time right so its allright
Hi, welcome on linux...
Yeah, I know!
But that is waht it pays for Arch's 'simplicity'.
It's great when you have set it all up but in the meanwhile
it can get pretty annoying!
Last edited by geo909 (2008-10-17 18:38:27)
Offline
Usually the best way to nip that problem is to install openntpd.
pacman -S openntpd
Then add openntpd to your daemons array in your /etc/rc.conf file so it will start with your next boot up, and then
/etc/rc.d/openntpd start
and your clock should be correct.
thank you! this thread helped me so much
"You speak like a green girl, unsifted in such perilous circumstance."
- William Shakespeare, Hamlet, I.iii
Offline
fancy_ninja - please don't bump old threads
https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed