Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-11-2005, 10:09 PM
|
#1
|
Member
Registered: Sep 2005
Posts: 861
Rep:
|
ntpd setup
Can someone help me to setup ntpd? Do i need a static ip for this one? I've browsed the ntp.org, but it's just too complicated for me. Thanks.
|
|
|
10-12-2005, 10:21 AM
|
#3
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
ntp notes
Great link! I hadn't seen it before. ntp.org 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:
http://geodsoft.com/howto/timesync/
http://e2epi.internet2.edu/net-perf-...p-cookbook.pdf
http://66.102.7.104/search?q=cache:G...hl=en&ie=UTF-8
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.
|
|
|
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:
|
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 pool.ntp.org servers and enter 3 lines in your /etc/ntp.conf file like this;
server pool.ntp.org
server pool.ntp.org
server pool.ntp.org
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
|
|
|
10-12-2005, 01:06 PM
|
#5
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Re: ntp notes
Please read NTP Pool Time Servers it is at odds with the /etc/ntp.conf details in the the post above.
|
|
|
All times are GMT -5. The time now is 07:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|