DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For some obscure reason, the time setting on my computer is totally muddled up.
As I dual boot with winXP I've set my 'hardware clock' to my local time.
I have configured my timezone correctly, and have also set the 'software clock' to localtime.
Code:
~$ cat /etc/timezone
Europe/Berlin
Code:
~$ nano /etc/default/rcS
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=no
However:
Code:
~$ date
Sun Mar 26 22:04:07 CEST 2006
gives the wrong time, whereas:
Code:
~$ date -u
Sun Mar 26 20:05:15 UTC 2006
gives the right time...
Strangely enough, ntpd does not set my time right, although it starts up at boot time, AND I have configuered its use in GNOME.
If I set the 'software clock' manually using 'date' or by using GNOME, the time setting is lost on reboot. When the system goes down, I get a message:
Quote:
cannot acsess the hardware clock via any known method
There shouldn't be the need to write the 'new time' to the 'harware clock', as this is correct (local time) on every reboot.
Same thing happened to me with Etch for a few weeks several months ago,no matter what I tried. Neither XP,nor Kanotix,nor SW exhibited time problem. After several Etch/Sid upgrades problem went away. Enjoy Debian
Get rid of ntpd unless you have a need to run a ntp server. Install ntpdate if you want your time sync'd with a ntp server. You are probably getting the error because you do not have rtc.ko or genrtc.ko loaded.
Get rid of ntpd unless you have a need to run a ntp server. Install ntpdate if you want your time sync'd with a ntp server. You are probably getting the error because you do not have rtc.ko or genrtc.ko loaded.
Thank You, You were right. I got muddled up with ntpd and ntpdate
I also don't have neither the rtc.ko nor the genrtc.ko module, but do I really need it?
Using ntpdate, the time displays correctly now, however, I still don't understand why it doesn't without ntpdate, as it should. Why is UTC giving me my local time, when my 'local time' gives me, something very different, although my timezone is properly set up?
...I still don't understand why it doesn't without ntpdate, as it should. Why is UTC giving me my local time, when my 'local time' gives me, something very different, although my timezone is properly set up?
By chance, do you have /usr on its own partition?
If so, clicky clicky...
By chance, do you have /usr on its own partition?
If so, clicky clicky...
Ok, very interesting, but, no, I don't have /usr on its own partition...sorry there...
I did however recompile my kernel, and now the disturbing error-message during 'shutdown' has been resolved.
I simply added support for the rtc. that was it...ntpdate is also working fine...well at least my clock now works...(DON'T INSTALL/USE AMD64-DEBIAN SID!!!)
Then you can think of yourself as 'very lucky'...just for the record...and by the way, I did not want to start a 'flame-war' just comment on my expirience.
Thanks for not helping though...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.