ntp server 69.60.124.59
ntp server 98.172.32.171
ntp server 208.113.193.9
ntp server 216.184.20.83
ntp server 66.250.45.2
clock timezone PST -8
Thursday, November 15, 2007
Configuring NTP in Windows
w32tm /config /manualpeerlist:"72.167.54.201, 74.53.76.34, 209.67.219.106, 209.132.176.4, 72.36.170.170, 67.18.208.203, 69.36.240.252, 216.14.98.234, 64.202.112.65, 65.49.42.8,0x8" /syncfromflags:MANUAL
net stop w32time
net start w32time
w32tm /resync
net stop w32time
net start w32time
w32tm /resync
Configuring NTP in *nix or BSD
edit /etc/ntp.conf
---------------------------
server 0.pool.ntp.org # A stratum 1 server at ntp.org
server 1.pool.ntp.org # A stratum 1 server at ntp.org
server time.nist.gov # A stratum 2 server at nist
restrict 0.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 1.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict time.nist.org mask 255.255.255.255 nomodify notrap noquery
restrict 10.10.1.0 mask 255.255.255.0 nomodify notrap
restrict 127.0.0.1
---------------------------
On linux systems that use chkconfig utility:
---------------------------
chkconfig ntpd on
service ntpd start
service ntpd stop
service ntpd restart
---------------------------
On other systems:
---------------------------
pkill -HUP -x ntpd
---------------------------
Verify that ntpd is running:
---------------------------
ps auxwww | grep ntpd
---------------------------
Syncronize
check the date: `date`
stop ntpd: `pkill -x ntpd`
run ntpdate: `ntpdate -u`
note: its possible that this command may need to be run several times.
use the offset to determine acceptable offset values.
start ntpd:
check sync: `ntpq -p`
---------------------------
server 0.pool.ntp.org # A stratum 1 server at ntp.org
server 1.pool.ntp.org # A stratum 1 server at ntp.org
server time.nist.gov # A stratum 2 server at nist
restrict 0.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 1.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict time.nist.org mask 255.255.255.255 nomodify notrap noquery
restrict 10.10.1.0 mask 255.255.255.0 nomodify notrap
restrict 127.0.0.1
---------------------------
On linux systems that use chkconfig utility:
---------------------------
chkconfig ntpd on
service ntpd start
service ntpd stop
service ntpd restart
---------------------------
On other systems:
---------------------------
pkill -HUP -x ntpd
---------------------------
Verify that ntpd is running:
---------------------------
ps auxwww | grep ntpd
---------------------------
Syncronize
check the date: `date`
stop ntpd: `pkill -x ntpd`
run ntpdate: `ntpdate -u
note: its possible that this command may need to be run several times.
use the offset to determine acceptable offset values.
start ntpd:
check sync: `ntpq -p`
Subscribe to:
Posts (Atom)