Debian 6.0
Sponsored Link

NTP Server2011/03/05

  Configure NTP server for time adjustment.
root@dlp:~#
aptitude -y install ntp


root@dlp:~#
vi /etc/ntp.conf


# line 21: make it comment

#
server 0.debian.pool.ntp.org iburst
#
server 1.debian.pool.ntp.org iburst
#
server 2.debian.pool.ntp.org iburst
#
server 3.debian.pool.ntp.org iburst
# change servers for synchronization

server ntp1.jst.mfeed.ad.jp

server ntp2.jst.mfeed.ad.jp

server ntp3.jst.mfeed.ad.jp


# line 48: add the network range you allow to receive requests

restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap


root@dlp:~#
/etc/init.d/ntp restart

Stopping NTP server: ntpd.
Starting NTP server: ntpd.

root@dlp:~#
ntpq -p
# check working

remote
refid
st
t
when
poll
reach
delay
offset
jitter

=====================================================================
ntp1.jst.mfeed.
210.173.160.86
2
u
2
64
1
21.227
-475.55
0.001

ntp2.jst.mfeed.
210.173.160.86
2
u
1
64
1
21.400
-475.53
0.001

ntp3.jst.mfeed.
210.173.160.86
2
u
-
64
1
22.087
-476.08
0.001
Matched Content