<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Ntp on Simon Žekar — unix, communications, stupidities</title><link>https://simon.zekar.com/tags/ntp/</link><description>Recent content in Ntp on Simon Žekar — unix, communications, stupidities</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 25 Mar 2011 22:55:24 +0000</lastBuildDate><atom:link href="https://simon.zekar.com/tags/ntp/index.xml" rel="self" type="application/rss+xml"/><item><title>syncing FreeBSD server with NTP is simpler than you may think</title><link>https://simon.zekar.com/2011/03/25/syncing-freebsd-server-with-the-ntp-clock/</link><pubDate>Fri, 25 Mar 2011 22:55:24 +0000</pubDate><guid>https://simon.zekar.com/2011/03/25/syncing-freebsd-server-with-the-ntp-clock/</guid><description>&lt;p>After setting up a config file for the &lt;a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ntp.html">NTP on every server&lt;/a>, i figured out that a stock settings just work.&lt;/p>
&lt;p>so adding:&lt;/p>
&lt;pre tabindex="0">&lt;code>ntpd_enable=&amp;#34;YES&amp;#34;
ntpdate_enable=&amp;#34;YES&amp;#34;
&lt;/code>&lt;/pre>&lt;p>to the /etc/rc.conf just does the trick (and starting services if not rebooting the server).&lt;/p>
&lt;p>After some moments of running the ntp client you can check it with:&lt;/p>
&lt;pre tabindex="0">&lt;code># 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
&lt;/code>&lt;/pre>&lt;p>where servers marked with * are the selected server and + are the candidates for ntp sync.&lt;/p></description></item></channel></rss>