Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
clock drift - time is incorrect
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  

Problems with clock drift?
Never.
12%
 12%  [ 2 ]
Yes, I still have them.
43%
 43%  [ 7 ]
Yes, it still drifts but I recalibrate w/ ntp.
25%
 25%  [ 4 ]
Yes, I fixed adjtime and it's good now.
18%
 18%  [ 3 ]
Total Votes : 16

Author Message
meekrob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2002
Posts: 81
Location: Tempe, AZ USA

PostPosted: Thu Jul 18, 2002 10:36 pm    Post subject: clock drift - time is incorrect Reply with quote

I was experiencing clock drift, every so often. I know I see a lot of posts about this so I wanted to share my solution.

If you are experiencing random clock drift set your hardware clock like this:

Code:
hwclock --set --date 07/18/2002
hwclock --set --date 15:22:00


Check the time:

Code:
hwclock


and now delete adjtime which is probably set too high:

Code:
rm /etc/adjtime


Now sync your system time with your hardware clock (this also recreates adjtime):

Code:
hwclock --hctosys


Cool. Check your system time:

Code:
date


So far it seems to be working, if I could be doing this a better way someone please point it out as I will be adding this to the howto and a warning in the install doc. :!:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum