<?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>A Blog by Tim Bishop &#187; WG311T</title>
	<atom:link href="http://www.bishnet.net/tim/blog/tag/wg311t/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bishnet.net/tim/blog</link>
	<description>"For a moment, nothing happened. Then, after a second or so, nothing continued to happen." -- HHGTTG</description>
	<lastBuildDate>Wed, 02 Nov 2011 15:21:00 +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 with Netgear WG311T</title>
		<link>http://www.bishnet.net/tim/blog/2008/11/08/freebsd-with-netgear-wg311t/</link>
		<comments>http://www.bishnet.net/tim/blog/2008/11/08/freebsd-with-netgear-wg311t/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 13:15:58 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Netgear]]></category>
		<category><![CDATA[WG311T]]></category>
		<category><![CDATA[WPA]]></category>
		<category><![CDATA[WPA2]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=116</guid>
		<description><![CDATA[How to get a Netgear WG311T to work on FreeBSD in a Soekris net5501.


Related posts:<ol><li><a href='http://www.bishnet.net/tim/blog/2008/11/05/a-new-router-soekris-draytek-and-nanobsd/' rel='bookmark' title='Permanent Link: A new router (Soekris, Draytek and NanoBSD)'>A new router (Soekris, Draytek and NanoBSD)</a></li>
<li><a href='http://www.bishnet.net/tim/blog/2008/11/07/eduroam-on-freebsd/' rel='bookmark' title='Permanent Link: Eduroam on FreeBSD'>Eduroam on FreeBSD</a></li>
<li><a href='http://www.bishnet.net/tim/blog/2008/11/10/freebsd-filesystem-snapshots/' rel='bookmark' title='Permanent Link: FreeBSD filesystem snapshots'>FreeBSD filesystem snapshots</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A few days I wrote about my new <a href="http://www.bishnet.net/tim/blog/2008/11/05/a-new-router-soekris-draytek-and-nanobsd/">Soekris net5501 router</a>. In that post I mentioned that the only thing left to sort out was the wireless card. It turned out to be simpler to do than I thought.</p>
<p>I decided to go for a <a href="http://www.netgear.com/Products/Adapters/SuperGWirelessAdapters/WG311T.aspx">Netgear WG311T</a>. It&#8217;s a 802.11b/g PCI card that&#8217;s compatible with FreeBSD through the Atheros chipset and ath driver, and it fits in the <a href="http://www.soekris.com/net5501.htm">net5501</a> just fine. As expected I had to remove the net5501 board from the case to attach the card, but that only involved undoing a handful of screws.</p>
<p>Getting it working on FreeBSD was trivial. I added the following lines to my kernel configuration (they&#8217;re already there in GENERIC, I believe, but I built my own kernel because of the net5501):</p>
<blockquote><p><code>device          wlan<br />
device          wlan_ccmp<br />
device          wlan_scan_ap<br />
device          wlan_scan_sta<br />
device          wlan_xauth<br />
device          ath<br />
device          ath_hal<br />
device          ath_rate_sample</code></p></blockquote>
<p>Then it was a simple case of initialising the card in <code>/etc/rc.conf</code>:</p>
<blockquote><p><code>ifconfig_ath0="inet 1.2.3.4 netmask 255.255.255.0 ssid myssid mode 11g mediaopt hostap"<br />
ipv6_ifconfig_ath0="1:2:3::4 prefixlen 64"</code></p></blockquote>
<p>And I also added <code>ath0</code> to <code>rtadvd_interfaces</code> and <code>dhcpd_interfaces</code>.</p>
<p>With that done the final step was to configure hostapd through <code>/etc/hostapd.conf</code>:</p>
<blockquote><p><code>interface=ath0<br />
debug=1<br />
ctrl_interface=/var/run/hostapd<br />
ctrl_interface_group=wheel<br />
ssid=myssid<br />
country_code=GB<br />
wpa=2<br />
wpa_passphrase=my passphrase<br />
wpa_key_mgmt=WPA-PSK<br />
wpa_pairwise=CCMP</code></p></blockquote>
<p>This enables WPA2 using AES (rather than TKIP).</p>
<p>Connecting clients was no problem. My laptop and my <a href="http://www.slimdevices.com/">squeezeboxes</a> all connected fine.</p>
<p>One concern I had doing this was whether a PCI wireless card would have the same signal strength as a purpose access point. I seem to be getting the same signal power from this new setup as I did from my old 3com 802.11b access point. What does that tell me? I&#8217;m not sure. I would have expected technology to have come on a bit over the years. Maybe it has, but the fact that the card is lower powered balances it out? Regardless, it covers my whole house, so it&#8217;s not an issue.</p>
<p>So now I&#8217;m done. I&#8217;ve switched off my last piece of old equipment. My power draw has dropped significantly, the noise levels have decreased, and I&#8217;m a happy geek with a cupboard full of shiny new stuff. <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.bishnet.net/tim/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.bishnet.net/tim/blog/2008/11/05/a-new-router-soekris-draytek-and-nanobsd/' rel='bookmark' title='Permanent Link: A new router (Soekris, Draytek and NanoBSD)'>A new router (Soekris, Draytek and NanoBSD)</a></li>
<li><a href='http://www.bishnet.net/tim/blog/2008/11/07/eduroam-on-freebsd/' rel='bookmark' title='Permanent Link: Eduroam on FreeBSD'>Eduroam on FreeBSD</a></li>
<li><a href='http://www.bishnet.net/tim/blog/2008/11/10/freebsd-filesystem-snapshots/' rel='bookmark' title='Permanent Link: FreeBSD filesystem snapshots'>FreeBSD filesystem snapshots</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2008/11/08/freebsd-with-netgear-wg311t/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

