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