View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Mar 01, 2005 3:17 pm 
Offline
Joined: Tue Jul 13, 2004 8:18 am
Posts: 11
Synchronizing your KnoppMyth V5A10 system clock with an NTP time server

* apt-get update
* apt-get install ntp-server
* Verify /etc/ntp.conf

server pool.ntp.org

* To start NTPD immediately

/etc/init.d/ntp-server start

* To start NTPD on boot

update-rc.d ntp-server defaults

rp05


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 3:57 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
The wiki page recently changed and refers to "ntpdate" not "ntp-server" for R5Ax. Is one preferable over the other? Was there an error?

I'd like to implement something that keeps track of and compensates for the drift on my remote frontend, which has developed quite a problem with maintaining accurate time (maybe the HD3000 card?).

My master backend is fine with a once-a-day ntpdate.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 4:14 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
unless it's been changed there is a long writeup on the virtues of ntpdate and ntp on the wiki page.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 4:44 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
That's the one I'm referring to:

http://knoppmythwiki.homelinux.org/inde ... onizeHowTo

It discusses the virtues of time synchronization overall, but not really why one would use ntpdate vs ntpd. (This looks like a more relevant discussion, actually: http://rgrjr.dyndns.org/linux/ntp.html .)

And as I mentioned, the recent edits that discuss changes in R5A10 deal with ntpdate and not ntpd. I'm not sure what the new R5A10 instructions on the wiki page actually do for you, if anything.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 5:04 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
sorry I thought it was on that page, maybe another wiki page or here on the forums some where, but I know I saw a rather longwinded debate about the merits of the two, but it's been a long time.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 11:42 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
OK, I think I've sorted this out and will be updating the wiki page accordingly...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 12:06 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
I think ntpdate is a program that will sync your computer once, as a client of an ntp server. On the other hand, ntpd makes your computer a time server for itself and others. I set up mine with ntpd and then pointed the other computers in my house toward it as the time server, and it keeps all my computers in sync.

Also, I put four instances of pool.ntp.org in my conf file:
Code:
server pool.ntp.org
server pool.ntp.org
server pool.ntp.org
server pool.ntp.org

This gives it four "peer" computers to check time against. It chooses the "best" one as its main peer and checks the others and itself against it.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 2:12 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Hey, is it just me or have others noticed a lot of clock creep/drift with R5A1x?

Ever since upgrading on Sunday I've seen the clock run fast, often as much as 5 minutes in 12 hours! In R4V5 it ran a little slow, say 10 seconds a week, but nothing like this...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 3:39 pm 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
tjc wrote:
Hey, is it just me or have others noticed a lot of clock creep/drift with R5A1x?

Ever since upgrading on Sunday I've seen the clock run fast, often as much as 5 minutes in 12 hours! In R4V5 it ran a little slow, say 10 seconds a week, but nothing like this...


I've read that chrony is a good solution for this problem. It appears to be available via apt-get (and I apt-get'd the source, to take a look at it).

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 3:53 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
I upgraded my backend to R5A10 and haven't noticed any change in its clock accuracy. My Shuttle frontend (R5A10), however, which used to keep perfectly good time, does indeed creep dramatically. I thought it was due to the HD3000 in it, actually.

I've updated the wiki page to discuss why you'd use ntpdate (occasional slight time adjustments) vs ntpd (continual time adjustments compensating for creep). If anyone would like to add chrony to that page and discuss advantages/disadvantages over ntpd, that'd be great.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 10:20 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
ceenvee703 wrote:
My Shuttle frontend (R5A10), however, which used to keep perfectly good time, does indeed creep dramatically.

Aha! I sense a pattern here because my problem box is a Shuttle too... I'm guessing that this is some kind of overcompensation in the kernel...

Edit - Found this:

http://www.ussg.iu.edu/hypermail/linux/kernel/0410.1/1505.html

Sigh...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 1:11 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Adding " noapic noioapic" to the append setting in /etc/lilo.conf, running "lilo" and rebooting, looks like a possible solution. It seems to have halted the clock drift for me so far...


Top
 Profile  
 
 Post subject: ntpd vs. ntpdate
PostPosted: Sun Mar 06, 2005 5:38 am 
Offline
Joined: Tue Jul 13, 2004 8:18 am
Posts: 11
http://www.ntp.org/ntpfaq/NTP-s-config.htm
The NTP FAQ and HOWTO: 6.1. Can't I become happy with ntpdate alone?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 17, 2005 3:53 am 
Offline
Joined: Thu Sep 09, 2004 4:26 am
Posts: 77
Location: Sweden
tjc: Thanx, adding that to lilo.conf fixed my problem also. I got the problem when updating from R4V4.1 to R5A12.

_________________
Frontend/Backend: ShuttleX SN41G2, Xp2000+, 256MB, VGA to 1366x768 LCD TV
Terratec Cinergy 1200 DVB-C
DVD-BURNER: NEC ND3520 16x DL
Seagate Barracuda 7200.7 200GB
--
Frontend/Laptop: Compaq X1000, Pentium M 1.4Ghz, Unbuntu 6.10


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 71 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