Skip to topic | Skip to bottom
Home
Socialtools
login



Socialtools.StandardNtpr1.1 - 03 Jul 2005 - 22:58 - TWikiGuesttopic end

Start of topic | Skip to actions

Network Time Protocol daemon

This keeps the system clock set accurately.

sudo apt-get install ntp-server

You'll be prompted for some servers; you can find a list here.

Then add the following to /etc/ntp.conf, changing the network address and netmask to correspond to your subnet:

# Ignore all NTP connections by default
restrict      default

# servers on our subnet can get the time, but not make
# modifications

restrict 10.0.0.240 mask 255.255.255.248 nomodify

# the local addresses are unrestricted

restrict 10.0.0.243
restrict 127.0.0.1

Restart NTP:

sudo /etc/init.d/ntp restart

In the NTP configuration file on client machines, add your server as a server, and add a line to make your client trust it:

restrict 10.0.0.243

You can find more help on NTP access restrictions here.
to top


You are here: Socialtools > ServerConfigStandard > StandardNtp

to top

Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Open-org? Send feedback