You are not logged in.

#1 2012-07-18 12:11:35

manouchk
Member
Registered: 2008-07-29
Posts: 314

Time problem, again!

Hi,

like always, my time is screwed up, 1 hour late and I cannot figure out the problem. Time should be 09:07 but is 08:07. I use localtime and I also use windows from time to time (very few times). Here are all related configuration:

hwclock --show
mer. 18 juil. 2012 05:07:14 BRT  -0.688345 secondes

date
mer. juil. 18 08:07:20 BRT 2012

grep ^TIMEZONE /etc/rc.conf
TIMEZONE="America/Sao_Paulo"

grep ^HARDWARECLOCK /etc/rc.conf
HARDWARECLOCK="localtime"

ls -l /etc/localtime 
lrwxrwxrwx 1 root root 37 28 mai   19:28 /etc/localtime -> /usr/share/zoneinfo/America/Sao_Paulo

md5sum /usr/share/zoneinfo/America/Sao_Paulo
7613c2153980b60de4fb74f692d7c1eb  /usr/share/zoneinfo/America/Sao_Paulo

Any idea on how to fix that?

Offline

#2 2012-07-18 12:23:31

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: Time problem, again!

You should use this
this OS has a weird time setting which starts with "W" and ends with "S".


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2012-07-18 12:27:08

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Time problem, again!

What do you mean by "again" and "like always" ?

Assuming your BIOS clock is set correctly, reboot into Windows, wait a few seconds/minutes and then reboot into Arch. This works for me using "localtime" in rc.conf (here). It's only twice a year to account for DST (daylight savings time). But if only now you're complaining about it, it means you haven't booted into Windows since before March...

https://wiki.archlinux.org/index.php/Be … boot_setup


PS: Remove any mention of hwclock from rc.conf.

Last edited by DSpider (2012-07-18 12:28:50)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-07-18 13:51:49

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: Time problem, again!

Paste your /etc/adjtime

Offline

#5 2012-07-18 14:44:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: Time problem, again!

What is the output of sudo hwclock --debug  ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2012-07-18 15:52:09

desaparecido
Member
From: Liège, Belgium
Registered: 2010-03-14
Posts: 155

Re: Time problem, again!

in my case i did

sudo rc.d stop ntpd
sudo ntpd -qg
sudo hwclock -w
sudo reboot

and after that all is ok, thanks for thats tips finded in arch forums wink


KF5 & Plasma5 (git versions) - Awesome WM
ASUS Sabertooth 990FX - AMD FX8350 - ATI Radeon HD 7970
[testing] repo

Offline

Board footer

Powered by FluxBB