[opensuse] Time & Date
Hi, a problem has developed on my laptop after some updates to the OS within the last month. It won't stay on time when I shut it down and start it up again. Each time after starting up the computer I have to reset the time and date. I also uncheck the box where it says update time automatically. But after each startup, the date and time will be off, and the box is rechecked again Any ideas on how to fix this? I am using OpenSuse 11.1 with kde 3.5. Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mark Misulich pecked at the keyboard and wrote:
Hi, a problem has developed on my laptop after some updates to the OS within the last month. It won't stay on time when I shut it down and start it up again.
Each time after starting up the computer I have to reset the time and date. I also uncheck the box where it says update time automatically. But after each startup, the date and time will be off, and the box is rechecked again
Any ideas on how to fix this? I am using OpenSuse 11.1 with kde 3.5.
Thanks
Perhaps you need to manually adjust the cmos clock after daylight savings time change. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2009-11-06 at 11:19 -0500, Ken Schneider - openSUSE wrote:
Mark Misulich pecked at the keyboard and wrote:
Hi, a problem has developed on my laptop after some updates to the OS within the last month. It won't stay on time when I shut it down and start it up again.
Each time after starting up the computer I have to reset the time and date. I also uncheck the box where it says update time automatically. But after each startup, the date and time will be off, and the box is rechecked again
Any ideas on how to fix this? I am using OpenSuse 11.1 with kde 3.5.
Thanks
Perhaps you need to manually adjust the cmos clock after daylight savings time change.
-- Ken Schneider SuSe since Version 5.2, June 1998
Hi Ken, thanks for the thought but the problem developed before the time change off daylight saving time. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello,
In the Message;
Subject : [opensuse] Time & Date
Message-ID : <1257522461.5320.4.camel@linux-qhoj.site>
Date & Time: Fri, 06 Nov 2009 10:47:41 -0500
[Mark] == Mark Misulich
On Sat, 2009-11-07 at 01:19 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : [opensuse] Time & Date Message-ID : <1257522461.5320.4.camel@linux-qhoj.site> Date & Time: Fri, 06 Nov 2009 10:47:41 -0500
[Mark] == Mark Misulich
has written: Mark> Each time after starting up the computer I have to reset the time and Mark> date. I also uncheck the box where it says update time automatically. Mark> But after each startup, the date and time will be off, and the box is Mark> rechecked again
What do you want to do, I wonder?
The box do update time and date automatically under the ntp setteings. I can't understand waht does your uncheck behavior.
Regards,
--- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ 「先端技術の開発は、優れた頭脳を持つ人間が集中しないと成功しない。 しかし、技術開発と、それが何をもたらすかを考えることは別だ。 一人の人間に二つは望めない。」 -- M. Crichton --
Hi, what I want to do is get the time working correctly again. I do not expect to have to reset time and date on each startup. If the autoset box is checked, I would expect the clock and date to be set correctly, but it isn't. I tried to uncheck the autoset box as a trouble shooting exercise, but since it isn't staying unchecked it is one more indication of the problem. That is why I wrote about this. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 06 Nov 2009 17:39:29 Mark Misulich wrote:
On Sat, 2009-11-07 at 01:19 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : [opensuse] Time & Date Message-ID : <1257522461.5320.4.camel@linux-qhoj.site> Date & Time: Fri, 06 Nov 2009 10:47:41 -0500
[Mark] == Mark Misulich
has written: Mark> Each time after starting up the computer I have to reset the time and Mark> date. I also uncheck the box where it says update time automatically. Mark> But after each startup, the date and time will be off, and the box is Mark> rechecked again
What do you want to do, I wonder?
The box do update time and date automatically under the ntp setteings. I can't understand waht does your uncheck behavior.
Regards,
--- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ 「先端技術の開発は、優れた頭脳を持つ人間が集中しないと成功しない。 しかし、技術開発と、それが何をもたらすかを考えることは別だ。 一人の人間に二つは望めない。」 -- M. Crichton --
Hi, what I want to do is get the time working correctly again. I do not expect to have to reset time and date on each startup.
If the autoset box is checked, I would expect the clock and date to be set correctly, but it isn't. I tried to uncheck the autoset box as a trouble shooting exercise, but since it isn't staying unchecked it is one more indication of the problem. That is why I wrote about this.
Not sure what I'm talking about here, probably info from a million moons ago. Do you have battery backup on the motherboard? If so, is it flat? N�����r��y隊Z)z{.�ﮞ˛���m�)z{.��+�Z+i�b�*'jW(�f�vǦj)h���Ǿ��i�������
Hi, a problem has developed on my laptop after some updates to the OS within the last month. It won't stay on time when I shut it down and start it up again.
Each time after starting up the computer I have to reset the time and date. I also uncheck the box where it says update time automatically. But after each startup, the date and time will be off, and the box is rechecked again
Any ideas on how to fix this? I am using OpenSuse 11.1 with kde 3.5.
Thanks
Hello: I don't know about laptops but on desktops this can occur if the battery on the motherboard has run out. Other possibility is that the /etc/adjtime file has been messed up. What I usually do is (as root): # rm /etc/adjtime # ntpdate -q ntp1.ptb.de #(or other time server); shows the difference between your computer's time and the real time # ntpdate ntp1.ptb.de # sets the system time # hwclock --systohc # copies system time to BIOS Cheers, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Istvan Gabor said the following on 11/06/2009 12:13 PM:
I don't know about laptops but on desktops this can occur if the battery on the motherboard has run out.
That was my first thought. However the statement of the problem hasn't said anything about the motherboard clock. Yes, if it has failed, be it a hardware failure or a dead battery, that would require resetting the Linux time on every boot. How to check? I'd say go into the BIOS on hardware boot. Most BIOS's let yo adjust the clock there. It it keeps resetting to the same value (chip dependent 'all zeros' then I'd replace the battery. Of course it _could_ be a hardware failure. How old did you say this was? -- If you keep your mind sufficiently open, people will throw a lot of rubbish into it. ---William Orton -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2009-11-06 at 12:51 -0500, Anton Aylward wrote:
Istvan Gabor said the following on 11/06/2009 12:13 PM:
I don't know about laptops but on desktops this can occur if the battery on the motherboard has run out.
That was my first thought. However the statement of the problem hasn't said anything about the motherboard clock. Yes, if it has failed, be it a hardware failure or a dead battery, that would require resetting the Linux time on every boot.
How to check? I'd say go into the BIOS on hardware boot. Most BIOS's let yo adjust the clock there. It it keeps resetting to the same value (chip dependent 'all zeros' then I'd replace the battery.
Of course it _could_ be a hardware failure.
How old did you say this was?
I checked the bios clock earlier today and it seems to be keeping time and date ok. I think I bought this laptop about three years ago. I rebuilt the /etc/adjtime file and that seems to have allowed me to keep the clock synchronized on gmt ok. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2009-11-06 at 18:13 +0100, Istvan Gabor wrote:
Hi, a problem has developed on my laptop after some updates to the OS within the last month. It won't stay on time when I shut it down and start it up again.
Each time after starting up the computer I have to reset the time and date. I also uncheck the box where it says update time automatically. But after each startup, the date and time will be off, and the box is rechecked again
Any ideas on how to fix this? I am using OpenSuse 11.1 with kde 3.5.
Thanks
Hello:
I don't know about laptops but on desktops this can occur if the battery on the motherboard has run out.
Other possibility is that the /etc/adjtime file has been messed up.
What I usually do is (as root):
# rm /etc/adjtime # ntpdate -q ntp1.ptb.de #(or other time server); shows the difference between your computer's time and the real time # ntpdate ntp1.ptb.de # sets the system time # hwclock --systohc # copies system time to BIOS
Cheers, Istvan
Hi Istvan, I reset the time as per your instructions, and have booted the computer several times during the day. So far the computer seems to be presenting time and date ok, in gmt not local time. That is fine with me with all the traveling I do for work, so I will just leave it this way. Thanks for the help! Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-11-07 at 04:26 -0500, Mark Misulich wrote:
# rm /etc/adjtime # ntpdate -q ntp1.ptb.de #(or other time server); shows the difference between your computer's time and the real time # ntpdate ntp1.ptb.de # sets the system time # hwclock --systohc # copies system time to BIOS
Hi Istvan, I reset the time as per your instructions, and have booted the computer several times during the day. So far the computer seems to be presenting time and date ok, in gmt not local time. That is fine with me with all the traveling I do for work, so I will just leave it this way.
Hold on, there might be a problem with that. What is the output of the command "date" on your system? If it says something like this: ~> date Sat Nov 7 13:01:43 CET 2009 If the letters there say some local time (like CET above), but the time is UTC, then you do have a problem. Repeat the procedure taking attention to the --utc or --localtime as I said in my post. If you still get the wron time after that, make sure your timezone is properly configured in YaST. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkr1YnUACgkQtTMYHG2NR9WHmQCfT76gxBSoBI3+GU+C6JoLdfTv stUAn2AvXQSYMfspwNKDUy0cFsZvmCfO =BUkt -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2009-11-07 at 13:05 +0100, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Saturday, 2009-11-07 at 04:26 -0500, Mark Misulich wrote:
# rm /etc/adjtime # ntpdate -q ntp1.ptb.de #(or other time server); shows the difference between your computer's time and the real time # ntpdate ntp1.ptb.de # sets the system time # hwclock --systohc # copies system time to BIOS
Hi Istvan, I reset the time as per your instructions, and have booted the computer several times during the day. So far the computer seems to be presenting time and date ok, in gmt not local time. That is fine with me with all the traveling I do for work, so I will just leave it this way.
Hold on, there might be a problem with that.
What is the output of the command "date" on your system? If it says something like this:
~> date Sat Nov 7 13:01:43 CET 2009
If the letters there say some local time (like CET above), but the time is UTC, then you do have a problem. Repeat the procedure taking attention to the --utc or --localtime as I said in my post.
If you still get the wron time after that, make sure your timezone is properly configured in YaST.
- -- Cheers, Carlos E. R.
Hi Carlos, here is the output of "date" Sat Nov 7 19:28:24 EST 2009 The time in yast is set to Eastern Time, yet the time on the computer is displayed in GMT in a 12 hour clock. The current display is 07:32pm, so I add 12 hours to it to get GMT time of 1932 hours gmt. Even though the time is set to eastern time, it is displaying in gmt. I don't know how to set it to right, so --- back to you for evaluation and new instructions. Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mark Misulich pecked at the keyboard and wrote:
On Sat, 2009-11-07 at 13:05 +0100, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Saturday, 2009-11-07 at 04:26 -0500, Mark Misulich wrote:
# rm /etc/adjtime # ntpdate -q ntp1.ptb.de #(or other time server); shows the difference between your computer's time and the real time # ntpdate ntp1.ptb.de # sets the system time # hwclock --systohc # copies system time to BIOS
Hi Istvan, I reset the time as per your instructions, and have booted the computer several times during the day. So far the computer seems to be presenting time and date ok, in gmt not local time. That is fine with me with all the traveling I do for work, so I will just leave it this way. Hold on, there might be a problem with that.
What is the output of the command "date" on your system? If it says something like this:
~> date Sat Nov 7 13:01:43 CET 2009
If the letters there say some local time (like CET above), but the time is UTC, then you do have a problem. Repeat the procedure taking attention to the --utc or --localtime as I said in my post.
If you still get the wron time after that, make sure your timezone is properly configured in YaST.
- -- Cheers, Carlos E. R.
Hi Carlos, here is the output of "date"
Sat Nov 7 19:28:24 EST 2009
The time in yast is set to Eastern Time, yet the time on the computer is displayed in GMT in a 12 hour clock. The current display is 07:32pm, so I add 12 hours to it to get GMT time of 1932 hours gmt.
Even though the time is set to eastern time, it is displaying in gmt. I don't know how to set it to right, so --- back to you for evaluation and new instructions.
Mark
Eastern Standard Time (in the USA) is GMT -5 hours. When it is 1932 GMT it is 1432 EST in the USA. Perhaps this is why you think the time is off. By the way, while under daylight savings time the difference is 4 hours (GMT -4). -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-11-07 at 19:34 -0500, Mark Misulich wrote:
On Sat, 2009-11-07 at 13:05 +0100, Carlos E. R. wrote:
Hi Carlos, here is the output of "date"
Sat Nov 7 19:28:24 EST 2009
The time in yast is set to Eastern Time, yet the time on the computer is displayed in GMT in a 12 hour clock. The current display is 07:32pm, so I add 12 hours to it to get GMT time of 1932 hours gmt.
Even though the time is set to eastern time, it is displaying in gmt. I don't know how to set it to right, so --- back to you for evaluation and new instructions.
verify "/etc/sysconfig/clock": HWCLOCK TIMEZONE DEFAULT_TIMEZONE SYSTOHC Instructions already written. Again, enter the time as root on a terminal using the command "date -s SOMETHING", entering local EST time. More details, in the man page. Alternatively, use "rcntp ntptimeset", provided you have previously defined ntp servers, opened the firewall for ntp, etc. Verify using "date" with no options. ¡¡FORGET KDE/GNOME!! I don't care what time the desktop says it is. Get the time right on the console first. Once that works, the rest falls in place fine. Then, repeat the procedure of deleting adjtime and the rest. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkr2GTQACgkQtTMYHG2NR9VhgQCfdmj1DRYoQEu4R39V3GsKQbOb qZEAn2IZE22n/3/xPLXAsC8tQio38zAE =nDwz -----END PGP SIGNATURE-----
Sat Nov 7 19:28:24 EST 2009
The time in yast is set to Eastern Time, yet the time on the computer is displayed in GMT in a 12 hour clock. The current display is 07:32pm, so I add 12 hours to it to get GMT time of 1932 hours gmt.
Even though the time is set to eastern time, it is displaying in gmt. I don't know how to set it to right, so --- back to you for evaluation and new instructions.
verify "/etc/sysconfig/clock":
HWCLOCK TIMEZONE DEFAULT_TIMEZONE SYSTOHC
Instructions already written.
Again, enter the time as root on a terminal using the command "date -s SOMETHING", entering local EST time. More details, in the man page.
Alternatively, use "rcntp ntptimeset", provided you have previously defined ntp servers, opened the firewall for ntp, etc. Verify using "date" with no options.
¡¡FORGET KDE/GNOME!! I don't care what time the desktop says it is. Get the time right on the console first. Once that works, the rest falls in place fine.
Then, repeat the procedure of deleting adjtime and the rest.
- -- Cheers, Carlos E. R.
Hi Carlos, I played around with the commands this morning and wasn't able to get back to the computer till this evening. It is displaying time correctly now, the bios clock reads time in gmt and the clock on the kicker panel is reading correct eastern time now. I expect it will keep correct time now, thanks for your help. Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2009-11-06 at 10:47 -0500, Mark Misulich wrote:
Hi, a problem has developed on my laptop after some updates to the OS within the last month. It won't stay on time when I shut it down and start it up again.
Each time after starting up the computer I have to reset the time and date. I also uncheck the box where it says update time automatically. But after each startup, the date and time will be off, and the box is rechecked again
Any ideas on how to fix this? I am using OpenSuse 11.1 with kde 3.5.
On a console, as root: To verify: date ; hwclock if the clock is wrong, adjust it using command line "date something" (read the man page). Then, run: rm /etc/adjtime ; hwclock --utc --systohc ; hwclock ; date If your CMOS clock should keep local instead of utc time, remove the "--utc" above. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkr0ejAACgkQtTMYHG2NR9VsgQCfYbo0cErbMNIpXUUu6EiRzNIy JdYAn34ExECAs5xNASVd5Zz4JeRgLsY3 =JoYa -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Anton Aylward
-
Carlos E. R.
-
ianseeks
-
Istvan Gabor
-
Ken Schneider - openSUSE
-
Mark Misulich
-
Masaru Nomiya