You are not logged in.
Hi all!
I'm new to Arch but man i love this fast distro .
I have a small problem, my clock isn't showing right time. Here is a part of my rc.conf
#
# /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"
# 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/unimaps
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE=
HARDWARECLOCK="localtime"
TIMEZONE=Europe/Stockholm
KEYMAP=sv-latin1.map.gz
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
What is wrong? My clock is showing 1h wrong time.
/K
METAL UP YOUR ASS!
Offline
Change the clock in you bios and it should be sweet.
Offline
Do i really need to? I had no problem in other distros. like Ubuntu and Suse.? :?
METAL UP YOUR ASS!
Offline
Sorry i couldn't tell you that. I know that i didnt have to with other distros as well, but i did with arch.
Its come up in these forums before as i recall.
Offline
set you system time:
date MMDDhhmmYYYY
set your bios clock to it:
hwclock --systohc --localtime
Offline
I'd recommend doing the proscribed fixes first and then setting up ntp, unless you're not connected to the internet often.
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
If you are not dualbooting with windows, it's "recomended" to set the HW clock as UTC.
If the box is connected to the internett often, do as Snarlout wrote, and take a look at Openntp
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
KiXeR: I think you have encountered bug #5529. You should correct time after install, until there will be CD or FTP install with initscripts-0.7.3-1 (or greater).
to live is to die
Offline
Thx all for u'r tips/help but after few reboots it fixed it self, strange. Anyway it works now .
METAL UP YOUR ASS!
Offline
pacman -Sf ntp; ntpdate ntp.uio.no; hwclock --sysyohc --localtime
I never said anything about that.
(archlinux.no)
Offline
Yeah, that didn't work.
I always roll 20s on my disbelieve checks.
You better believe it.
Offline
Sure, set the BIOS/CMOS time to UTC if you don't dual-boot... and don't use LiveCDs, ever.
;]
1000
Offline
If I have my BIOS clock set to localtime (which is what I think the above commads do) and specified localtime in the rc.conf, shouldn't it work?
I always roll 20s on my disbelieve checks.
You better believe it.
Offline
Sorry, that was in response to MrElendig.
If you enter your BIOS and the date there is in sync with your wristwatch (wallclock etc.) and "localtime" is in rc.conf and your timezone is correct, then yes.
1000
Offline
Yeah, it doesn't, though. Is there any way I can check the BIOS clock to make sure the command I used actually set it correctly? Also, when I change the rc.conf, is there anything I need to do to have the system reconsider it or is that done when I call ntpdate?
I always roll 20s on my disbelieve checks.
You better believe it.
Offline
kamagurka, are you sure you have set your TIMEZONE correctly? What value it has?
to live is to die
Offline
At the moment it says
HARDWARECLOCK="localtime"
I tried UTC as well, but no dice.
I always roll 20s on my disbelieve checks.
You better believe it.
Offline
At the moment it says
HARDWARECLOCK="localtime"
I tried UTC as well, but no dice.
I have also
TIMEZONE="Europe/Kiev"
to live is to die
Offline
Oh, maybe next time I'll actually read what you're writing before replying. Mine says
TIMEZONE="Europe/Berlin"
which is where I am at.
I always roll 20s on my disbelieve checks.
You better believe it.
Offline
pacman -Sf ntp; ntpdate ntp.uio.no; hwclock --sysyohc --localtime
I think bjorn meant: hwclock --systohc --localtime.
Offline
Since I did what T-Dawg said (and he didn't make that typo), I should be fine. BUT I'M NOT. I'm seriously nearly crying now. My clock says it's 4:37, and it's about noon. My sleep cycle is all fucked.
I always roll 20s on my disbelieve checks.
You better believe it.
Offline
Did you set your system time with the date command first?
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
Yes, I did exactly as T-Dawg commanded:
I set time and date with the date command, and then set my BIOS time to the time I just set with "hwclock --systohc --localtime".
And still, when I call ntpdate, it gets reset.
I always roll 20s on my disbelieve checks.
You better believe it.
Offline
That's weird - I've used this technique on litterally dozens of boxen. I assume you've checked that you get the correct output at each step of the process. Could you post the output of each step, followed by a check of each step, and finally where things go wrong?
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
in addition please post the output of
hwclock --show --localtime; date
Offline