syncing FreeBSD server with NTP is simpler than you may think

After setting up a config file for the NTP on every server, i figured out that a stock settings just work. so adding: ntpd_enable="YES" ntpdate_enable="YES" to the /etc/rc.conf just does the trick (and starting services if not rebooting the server). After some moments of running the ntp client you can check it with: # ntpq -c peers remote refid st t when poll reach delay offset jitter ============================================================================== *ntp2.Housing.Be 128.32.206.55 2 u 16 64 377 189.371 -14.785 5.513 mighty.poclabs. 169.229.70.64 3 u 28 64 377 132.913 -14.411 5.034 +vps1.cobryce.co 64.235.98.66 3 u 16 64 377 180.600 -22.410 5.258 where servers marked with * are the selected server and + are the candidates for ntp sync. ...

March 25, 2011 · 1 min