[clug] Local NTP server?

Paul Wayper paulway at mabula.net
Mon Dec 22 12:00:37 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Janke wrote:
| On Mon, Dec 22, 2008 at 6:39 PM, Chris Smart <mail at christophersmart.com> wrote:
|> Anyone got some tips on how to set up an NTP server for a local network?
|> I've configured what I think looks right and tcpdump shows the server and
|> client communicating, including the client date, server'd date and offset
|> information - but nothing happens. Running ntpdate-debian [IP] just returns
|> "no available server configuration found" or something along those lines..
|>
|> Any ideas? I just want to have one server which broadcasts the date to all
|> other linux machines on the network.
|
| Suggestion: Dump ntpd and go with openntpd, much much much easier for
| a home network unless you happen to like to deal with the intricacies
| of (the real) ntpd

I don't find the 'old' ntpd to be that much of a problem, myself, but then
I've been getting it to work around the place for nigh on ten years now.

The basic configuration you need is in a couple of lines:

- -8<--------------

server 0.fedora.pool.ntp.org dynamic
server 1.fedora.pool.ntp.org dynamic
server 2.fedora.pool.ntp.org dynamic

server dumont
peer media

- -8<--------------

This tells me that it's going to treat three (randomly selected) machines in
the pool.ntp.org domain and my local machine 'dumont' as servers and my MythTV
machine 'media' as a peer.

Chris, I assume from the fact that you've been watching the network that the
appropriate holes are open in the firewalls on the machine.  Normally NTP
happens via UDP.

Can you put your current configuration somewhere web-accessible so I can have
a look at it?

Have fun,

Paul
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklPgWUACgkQu7W0U8VsXYIjFwCgiC2c6TaJ2HBHSTnnL5vLKYC8
LgcAoM9akszBzYbK4lGRd8hWJv0IZEnq
=t+1/
-----END PGP SIGNATURE-----


More information about the linux mailing list