Linux - SoftwareThis 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.
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 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
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
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.
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
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.
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.