<?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>Jesse</title>
	<atom:link href="http://www.ui321.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ui321.com</link>
	<description></description>
	<lastBuildDate>Sun, 16 Oct 2011 08:40:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>FreeBSD安装Perl</title>
		<link>http://www.ui321.com/archives/43</link>
		<comments>http://www.ui321.com/archives/43#comments</comments>
		<pubDate>Sun, 16 Oct 2011 08:39:23 +0000</pubDate>
		<dc:creator>jesse</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.ui321.com/?p=43</guid>
		<description><![CDATA[#fetch http://www.perl.com/CPAN/src/stable.tar.gz # tar zxvf stable.tar.gz # cd perl-5.12.1 # sh Configure -de # make # make install # reboot [下载] pcre-8.12.tar]]></description>
			<content:encoded><![CDATA[

<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1"><span class="co0">#fetch http://www.perl.com/CPAN/src/stable.tar.gz</span>
<span class="co0"># tar zxvf stable.tar.gz</span>
<span class="co0"># cd perl-5.12.1</span>
<span class="co0"># sh Configure -de</span>
<span class="co0"># make</span>
<span class="co0"># make install</span>
<span class="co0"># reboot</span></pre></div></div></div></div></div></div></div>


<p>
[下载]<br />
<a href="http://www.ui321.com/wp-content/uploads/2011/10/pcre-8.12.tar.gz">pcre-8.12.tar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ui321.com/archives/43/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freebsd安装openssl</title>
		<link>http://www.ui321.com/archives/36</link>
		<comments>http://www.ui321.com/archives/36#comments</comments>
		<pubDate>Sun, 16 Oct 2011 08:30:56 +0000</pubDate>
		<dc:creator>jesse</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.ui321.com/?p=36</guid>
		<description><![CDATA[Freebsd安装openssl [下载]openssl-1.0.0e.tar # tar zxvf openssl-1.0.0e.tar.gz # cd ./openssl-1.0.0e # ./config # make clean # make # make install 安装后路径: /usr/local/ssl/ &#160;]]></description>
			<content:encoded><![CDATA[<p>Freebsd安装openssl</p>
<p><a href="http://www.ui321.com/wp-content/uploads/2011/10/openssl-1.0.0e.tar.gz">[下载]openssl-1.0.0e.tar</a></p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1"><span class="co0"># tar zxvf openssl-1.0.0e.tar.gz</span>
<span class="co0"># cd ./openssl-1.0.0e</span>
<span class="co0"># ./config</span>
<span class="co0"># make clean</span>
<span class="co0"># make</span>
<span class="co0"># make install</span></pre></div></div></div></div></div></div></div>


<p>安装后路径: /usr/local/ssl/</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ui321.com/archives/36/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHCP服务器自动调用外部脚本</title>
		<link>http://www.ui321.com/archives/25</link>
		<comments>http://www.ui321.com/archives/25#comments</comments>
		<pubDate>Sun, 16 Oct 2011 08:17:59 +0000</pubDate>
		<dc:creator>jesse</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.ui321.com/?p=25</guid>
		<description><![CDATA[DHCP服务器当有新客户端连接时,自动调用外部脚本的方法: subnet 172.16.0.0 netmask 255.255.255.0 &#123; &#160; range 172.16.0.10 172.16.0.200; option routers 172.16.0.1; &#160; on commit &#123; set clip = binary-to-ascii&#40;10, 8, &#34;.&#34;, leased-address&#41;; set clhw = binary-to-ascii&#40;16, 8, &#34;:&#34;, substring&#40;hardware, 1, 6&#41;&#41;; execute&#40;&#34;/server/shell/newip&#34;, clip , clhw , 'aaa' , &#8230;<p class="read-more"><a href="http://www.ui321.com/archives/25">继续阅读 &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>DHCP服务器当有新客户端连接时,自动调用外部脚本的方法:</p>
<div>
<div>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1">subnet 172.16.0.0 netmask 255.255.255.0 <span class="br0">&#123;</span>
&nbsp;
	range 172.16.0.10 172.16.0.200;
	option routers 172.16.0.1;
&nbsp;
        on commit <span class="br0">&#123;</span>
                <span class="kw1">set</span> clip = binary-to-ascii<span class="br0">&#40;</span><span class="nu0">10</span>, <span class="nu0">8</span>, <span class="st0">&quot;.&quot;</span>, leased-address<span class="br0">&#41;</span>;
		<span class="kw1">set</span> clhw = binary-to-ascii<span class="br0">&#40;</span><span class="nu0">16</span>, <span class="nu0">8</span>, <span class="st0">&quot;:&quot;</span>, substring<span class="br0">&#40;</span>hardware, <span class="nu0">1</span>, <span class="nu0">6</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;
                execute<span class="br0">&#40;</span><span class="st0">&quot;/server/shell/newip&quot;</span>, clip , clhw , <span class="st_h">'aaa'</span> , <span class="st_h">'bbbb'</span><span class="br0">&#41;</span>;
        <span class="br0">&#125;</span>
&nbsp;
<span class="br0">&#125;</span></pre></div></div></div></div></div></div></div>


</div>
<div>&nbsp;</div>
<div>clip: 客户端IP</div>
<div>clhw:客户端mac</div>
<div>后面的是其他参数</div>
<div>参数将作为shell的参数传入脚本/server/shell/newip</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ui321.com/archives/25/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

