PDA

View Full Version : KDE clock 1 hour off system time - knoppix-autoconfig prob?



monkeyman2000
09-04-2004, 06:48 PM
Hi,

I am using an Hdd install of Knoppix 3.4. My KDE clock (the one displayed on the taskbar) is 1 hour ahead of my system time.

Some searching of the knoppix.net forums shows that this may be due to some problems with the knoppix-autoconfig script, and not exporting the TZ value correctly.

http://www.knoppix.net/forum/viewtopic.php?t=12689&highlight=
http://www.knoppix.net/docs/index.php/Bugs/3.4

The posts do not make clear how I can resolve the problem for an Hdd install, however. Do I need to change the knoppix-autoconfig script? How do I set the timezone (I am in New York)?

Thank you for any help you can provide!

DuckDodgers
09-04-2004, 07:10 PM
If you right click on your clock, hover over Show Timezone and put a check in the box next to Local Timezone. This should display what the hardware clock is set for.

el_supremo
09-05-2004, 02:32 AM
New York is the default timezone for the English version of Knoppix so you shouldn't be having any problems with timezones :-)


DuckDodgers suggestion ought to fix it because it sounds like your system clock is correct but that the taskbar clock is not showing you your local time which is simply a matter of telling it to use the correct timezone.

If his suggestion doesn't help then in a shell (you don't need to be root) issue the commands:


hwclock --show
date
This will print what your hardware clock is set to and your system time.
Cut and paste the result into a reply and let us know if they show your correct local time.

Best Wishes
Pete

LeManu
09-16-2004, 07:33 PM
Hi,

I am having the same problem I think,
I should have Central European time, but this what I get:
root@knopbox:/etc/X11# rdate -s ntp1.fau.de
root@knopbox:/etc/X11# hwclock --show
Thu Sep 16 08:29:55 2004 -0.704234 seconds
root@knopbox:/etc/X11# date
Thu Sep 16 14:30:17 EDT 2004
root@knopbox:/etc/X11#
When I should get 20:30

The time use to be OK with Knoppix 3.2, I just migrated to 3.6
Any help appreciated.

Tks
Emmanuel

CrashedAgain
09-16-2004, 09:35 PM
See also this link:
http://www.knoppix.net/forum/viewtopic.php?t=13306

and remember who may have to restart x to implement changes.

el_supremo
09-19-2004, 06:34 PM
Hi LeManu:
Sorry it's taken so long for me to answer.



I should have Central European time, but this what I get:
root@knopbox:/etc/X11# rdate -s ntp1.fau.de
root@knopbox:/etc/X11# hwclock --show
Thu Sep 16 08:29:55 2004 -0.704234 seconds
root@knopbox:/etc/X11# date
Thu Sep 16 14:30:17 EDT 2004
root@knopbox:/etc/X11#
When I should get 20:30


I think your main problem is that you seem to be using the ENglish version of the 3.6 distribution which defaults to the North American Eastern timezone. This would explain why the date command gives you an EDT time. You should use the DEutsch version which will put you in the correct timezone. I don't know why the hwclock command doesn't also print EDT though.

There also appears to be a problem with your hardware clock. It seems to be set twelve hours slow - i.e. it's saying 8am (0800) when it should be 8pm (2000).
Note that rdate only changes the Linux software clock, not the hardware clock.

Best Wishes
Pete