Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-11-2005, 10:09 PM   #1
Registered: Sep 2005
Posts: 850

Rep: Reputation: 30
ntpd setup

Can someone help me to setup ntpd? Do i need a static ip for this one? I've browsed the, but it's just too complicated for me. Thanks.
Old 10-12-2005, 12:21 AM   #2
Registered: Apr 2004
Location: Canada
Distribution: Debian
Posts: 124

Rep: Reputation: 15 This link should help, FYI it was about the first hit on google, your best friend.
Old 10-12-2005, 10:21 AM   #3
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
ntp notes

Great link! I hadn't seen it before. is definitely over-complicated -- they're trying to "tell you how to build a watch, when all you asked for was the correct time". ( sorry, couldn't resist.)

2 other links:

Some notes: (from memory... mine)

The norm for ntp is to check the time every 1024 sec. (17.066... min.) after stabilizing. This is acceptable; however, it is considered abusive to have a non-server check this often, 1 to 3 times per day being recommended (if I remember correctly). The rule of thumb is, as soon as you have 3 boxen needing time sync, you should set up your own server & sync your LAN to that.

Read the
Rules of Engagement! (And follow them.)

If you use the server list, Stratum Two Time Servers (please don't touch the ones in Stratum 1), please pay attention to the "AccessPolicy:" & "Notify?" fields.

Consider the pools: NTP Pool Time Servers; as well as your own ISP, who really ought to be supplying you with a time server.

I used to know some tricks to track down my ISP's server, but it's been so long ago I've forgotten, sorry.

The "Resources" list from the NTP Cookbook above:
FWIW, my 500th post.

Last edited by archtoad6; 10-12-2005 at 10:22 AM.
Old 10-12-2005, 11:26 AM   #4
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Most distro's should do the basic setup for you. i.e. setup the drift file etc and then you need only setup the reference servers in /etc/ntp.conf. The best thing to do is to use the servers and enter 3 lines in your /etc/ntp.conf file like this;


This will allow you to contact different servers in the pool and the software will then select the one that has the best time and is closest to you. Setting it up like this also will prevent you latching on to a server that is bad. I run a server for the pool and use 6 servers in my list
Old 10-12-2005, 01:06 PM   #5
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Re: ntp notes

Please read NTP Pool Time Servers it is at odds with the /etc/ntp.conf details in the the post above.


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
ntpd seitan Linux - Software 1 11-29-2004 05:30 AM
How to setup a NTPD server hanava Linux - General 0 05-05-2004 12:02 PM
ntpd in RH 7.3 melissad Linux - Networking 4 04-28-2003 12:34 PM
ntpd kjelle Linux - Newbie 0 03-05-2002 12:33 PM
ntpd setup/startup Bee Linux - General 0 12-04-2001 05:29 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:55 AM.

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