<?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>phirebird &#187; FreeBSD</title>
	<atom:link href="http://www.phirebird.net/category/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phirebird.net</link>
	<description>Yet Another IT &#039;How-To&#039; Site</description>
	<lastBuildDate>Wed, 29 Dec 2010 11:37:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Schedule a job under Linux using cron</title>
		<link>http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/</link>
		<comments>http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 15:07:50 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[crontab]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=220</guid>
		<description><![CDATA[My last post was for a backup script that tar&#8217;ed up an entire Linux box (with the exception of some useless directories) and then uploaded it to an FTP server. Useful stuff, but a pain if you have to run it yourself manually every day! Enter, cron. Cron is the daemon that executes commands according [...]]]></description>
			<content:encoded><![CDATA[<p>My last post was for a <a href="http://www.phirebird.net/2010/10/backup-a-linux-box-through-ftp-push-and-tar/">backup script that tar&#8217;ed up an entire Linux box</a> (with the exception of some useless directories) and then uploaded it to an FTP server. Useful stuff, but a pain if you have to run it yourself manually every day! Enter, cron.</p>
<p>Cron is the daemon that executes commands according to a set schedule, and crontab is the utility used to manipulate it. To add a job, login as root and issue the command <i>crontab -e</i>. You&#8217;ll be presented with an editor for you to add the new job. The format the new line will need to format is as follows:</p>
<blockquote><pre>
* * * * * command
- - - - -
| | | | |
| | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
| | | ------- Month (1 - 12)
| | --------- Day of month (1 - 31)
| ----------- Hour (0 - 23)
------------- Minute (0 - 59)</pre>
</blockquote>
<p>So, if we wanted our backup script (located at /back/dobackup.sh) to run at 10pm every night, you&#8217;d insert:</p>
<blockquote><p>0 22 * * * /back/dobackup.sh</p></blockquote>
<p>Save and exit (as you&#8217;re in vi, that&#8217;s the key sequence: <em>escape : w q enter</em>), and it&#8217;ll be added to your crontab. To check, issue: <i>crontab -l</i></p>
<p>&nbsp;</p>
<p>Did you find this hint useful? Or are you wondering how to learn more? Well, here&#8217;s a few books that I&#8217;ve found useful over the years:</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.com/gp/product/047025128X?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51ghmsGWY4L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Linux Command Line and Shell Scripting Bible</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.com/gp/product/007149247X?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/418-wCdBzpL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Linux: The Complete Reference, Sixth Edition</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.com/gp/product/0596006284?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/512K0225XZL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Linux Pocket Guide &#8211; Essential Commands</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.com/gp/product/0470275359?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51DB-xEY2eL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Linux All-in-one Desk Reference</a></td>
</tr>
</table>
<p>&nbsp;<br />
<br />&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/&amp;n=Schedule+a+job+under+Linux+using+cron&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/&amp;title=Schedule+a+job+under+Linux+using+cron" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/&amp;title=Schedule+a+job+under+Linux+using+cron" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/&amp;t=Schedule+a+job+under+Linux+using+cron" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/&amp;title=Schedule+a+job+under+Linux+using+cron" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/&amp;title=Schedule+a+job+under+Linux+using+cron" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Schedule+a+job+under+Linux+using+cron+-+http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2010/10/schedule-a-job-under-linux-using-cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Citrix client under FreeBSD</title>
		<link>http://www.phirebird.net/2009/05/citrix-client-under-freebsd/</link>
		<comments>http://www.phirebird.net/2009/05/citrix-client-under-freebsd/#comments</comments>
		<pubDate>Sat, 16 May 2009 12:47:52 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[client]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=43</guid>
		<description><![CDATA[After much faffing around, I&#8217;ve managed to get the Citrix client working under FreeBSD 7. Simply downloading the most current release of the Linux ICA client doesn&#8217;t seem seem to work anymore &#8211; so you will need an older version of linuxx86 client. Citrix don&#8217;t seem to carry old versions, so I&#8217;ve uploaded them for your [...]]]></description>
			<content:encoded><![CDATA[<p>After much faffing around, I&#8217;ve managed to get the Citrix client working under FreeBSD 7. Simply downloading the most current release of the Linux ICA client doesn&#8217;t seem seem to work anymore &#8211; so you <em>will</em> need an older version of linuxx86 client. Citrix don&#8217;t seem to carry old versions, so I&#8217;ve uploaded them for your convenience here:</p>
<p style="padding-left: 30px;"><a href="http://www.phirebird.net/files/linuxx86-v7.00.tar.gz" target="_blank">http://www.phirebird.net/files/linuxx86-v7.00.tar.gz</a><br />
or<br />
<a href="http://www.phirebird.net/files/linuxx86-v10.tar.gz" target="_blank">http://www.phirebird.net/files/linuxx86-v10.tar.gz</a></p>
<p>Usual rules apply &#8211; I won&#8217;t be held responsible through any misuse of these, they&#8217;re provided as is with no support, etc given or implied.</p>
<p>Right, first you&#8217;ll want to enable Linux binary support (lang/linux_base). Adding <em>linux_load=&#8221;YES&#8221;</em> to your <em>/boot/loader.conf</em> will ensure that you have support next time you boot. As for the installation of the client:</p>
<ol>
<li>Save the client (above) into an empty directory and cd to it.</li>
<li>gzip -d linuxx86.tar.gz      (or whatever you&#8217;ve called it)</li>
<li>tar -xvf linuxx86.tar</li>
<li>cp /usr/bin/true /bin/true</li>
<li>cp /usr/bin/fale /bin/false</li>
<li>./setupwfc</li>
</ol>
<p>After running through the installation (pretty self explanitory), if everthing&#8217;s ok, you should now have the Citrix client located in /usr/lib/ICAClient/. CD to this location and run ./wfcmgr</p>
<p>&nbsp;</p>
<p>Did you find this hint useful? Are you looking to learn more? Well, here&#8217;s a few books that I&#8217;ve found useful &#8211; have a goosie!</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/1593271514?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51lcrjsVnnL._SL100.jpg" border="0"><br />
Absolute FreeBSD: The Complete Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0672324563?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41ZNFMN301L._SL100.jpg" border="0"><br />
FreeBSD unleashed</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0201702452?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51ARDDYDAVL._SL100.jpg" border="0"><br />
Design and Implementation of FreeBSD</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0979034221?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41ggxOfBxlL._SL100.jpg" border="0"><br />
The Best of FreeBSD Basics</a></td>
</tr>
</table>
<p>&nbsp;<br />
<br />&nbsp;</p>
<p><span style="text-decoration: underline;">EDIT 17th June 2009:</span> I&#8217;ve just noticed that Thomas Abthorpe will be committing net/citrix_xenapp (v11) to the FreeBSD ports collection. Requires a bit of tweaking, but you can read up on it at his page here:</p>
<blockquote><p><a href="http://wiki.freebsd.org/ThomasAbthorpe/CitrixOnFreeBSD/">http://wiki.freebsd.org/ThomasAbthorpe/CitrixOnFreeBSD/</a></p></blockquote>
<p>Thanks Thomas!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.phirebird.net/2009/05/citrix-client-under-freebsd/&amp;n=Citrix+client+under+FreeBSD&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.phirebird.net/2009/05/citrix-client-under-freebsd/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.phirebird.net/2009/05/citrix-client-under-freebsd/&amp;title=Citrix+client+under+FreeBSD" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.phirebird.net/2009/05/citrix-client-under-freebsd/&amp;title=Citrix+client+under+FreeBSD" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.phirebird.net/2009/05/citrix-client-under-freebsd/&amp;t=Citrix+client+under+FreeBSD" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.phirebird.net/2009/05/citrix-client-under-freebsd/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.phirebird.net/2009/05/citrix-client-under-freebsd/&amp;title=Citrix+client+under+FreeBSD" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.phirebird.net/2009/05/citrix-client-under-freebsd/&amp;title=Citrix+client+under+FreeBSD" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.phirebird.net/2009/05/citrix-client-under-freebsd/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Citrix+client+under+FreeBSD+-+http://www.phirebird.net/2009/05/citrix-client-under-freebsd/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/05/citrix-client-under-freebsd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wireless configuration under FreeBSD 7 wpi0</title>
		<link>http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/</link>
		<comments>http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/#comments</comments>
		<pubDate>Sat, 16 May 2009 11:48:58 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[3945abg]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wpi0]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=38</guid>
		<description><![CDATA[This is something that I keep coming back to and Googling for. After pieceing all the bits of information together last time, I thought I&#8217;d share what I&#8217;ve found. Using these modifications, I&#8217;ve successfully configured an Intel PRO/Wireless 3945ABG network interface in my IBM ThinkPad R60 to automatically associate with a wireless network on startup [...]]]></description>
			<content:encoded><![CDATA[<p>This is something that I keep coming back to and Googling for. After pieceing all the bits of information together last time, I thought I&#8217;d share what I&#8217;ve found. Using these modifications, I&#8217;ve successfully configured an Intel PRO/Wireless 3945ABG network interface in my IBM ThinkPad R60 to automatically associate with a wireless network on startup (via WPA authentication) and grab an IP address through DHCP. With slight modifications, you should be able to get PRO 2100/2200 working.</p>
<p>First off, you want to make sure that your wireless interface is picked up and the necessary kernel modules are loaded before anything. So, after making sure that you&#8217;ve read the Intel WPI license agreement, edit /boot/loader.conf and add:</p>
<blockquote><p>if_wpi_load=&#8221;YES&#8221;<br />
wlan_load=&#8221;YES&#8221;<br />
wlan_amrr_load=&#8221;YES&#8221;<br />
legal.intel_wpi.license_ack=1<br />
wpifw_load=&#8221;YES&#8221;</p></blockquote>
<p>Next, create yourself the file that contains your wireless config &#8211; /etc/wpa_supplicant.conf</p>
<blockquote><p>network={<br />
ssid=&#8221;YOURWIRESSLESSNAME&#8221;<br />
psk=&#8221;YOURWIRELESSKEY&#8221;<br />
}</p></blockquote>
<p>Finally, you want to edit /etc/rc.conf to make sure that you&#8217;re device is configured and grabs an IP on startup. Add this line:</p>
<blockquote><p>ifconfig_wpi0=&#8221;WPA DHCP&#8221;</p></blockquote>
<p>You should be done! Time to reboot and see! If not, try first a quick &#8216;ifconfig&#8217; to see if your interface has been detected (should be wpi0):</p>
<blockquote><p>wpi0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500<br />
ether 00:13:02:6b:a9:03<br />
inet <span style="color: #ff0000;">192.168.0.103</span> netmask 0xffffff00 broadcast 192.168.0.255<br />
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)<br />
status: <span style="color: #ff0000;">associated</span><br />
ssid &lt;YOURSSIDHERE&gt; channel 11 (2462 Mhz 11g) bssid 00:18:f8:33:f5:1f<br />
authmode WPA2/802.11i privacy ON deftxkey UNDEF TKIP 2:128-bit<br />
TKIP 3:128-bit txpower 50 bmiss 7 scanvalid 60 protmode CTS<br />
roaming MANUAL</p></blockquote>
<p>Things to check for &#8211; an IP address and if it&#8217;s associated (or not!). If you&#8217;re not even seeing the wpi0 interface, check your /boot/loader.conf is correct.</p>
<p>If the interface is there, but not associated &#8211; check /etc/wpa_supplicant.conf (and /etc/rc.conf). Chances are though that your wireless configuration is wrong. Make sure you&#8217;ve spelt your SSID correctly and that your key is also right (case sensitive &#8211; remember!)</p>
<p>If you&#8217;re associated, but aren&#8217;t getting an IP address &#8211; first make sure that you&#8217;re key is correct, that rc.conf is trying to get you an IP and that (duh) a DHCP server is in operation on your network!</p>
<p>&nbsp;</p>
<p>Did you find this hint useful? Are you looking to learn more? Well, here&#8217;s a few books that I&#8217;ve found useful &#8211; have a goosie!</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/1593271514?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51lcrjsVnnL._SL100.jpg" border="0"><br />
Absolute FreeBSD: The Complete Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0672324563?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41ZNFMN301L._SL100.jpg" border="0"><br />
FreeBSD unleashed</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0201702452?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51ARDDYDAVL._SL100.jpg" border="0"><br />
Design and Implementation of FreeBSD</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0979034221?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41ggxOfBxlL._SL100.jpg" border="0"><br />
The Best of FreeBSD Basics</a></td>
</tr>
</table>
<p>&nbsp;<br />
<br />&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/&amp;n=Wireless+configuration+under+FreeBSD+7+wpi0&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/&amp;title=Wireless+configuration+under+FreeBSD+7+wpi0" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/&amp;title=Wireless+configuration+under+FreeBSD+7+wpi0" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/&amp;t=Wireless+configuration+under+FreeBSD+7+wpi0" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/&amp;title=Wireless+configuration+under+FreeBSD+7+wpi0" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/&amp;title=Wireless+configuration+under+FreeBSD+7+wpi0" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Wireless+configuration+under+FreeBSD+7+wpi0+-+http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/05/wireless-configuration-under-freebsd-7-wpi0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling SSH under FreeBSD</title>
		<link>http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/</link>
		<comments>http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/#comments</comments>
		<pubDate>Sat, 16 May 2009 08:11:41 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshd]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=14</guid>
		<description><![CDATA[Anyone that&#8217;s diddled around with SSH under FreeBSD will be all too familiar with this error message when trying to start the SSH daemon directly: fbsd1# /usr/sbin/sshd Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available &#8212; exiting. fbsd1# To keep it happy, you could [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone that&#8217;s diddled around with SSH under FreeBSD will be all too familiar with this error message when trying to start the SSH daemon directly:</p>
<blockquote><p>fbsd1# /usr/sbin/sshd<br />
Could not load host key: /etc/ssh/ssh_host_dsa_key<br />
Disabling protocol version 2. Could not load host key<br />
sshd: no hostkeys available &#8212; exiting.<br />
fbsd1#</p></blockquote>
<p>To keep it happy, you <em>could</em> generate /etc/ssh/ssh_host_dsa_key<br />
manually by using ssh_keygen (as you used to in previous FreeBSD releases) - but a much more straight forward way of<br />
enabling it now exists. All you have to do is to edit /etc/rc.conf and tag on this line:</p>
<blockquote><p>sshd_enable=&#8221;YES&#8221;</p></blockquote>
<p>Next time the system starts, it&#8217;ll automatically generate any<br />
necessary keys for you and start accepting SSH requests. If you&#8217;re<br />
of the impatient type and want SSH to start right now, use this:</p>
<blockquote><p>killall sshd<br />
/etc/rc.d/sshd start</p></blockquote>
<p>And that&#8217;s it!</p>
<p>&nbsp;</p>
<p>Did you find this hint useful? Are you looking to learn more? Well, here&#8217;s a few books that I&#8217;ve found useful &#8211; have a goosie!</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/1593271514?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51lcrjsVnnL._SL100.jpg" border="0"><br />
Absolute FreeBSD: The Complete Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0672324563?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41ZNFMN301L._SL100.jpg" border="0"><br />
FreeBSD unleashed</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0201702452?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51ARDDYDAVL._SL100.jpg" border="0"><br />
Design and Implementation of FreeBSD</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0979034221?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41ggxOfBxlL._SL100.jpg" border="0"><br />
The Best of FreeBSD Basics</a></td>
</tr>
</table>
<p>&nbsp;<br />
<br />&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/&amp;n=Enabling+SSH+under+FreeBSD&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/&amp;title=Enabling+SSH+under+FreeBSD" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/&amp;title=Enabling+SSH+under+FreeBSD" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/&amp;t=Enabling+SSH+under+FreeBSD" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/&amp;title=Enabling+SSH+under+FreeBSD" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/&amp;title=Enabling+SSH+under+FreeBSD" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Enabling+SSH+under+FreeBSD+-+http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

