Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-03-2003, 10:23 PM
|
#1
|
Member
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182
Rep:
|
Annoying clock problem! (using mandrake 9.1)
For some reason every time I restart my computer my clock sets itself 4 hours back. It keeps doing so with each restart, which is quite annoying. If someone can help me fix this problem, I would greatly appreciate it. Thank you for your time.
-calimer
|
|
|
08-03-2003, 10:35 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
what is the time in your bios?
|
|
|
08-03-2003, 10:47 PM
|
#3
|
Member
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182
Original Poster
Rep:
|
Not sure, how do I check that? Oh by the way, I have a program (emulated TimeSync) which adjusts my time, but I can only use that when I'm online (I have dialup) and having to use it all the time is annoying. I tried to fix things by using $hwclock hctosc or whatever the command is to set the hardware clock to the software clock, but it didn't fix things
-calimer
PS I have a compaq presario 5150, I don't think looking in the bios for stuff is as easy as with other comps.
PPS my windows clock doesn't seem to have any problem, the time is always fine in it
|
|
|
08-03-2003, 10:55 PM
|
#4
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
On the Windoze side your clock gives you the correct time, yes?
The local time?
On the Linux side, use your time configuration program for Mandrake
and make sure that you have not set the local time to be the same
as GMT/UTC.
On RedHat, you need to have in /etc/sysconfig/clock
UTC="false"
As you are using Mandrake, your configuration file maybe in a different
location and possibly different format.
|
|
|
08-03-2003, 11:13 PM
|
#5
|
Member
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182
Original Poster
Rep:
|
I have two clock files, one in /sbin and one where Drozz pointed. Both look exactly the same and have UTC false, although not in quotes. Here is how it reads.
UTC=false
ARC=false
ZONE=America/New_York
Hmm. Thank you for replies.
-calimer
|
|
|
08-03-2003, 11:21 PM
|
#6
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
I do not know aynthing about your emulsync program, but could it be
that it thinks your BIOS clock is set to UTC?
After all EDST = UTC - 4 h
so somebody thinks your BIOS clock is set to UTC, then
subtracts 4h to set your sytem clock to EDST.
|
|
|
08-03-2003, 11:30 PM
|
#7
|
Member
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182
Original Poster
Rep:
|
What exactly is an emulsync program? Something is definitely subtracting 4 from the "base" time that my clock is set at when I start up the computer. I hope I made sense by what I meant when 4 is subtracted each time I restart the comp. So if it's set at 10pm now and I restart, the time when I load up will be 6pm. If I restart again then the clock is set to 4pm. Others must have problems like this on mandrake, especially since I had this problem with my first install on mandrake 9.1. The second time I only used timesync to correct my clock. Then timesysc stopped working for some reason (I think it might actually of been something related to the clock) and so I manually fixed the time using "adjust date and time" and clock hell once again emerged. Hopefully I can get this fixed soon. Thank you all for your help.
-calimer
|
|
|
08-03-2003, 11:44 PM
|
#8
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
"I have a program (emulated TimeSync)"
Sorry, when I typed emulsync I meant the above.
And you have restated what I said above.
You have you BIOS clock set to 20:00h
When you boot up, your something in your system is saying
"Ah, the BIOS says the time is 20:00h,
but that is set to UTC,
and the time zone on this machine is EDST,
so since
EDST = UTC - 4h
I must set the sytem clock to 20:00h - 4 h, namely 16:00h"
So the root of the problem is why your system thinks the BIOS
is set to UTC.
When you fire up drax, does that have a time configuration option?
(I do not know drax, since I do not have a Mandrake system.)
Otherwise use the appropriate Mandrake time configuration program
and check that "BIOS IS UTC" is not checked.
And to repeat my implied question, at which point does the
emulated TimeSync program, whatever that is, first get executed?
Perhaps to enlighten me, you could tell me from where you got this program.
This should be a simple problem to solve, with the symptoms arising from
your time zone EDST = UTC - 4h being so evident.
|
|
|
08-04-2003, 02:01 AM
|
#9
|
Member
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182
Original Poster
Rep:
|
TimeSync is a program that I run with wine once i have linux booted up. It is a program that I used to use on windows since my clock sometimes likes to run a little fast. I don't think drax has a configuration for the clock but I'll try to find what I can. Maybe KDE has one somewhere. Thank you for your help, I really appreciate it.
-calimer
|
|
|
08-04-2003, 04:35 AM
|
#10
|
Member
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 182
Original Poster
Rep:
|
Well, I found a small date program in drax. It doesn't let me do anything except set the date, time, and timezone. When I select the timezone it asks me "is your hardware clock in GMT?" or something like that. I selected yes, although I have no idea what that means. If selecting no is the way to go then let me know. Thank you for your time.
-calimer
|
|
|
08-04-2003, 08:50 AM
|
#11
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
Quote:
"is your hardware clock in GMT?" or something like that. I selected yes,
|
No, no, no! :+)
Sorry.
GMT to all everyday usage is the same as UTC.
UTC is Universal Coordinated Time
GMT is Greenwich Mean Time
If you want to see the precise difference, go to
http://www.ntp.org/ntpfaq/NTP-s-time.htm#AEN963
So you ARE telling your system by doing this that you BIOS time is UTC,
hence the system will substract 4h during the boot up clock setting.
So go back, and set it to
Bios is GMT "NO"
To keep your clock right, you should be using the standard package
ntp. I have just battled with the configuration file for this, and now have my gateway machine synced with an external site, and the other pc on my
home LAN, synced to that machine, and it is working well.
Thus if you want any help in setting ntp up, I have first hand experience.
|
|
|
All times are GMT -5. The time now is 02:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|