Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I need a little help, I'm running Mandrake 8.0 and ever since I installed drivers for my soundcard when ever I start the computer in Linux or Windows my clock is exactly 4 hrs slow. I've checked my time zones in both OS's and there o.k. any ideas would be greatfull.
Just thought I'd mention (cos it catches loads people out) that if you use the date command to set your date/time that this only affects the software clock. If you were to reboot then you'd be back where you where before using date. After using date you need to use the hwclock command with some flag (check 'man hwclock' and 'man date' for all the flags/switches) [that I can't remember at the moment] to save the setting to the hardware clock on the system. The hardware clock is normally only referenced at boot time, then a software clock takes over, hence they can be two completely different times!
There is the option to set linux to look for the bios hwclock to use GMT so if this is true and you have your local time in the OS then it sounds like you are off by your local time difference from GMT. If you selected GMT - 8 hours then if your bios time is set to local time you will be off by 8 hours.
In my Unix system this is in a file called time.
If you are dual booting with windows and you want local time you need to have Linux look for the bios to have local time. I don't know where it is at, but someone here should have the info to do that. Or you may try to search the internet for it.
Last edited by DavidPhillips; 07-10-2001 at 07:08 PM.
update, today must be my lucky day when I fired up Windows it started with the correct time. rebooted into Linux and it was off by 4hrs (slow), messed around with 'hwclock' and the time is correct so far, after rebooting twice just to make sure. I think I'm going to keep a eye on this and if it messes up again i'll toss in a new battery. Thanks for everybodies help. I'll be back with more questions as I learn this new OS.
Well It's me again, here's the lowdown so far on this time problem, the culprit is KDE, if I log in to Gnome the time is O.K.,If I reboot into windows it set the BIOS clock 4 hrs ahead. I've tried using the 'hwclock'command but no luck is there a directory I can edit to straighten this out? any help greatly appriciated. Thanks in advance again.
rshaw thats been done and it works until I restart my computer,as long as I stay in linux it will work. There has to be a file some where I can edit because I can go from KDE(with the time off 4hrs) to Gnome and the time will be right on.
i think it's a bug in 'kclockapplet'. there are many bug reports on this at kde.org. have you ran mandrake update to see if the is a bug fix package available?
Not too sure 'bout the other distros, but in SuSE I can change how the clock is configured. I'm guessing that your BIOS clock will be on local time since you'll be using Winders.
Code:
grep "GMT" /etc/rc.config
# Set to "-u" if your system clock is set to GMT, otherwise "".
GMT="-u"
I'm guessing that it's the combination of the above and your timezone settings.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.