LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-08-2003, 03:45 PM   #1
threedguy
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandriva LE 2005
Posts: 19

Rep: Reputation: 0
Time keeps changing?


This may sound stupid, but for some reason my time keeps changing in linux mandrake. The minutes are always correct, but the hour keeps changing each time i start up my computer. For example, right now it's 3:44 and it shows 8:44. Why does it keep changing? Oh, i'm on mandrake 9.2 rc2 right now.
 
Old 10-08-2003, 04:33 PM   #2
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Rep: Reputation: 30
try making a simlink from /etc/localtime for ex. my timezone is US Central so I did this ln -sf /usr/share/zoneinfo/US/Central /etc/localtime/ to your timezone and if that doesn't work try this I don't know if it works but it solved my problem delete the file /etc/adjtime. The last solution its to install ntp so it gets the time from an internet server and set it in your computer
 
Old 10-08-2003, 04:36 PM   #3
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
when your pc is running it keeps time with the clock cycles of the processor
when you shut it down it uses the hardware clock

if its an old motherboard the clock may well have gone bad
things fail

may be a battery thing

you could have your clock sync to network time but you'd have to be logged on for that
but at least it would be rite when logged on

I have no work around
 
Old 10-08-2003, 05:55 PM   #4
Qwik
LQ Newbie
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
this was happening to me, except it would only do that when i booted into windows, then rebooted into mandrake...
 
Old 10-08-2003, 08:04 PM   #5
Timeturtle
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
If you are dual booting with windows, windows and linux use a different hardware clock sync., so if you boot into windows, it takes over the clock to fit its own usage, and when you go back into llinux, the clock displays what windows changed in the hardware clock (if that makes sense). This is just another windows take-over issue.
 
Old 10-08-2003, 09:05 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
when you're dualbooting with windows, tell linux that the hardware clock saves the time in local time rather than UTC (GMT).

hwclock --localtime --systohc

in mandrake, you can also do this in mandrake control center.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing time ethics Fedora 9 08-02-2005 01:08 PM
Changing System Time rjshirts Linux - Software 4 01-24-2005 03:48 PM
time keeps changing mcd Linux - Newbie 2 08-22-2003 08:12 AM
Changing time zone... tinaa Linux - General 3 07-11-2003 06:07 AM
Time keeps changing eternity1700 Linux - General 2 02-17-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration