View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Apr 08, 2006 5:11 pm 
Offline
Joined: Sat Sep 24, 2005 4:45 pm
Posts: 42
Anyone else seeing this? I've tried a variety of configs in my ntp.conf (including the default) and still ntpd doesn't seem to actually do anything.

interestingly, a check of ntpq> associations shows all servers as rejected.

anyone got a working ntp.conf they want to share?

A

_________________
ASUS A7N8X-E Deluxe
Hauppauge 350/150
ASUS V9520Magic/128MB Geforce FX5200
Maxtor DiamondMax 10 6L200R0 200GB
AMD Athlon XP 2800+ Barton


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 5:16 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
The ntp-server would screw up my clock on my R5A30.2 machine while just issuing a ntp-date server from the console worked like a charm. I finally just made a script that issued the nptdate command (logged it also) and made a cron job to run it every hour.

Does your ntpdate work? If so you may want to do what I did. I can post instructions if needed.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Last edited by graysky on Sun Apr 09, 2006 5:49 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 5:49 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Here's what I did:

su
cd /etc/init.d
touch gettime
nano gettime
make that file say: ntpdate pool.ntp.org >> /var/log/gettime.log
(note you can use whatever server you want)
then save and exit
chmod 775 gettime (makes it an executable)
update-rc.d gettime defaults (that makes it run at boot time)
cp /etc/init.d/gettime /etc/cron.daily (makes it run daily – you can also copy it to cron.hourly to make it run hourly etc.)

You can always look at the log file to see how far your clock is drifting

nano /var/log/gettime.log

Let me know if this helped!

As an aside, I have an nforce2 chipset board and followed badrelish's instructions in this thread.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 3:21 pm 
Offline
Joined: Sat Sep 24, 2005 4:45 pm
Posts: 42
yeah, I thought about that.

I mucked around in the ntp.conf script some more and got it working by stripping out everything but the 'server' lines. Also, my clock had drifted so far that ntpd wouldn't fix it anymore.... Its got a 1000s builtin limit to its adjustments. I think I was already near or at the limit and drifting faster than it could keep up with, so it just gave up.

Anyway, its working now.

thanks

A

_________________
ASUS A7N8X-E Deluxe
Hauppauge 350/150
ASUS V9520Magic/128MB Geforce FX5200
Maxtor DiamondMax 10 6L200R0 200GB
AMD Athlon XP 2800+ Barton


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu