Ubuntu 11.04
Sponsored Link

NTP Server2011/04/29

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


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


# line 19: make it comment

#
server 0.ubuntu.pool.ntp.org
#
server 1.ubuntu.pool.ntp.org
#
server 2.ubuntu.pool.ntp.org
#
server 3.ubuntu.pool.ntp.org
#
server ntp.ubuntu.com
# 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
[ OK ]

* Starting NTP server ntpd
[ OK ]


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