<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SurlyJake &#187; ntpdate</title>
	<atom:link href="http://www.surlyjake.com/tag/ntpdate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 15:28:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>FreeBSD time updates with ntpdate and ntpd</title>
		<link>http://www.surlyjake.com/2008/11/freebsd-time-updates-with-ntpdate-and-ntpd/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=freebsd-time-updates-with-ntpdate-and-ntpd</link>
		<comments>http://www.surlyjake.com/2008/11/freebsd-time-updates-with-ntpdate-and-ntpd/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 05:53:33 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[FreeBSD7]]></category>
		<category><![CDATA[ntpd]]></category>
		<category><![CDATA[ntpdate]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=107</guid>
		<description><![CDATA[So FreeBSD&#8217;s time is out of wack. Two options: 1. ntpdate. This is manual. To run a time sync manually, just run ntpdate -b pool.ntp.org You can replace pool.ntp.org with whatever you want. To tell it to run whenever the system is booted, add this to /etc/rc.conf: ntpdate_enable="YES" ntpdate_hosts="[your ntp server]" This works, but if [...]]]></description>
			<content:encoded><![CDATA[<p>So FreeBSD&#8217;s <a href="http://www.surlyjake.com/tag/time/" class="st_tag internal_tag" rel="tag" title="Posts tagged with time">time</a> is out of wack. Two options:</p>
<p>1. <a href="http://www.surlyjake.com/tag/ntpdate/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ntpdate">ntpdate</a>. This is manual. To run a time sync manually, just run</p>
<pre><code>ntpdate -b pool.ntp.org
</code></pre>
<p>You can replace pool.ntp.org with whatever you want. To tell it to run whenever the system is booted, add this to /etc/rc.conf:</p>
<pre><code>ntpdate_enable="YES"
ntpdate_hosts="[your ntp server]"</code></pre>
<p>This works, but if you don&#8217;t reboot often, could be unreliable.</p>
<p>2. ntdp. <a href="http://www.surlyjake.com/tag/ntpd/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ntpd">ntpd</a> just runs all the time and keeps you nsync with internet time servers. You would want to use this for servers that you don&#8217;t reboot all the time. for this:</p>
<p>create an /etc/ntpd.conf file:</p>
<pre><code>server pool.ntp.org
driftfile /etc/ntp.drift
logfile /var/log/ntpd.log</code></pre>
<p>you can start ntpd manually:</p>
<pre><code>ntpd
</code></pre>
<p>and/or add a startup entry for it in /etc/rc.conf:</p>
<pre><code>ntpd_enable="YES"</code></pre>
<p>I recommend setting up both of these on servers. Ntpdate will snap your system to a good point before you begin synchronizing with ntpd. ntpd by itself will take a lot longer to get you synced up.</p>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2008/11/freebsd-time-updates-with-ntpdate-and-ntpd/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2008/11/freebsd-time-updates-with-ntpdate-and-ntpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

