Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
what's the time again?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wbsmith89
n00b
n00b


Joined: 21 Mar 2004
Posts: 27

PostPosted: Sun Aug 08, 2004 1:43 am    Post subject: what's the time again? Reply with quote

Something strange is going on with my gentoo server. The system time is always thrown off-wack for a strange reason. The hardware time, however, is always correct. Does anybody know a way to fix this or possibly sync with another server for time?

Thanks in advance.
Back to top
View user's profile Send private message
srlinuxx
l33t
l33t


Joined: 22 Nov 2003
Posts: 627

PostPosted: Sun Aug 08, 2004 5:47 am    Post subject: Reply with quote

yeah, that's a good way. But this is common problem. I think I've figured it out. First make sure the time is correct when you build your kernel. Make sure you compile in support for RTC. Then in the /etc/rc.conf file, there's an option for clock, set it. Then link /etc/timezone to your actual timezone in /usr/share/zoneinfo. Remove your /etc/adjtime before next reboot.

then as an added option you can use ntp-client to check and adjust your time. I have mine set up to run at boot and then once a day as a cron job.

hth,
-s
_________________
--You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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