You are not logged in.

#1 2007-10-17 01:32:22

shadeheim
Member
Registered: 2006-11-14
Posts: 29

[Solved] Wrong time

I suspect my cmos battery is broken or something, because even in Windows my time goes out of sync if I unplug my PC. As a workaround in KDE I was able to run ntpd -s on login so that the menubar clock would sync correctly.

-s    Set the time immediately at startup if the local clock is off by more than 180 seconds

However, ntpd -s doesn't sync the output for the date command, but I now have a menubar that reads in from the output of 'date'. I went into my bios to check whether I have UTC or local, but it didn't tell me. This is my rc.conf:

LOCALE="en_GB.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/GB"
KEYMAP="uk"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

As far as I can tell I have the right timezone--I recall looking in a folder to get it. I tried setting the hardware clock to localtime too, but since I don't use Windows anymore, and because it didn't change anything, I've just set it back to UTC. I'd like to know why the KDE clock synced correctly when I ran ntpd -s, yet the system date remained the same? Thanks.

Last edited by shadeheim (2007-10-27 20:08:33)

Offline

#2 2007-10-17 11:58:02

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [Solved] Wrong time

Don't use UTC when dual-booting with Windows, make sure your Bios uses the same time as your watch. Well, your timezone is GMT, so it probably wouldn't matter... just a general advisory. Next, there is no Europe/GB, only Europe/London.

Last edited by byte (2007-10-17 11:59:01)


1000

Offline

#3 2007-10-27 20:08:17

shadeheim
Member
Registered: 2006-11-14
Posts: 29

Re: [Solved] Wrong time

It was just that I had the wrong timezone. Thanks.

Offline

Board footer

Powered by FluxBB