You are not logged in.
Pages: 1
Hello I read this issue https://bbs.archlinux.org/viewtopic.php?id=78867
But my problem didnt solved. I use Europe/Athens time zone but the timer is 3 hours off how can i fix it?
Last edited by arch_cy (2011-05-31 07:52:51)
Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)
Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)
Offline
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Please post the output of 'hwclock --debug'.
Offline
hwclock from util-linux 2.19.1
Using /dev interface to clock.
Assuming hardware clock is kept in local time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2011/05/30 23:18:43
Hw clock time : 2011/05/30 23:18:43 = 1306786723 seconds since 1969
Mon 30 May 2011 11:18:43 PM EEST -0.989349 seconds
Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)
Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)
Offline
Set your hardware clock to UTC.
Offline
And, as a point of reference, it seems that the local time there should be 23:24
edit: typo
Last edited by ewaller (2011-05-30 20:29:48)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Karol hit it on the head, your hardware clock is set to local time -- UTC is the better choice.
Do you have your configuration set to update the hardware clock at shut down?
Have you considered synchronizing to an NTP server?
Edit: Oh, and are you dual booting Windows?
Last edited by ewaller (2011-05-30 20:29:12)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Set your hardware clock to UTC.
in rc.conf the hardwareclock was empty and I change into UTC then I saved it, logout-login but nothing, I have to restart?
Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)
Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)
Offline
karol wrote:Set your hardware clock to UTC.
in rc.conf the hardwareclock was empty and I change into UTC then I saved it, logout-login but nothing, I have to restart?
Yes, you need to restart.
Offline
Karol hit it on the head, your hardware clock is set to local time -- UTC is the better choice.
1>>Do you have your configuration set to update the hardware clock at shut down?
2>> Have you considered synchronizing to an NTP server?Edit: Oh, and are you dual booting Windows?
1) No.
2) I can understand what you mean man.
3) Yes is dual boot with Windows using 20GB of my hardrive for photoshop only works -.- i hate that photoshop isnt opensource
Also after the restart the same problem the time is 02:38 and not 11:38
Last edited by arch_cy (2011-05-30 20:40:32)
Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)
Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)
Offline
ewaller wrote:Karol hit it on the head, your hardware clock is set to local time -- UTC is the better choice.
1>>Do you have your configuration set to update the hardware clock at shut down?
2>> Have you considered synchronizing to an NTP server?Edit: Oh, and are you dual booting Windows?
1) No.
2) I can understand what you mean man.
3) Yes is dual boot with Windows using 20GB of my hardrive for photoshop only works -.- i hate that photoshop isnt opensource or paid for linux installation without wine and the problems.Also after the restart the same problem the time is 02:38 and not 11:38
You mean 'hwclock --debug' hasn't changed and still tells you are using local time?
What timezone do you have set in rc.conf?
How exactly did you set the hardware clock? Just the rc.conf stuff?
Are you using UTC on your Windows installation?
You can read bout NTP: https://wiki.archlinux.org/index.php/NTP
Last edited by karol (2011-05-30 20:43:52)
Offline
Yes the new log:
hwclock from util-linux 2.19.1
Using /dev interface to clock.
Assuming hardware clock is kept in local time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2011/05/30 23:43:47
Hw clock time : 2011/05/30 23:43:47 = 1306788227 seconds since 1969
Mon 30 May 2011 11:43:47 PM EEST -0.847525 seconds
My timezone is "Europe/Athens"
On installation i just choose my Location (basic i am from cyprus but we have the same zone with Greece/Athens) so i choose Europe/Athens.
I dont know my Windows 7 is just for photoshop anything else i freeze it with deepfreeze in case to be always clean from virus... all the stuf is done on my linux..
Last edited by arch_cy (2011-05-30 20:47:08)
Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)
Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)
Offline
https://wiki.archlinux.org/index.php/Time#Time_Standard
https://wiki.archlinux.org/index.php/Time#Time_Set
I don't know if your Windows can influence the Arch clock.
Offline
Ok man listen i have to go to bed. I run this command "# hwclock --set --date "MM/DD/YYYY hh:mm:ss"" with the correct time may i need a restart i will do it tomorrow. So thank you very match and i am going to solve it tomorrow (with comunity help of course ).
Last edited by arch_cy (2011-05-30 21:06:44)
Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)
Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)
Offline
Well, all of my systems are set to UTC. When I run windows, I set the time zone to Zulu so I see a -8 (or -7) hour delta when running windows.
I am loath to suggest this, but it might just be easiest to set your Arch install to use local time. This way, you don't need to fight with the folk in Redmond. just update the hardware clock variable in /etc/rc.conf.
Actually, I hate that idea. To do it correctly, leave the configuration for UTC, set the system time using the date command, set the hardware clock using:
sudo /sbin/hwclock --systohc --utc
Consider installing and using ntpdc
Fix Windows to use UTC (requires adventures with Resedit)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Ok man listen i have to go to bed. I run this command "# hwclock --set --date "MM/DD/YYYY hh:mm:ss"" with the correct time may i need a restart i will do it tomorrow. So thank you very match and i am going to solve it tomorrow (with comunity help of course ).
Sure thing, I'm in no hurry :-)
I don't think you need to restart after using this command to be able to see the effect. Just doublecheck if you set the date correctly: it's in the "US standard", months come before days so you can easily set it to 6th January instead of 1st June. This will cause a nasty error https://bbs.archlinux.org/viewtopic.php?id=80931
Offline
Well, all of my systems are set to UTC. When I run windows, I set the time zone to Zulu so I see a -8 (or -7) hour delta when running windows.
I am loath to suggest this, but it might just be easiest to set your Arch install to use local time. This way, you don't need to fight with the folk in Redmond. just update the hardware clock variable in /etc/rc.conf.
Actually, I hate that idea. To do it correctly, leave the configuration for UTC, set the system time using the date command, set the hardware clock using:
sudo /sbin/hwclock --systohc --utc
Consider installing and using ntpdc
Fix Windows to use UTC (requires adventures with Resedit)
Either save the following as a .reg file and run it, or just go into regedit and add it. I use it on both my laptop and desktop without problems.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] “RealTimeIsUniversal”=dword:00000001
EDIT: Also, even with everything set "correctly" I've been having issues with HWCLOCK and instead have switched to OPENTDPD to control my system clocks. It's probably something I'm just not setting correctly for hwclock, but im used to using ntpd from the past.
Last edited by vladthedog (2011-05-30 22:06:16)
Offline
For all Windows dual-boot users try https://bbs.archlinux.org/viewtopic.php … 82#p940782 . I have been using Windows with UTC-hwclok perfectly with this.
My new forum user/nick name is "the.ridikulus.rat" .
Offline
@skodabenz: your links help me to solve the problem. Here is the steps:
first of all I change Windows time to UTC with this code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
I save it with "name.reg" and then I run it.
After switch to Arch:
You have to install the NTP by:
pacman -S ntp
Edit your rc.conf file and add to deamons the ntp: DAEMONS(...ntpd..) and also in rc.conf change hardwareclock to "local" => HARDWARECLOCK="local"
Restart and done!
Thank you all guys for any help
Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)
Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)
Offline
Pages: 1