Comments
 
posted on June 18th 2014, at 11:53
by lunarg

The quick and dirty way to set up an NTP server on Debian Linux for your network.

This has been tested using Debian 7.0 "Wheezy".

1. Install NTP server:

apt-get install ntp

2. Edit /etc/ntp.conf: add the networks that are allowed to sync with your time server like so (Adjust parameters accordingly.):

restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap

3. Restart the NTP service:

/etc/init.d/ntp restart

4. Set your device/computer/server to use your NTP server

Add a new comment
 
Your name:
Your e-mail:
Your comment:
 
Basic BBcode is supported.
Captcha:
Type the letters and numbers as shown.
/get/captcha/1738756799
Not readable? Get another.
 
 
 
 
« February 2025»
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
232425262728
 
Links
 
Quote
« Debating Windows vs. Linux vs. Mac is pointless: they all have their merits and flaws, and it ultimately comes to down to personal preference. »
Me