Sunday, May 11, 2008

NTP pool setup

I use the free ntp pool for access to accurate timing. Edit /etc/ntp.conf and add these lines:

server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org

Restart ntp and then check you have accurate time sync:

ntpq
ntpq> lpeers
remote refid st t when poll reach delay offset jitter
==============================================================================
+ip-72-167-54-20 192.12.19.20 2 u 844 1024 377 88.972 12.657 140.873
*nist.netservice .ACTS. 1 u 263 1024 377 47.284 0.231 164.968
-lashiir.sapros. 74.53.198.146 3 u 833 1024 377 64.212 34.142 111.228
+ntp.LogicX.net 18.103.0.198 2 u 904 1024 377 24.615 -1.935 49.235
ntpq>

No comments: