<?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>BrainDeadProjects.com &#187; WRT-54G</title>
	<atom:link href="http://www.braindeadprojects.com/blog/category/wrt-54g/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.braindeadprojects.com/blog</link>
	<description>A place for low-grade evil.</description>
	<lastBuildDate>Thu, 24 Nov 2011 02:28:59 +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>A New Look for Wireless</title>
		<link>http://www.braindeadprojects.com/blog/rf/a-new-look-for-wireless/</link>
		<comments>http://www.braindeadprojects.com/blog/rf/a-new-look-for-wireless/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 18:35:05 +0000</pubDate>
		<dc:creator>Matthew Gillespie (admin)</dc:creator>
				<category><![CDATA[Engenius]]></category>
		<category><![CDATA[RF]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[WRT-54G]]></category>

		<guid isPermaLink="false">http://www.braindeadprojects.com/blog/?p=405</guid>
		<description><![CDATA[I&#8217;ve done quite a bit in the past few months with the neighborhood wireless project. First off, I&#8217;ve moved everything from the Linksys WRT-54GTM devices to an Engenius EOC-2610. The system Atheros AR2315 based. (More pictures here) The firmware is still OpenWRT kamikazee (I dumped DD-WRT a while ago on the 54G&#8217;s), with a patched [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve done quite a bit in the past few months with the neighborhood wireless project.</p>
<p>First off, I&#8217;ve moved everything from the Linksys WRT-54GTM devices to an <a href="http://www.engeniustech.com/datacom/products/details.aspx?id=246" target="_blank">Engenius EOC-2610</a>. The system Atheros AR2315 based. (More pictures <a href="http://www.braindeadprojects.com/img/Engenius/" target="_blank">here</a>)</p>
<div class="wp-caption alignnone" style="width: 410px"><img title="An Engenious Naked. Totally hot." src="http://www.braindeadprojects.com/img/Engenius/engenius-dsc03164.jpg" alt="" width="400" height="300" /><p class="wp-caption-text">An Engenious Naked. Totally hot.</p></div>
<p>The firmware is still <a href="http://openwrt.org" target="_blank">OpenWRT</a> kamikazee (I dumped DD-WRT a while ago on the 54G&#8217;s), with a patched version of the<a href="http://kokoro.ucsd.edu/nodogsplash/"> NoDogSplash</a> captive portal  (to prevent the graceful exit when a null token is submitted, also to support a &#8220;Magic token&#8221;, since I don&#8217;t truly care about it being the same one issued during the pre-authentication phase).</p>
<p>The only lingering issue relates to my version of the hardware not handling a reboot, which is a known issue apparently related to the kernel&#8217;s <a href="https://forum.openwrt.org/viewtopic.php?id=22626" target="_blank">watchdog driver</a>. There&#8217;s already a patch out there, and I plan on implementing it soon. (At present, an &#8220;init 6&#8243; will simply cause the unit to stop responding &#8211; requiring an actual powercycling) The good news is that I&#8217;ve never had to actually reboot the device for any reason.</p>
<p>Other installed packages include <a href="http://www.ntop.org/nProbe.html" target="_blank">NProbe</a> for Netflow export and  <a href="http://www.net-snmp.org/" target="_blank">SNMP</a> for monitoring/<a href="http://www.netmrg.net" target="_blank">graphing</a> purposes. In all honesty, the build is rather simple but effective. It&#8217;s also waterproof &#8211; the Engenius EOC-2610 is built for outdoor use &#8211; complete with waterproof housing and PoE support (albeit based on the warnings on the PoE injector, I don&#8217;t <em>believe</em> it&#8217;s 802.3a[ft] compatible)</p>
<p>As of this morning, we&#8217;re up to 13 users in the neighborhood. Shortly, I&#8217;ll be lighting up the Eastern portion of the neighborhood, which will provide access to a larger number of users.</p>
<p>Oh, and there&#8217;s a new look to the portal:</p>
<div id="attachment_409" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.braindeadprojects.com/blog/wp-content/midtownwifi-theme2.png"><img class="size-medium wp-image-409" title="midtownwifi-theme2" src="http://www.braindeadprojects.com/blog/wp-content/midtownwifi-theme2-300x228.png" alt="" width="300" height="228" /></a><p class="wp-caption-text">The new Midtown WiFi Theme</p></div>
<p>The new look is a slight modification to the <a href="http://community.elgg.org/pg/plugins/psy_/read/477603/loreahub-theme" target="_blank">Lorea Hub Theme</a>, with additional imagery from <a href="http://www.istockphoto.com" target="_blank">istockphoto.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.braindeadprojects.com/blog/rf/a-new-look-for-wireless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally Saying No to NoCatSplash</title>
		<link>http://www.braindeadprojects.com/blog/what/finally-saying-no-to-nocatsplash/</link>
		<comments>http://www.braindeadprojects.com/blog/what/finally-saying-no-to-nocatsplash/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 17:57:35 +0000</pubDate>
		<dc:creator>Matthew Gillespie (admin)</dc:creator>
				<category><![CDATA[RF]]></category>
		<category><![CDATA[What?!]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[WRT-54G]]></category>

		<guid isPermaLink="false">http://www.braindeadprojects.com/blog/?p=211</guid>
		<description><![CDATA[For the last 6 months or so, I&#8217;ve been running a free wireless access point for my neighborhood. In an effort to get my local community to know each other (and local goings-on), I&#8217;ve back-ended the system using the elgg social networking platform. To use the free wifi, you have to register on the social [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.braindeadprojects.com/blog/wp-content/logo-nocat.png"><img class="aligncenter size-full wp-image-226" title="logo-nocat" src="http://www.braindeadprojects.com/blog/wp-content/logo-nocat.png" alt="" width="144" height="144" /></a></p>
<p>For the last 6 months or so, I&#8217;ve been running a free wireless access point for my neighborhood. In an effort to get my local community to know each other (and local goings-on), I&#8217;ve back-ended the system using the <a href="http://elgg.org/" target="_blank">elgg</a> social networking platform.</p>
<p>To use the free wifi, you have to register on the social site.</p>
<div id="attachment_279" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.braindeadprojects.com/blog/wp-content/midtownwifi.png"><img class="size-medium wp-image-279" title="midtownwifi" src="http://www.braindeadprojects.com/blog/wp-content/midtownwifi-300x228.png" alt="" width="300" height="228" /></a><p class="wp-caption-text">The Captive Portal</p></div>
<p>Uptime however has been a major pain &#8211; for quite some time <a href="http://nocat.net">NoCatSplash</a> has been broken in <a href="http://dd-wrt.com/site/index">DD-WRT</a>. Ever since version 24 (at the very least), it&#8217;s been grouchy &#8211; all of the sudden not working and requiring a reboot (or possibly clearing and resetting the iptables targets and restarting splashd)  to fix. The wiki documents a few <a href="http://www.dd-wrt.com/wiki/index.php/NoCatSplash#Work-Around" target="_blank">workarounds</a>, but I&#8217;ve gotten tired of the overall bugs.</p>
<p>Initially I planned on simply fixing it, but after a little bit of thought,  I decided to give <a href="http://openwrt.org" target="_blank">OpenWRT</a> another look. I&#8217;m sure I could have gotten away with using the mini or micro versions of DD-WRT and adding to it, but last time I used OpenWRT&#8217;s build environment I was really impressed &#8211; so I spent this weekend working with it again.</p>
<p>Building your own image is simple &#8211; using the <a href="http://downloads.openwrt.org/kamikaze/8.09.2/brcm-2.4/OpenWrt-ImageBuilder-brcm-2.4-for-Linux-i686.tar.bz2" target="_blank">ImageBuilder</a> system (I&#8217;m working with WRT-54G&#8217;s)  simply &#8220;make image&#8221; setting the target <strong>PROFILE</strong> and <strong>PACKAGES</strong> via environment variables. This method uses existing binary packages to build a .bin or .trx file for easy installation (via the web interface or mtd command). &#8220;<em>make info</em>&#8221; will give you a long list of profiles, and packages that are readily available are contained in the packages subdirectory.</p>
<p>Recompiling packages is extremely easy &#8211; download the SDK:</p>
<blockquote><p>mkdir ~/devel &amp;&amp; cd ~/devel</p>
<p>wget http://downloads.openwrt.org/kamikaze/8.09.2/brcm-2.4/OpenWrt-SDK-brcm-2.4-for-Linux-i686.tar.bz2</p>
<p>tar xjvpf OpenWrt-SDK-brcm-2.4-for-Linux-i686.tar.bz2</p></blockquote>
<p>If the package already exists, check it out via subversion:</p>
<blockquote><p>cd OpenWrt-SDK-brcm-2.4-for-Linux-i686</p>
<p>svn export svn://svn.openwrt.org/openwrt/packages/net/&lt;packagename&gt;  package/&lt;packagename&gt;</p></blockquote>
<p>And to compile simply execute:</p>
<blockquote><p>make package/&lt;packagename&gt;/compile V=99</p></blockquote>
<p>(On older versions it&#8217;s &#8220;make package/&lt;packagename&gt;<strong>-</strong>compile V=99&#8243;)</p>
<p>After hitting my head against the nocatsplash package&#8217;s failure to build correctly, I finally opted to look at <a href="http://kokoro.ucsd.edu/nodogsplash/" target="_blank">nodogsplash</a>. &#8220;Because it will at least build&#8221; is probably not the best way to choose captive portal software, but it&#8217;s mine.</p>
<p>First thing requiring a fix is a bug that causes nodogsplash to crash when one sends a request to the auth-server without a &#8220;redir&#8221; GET variable being set &#8211; a bug evidenced by:</p>
<blockquote><p>links &#8220;http://192.168.1.1:2050/nodogsplash_auth/?tok=fffffff&#8221;</p></blockquote>
<p>Thankfully the crash is &#8220;gracefully&#8221; handled in safe.c&#8217;s safe_strdup()&#8230;. but it still causes the daemon to crash.</p>
<p>So &#8211; a quick patch, as well as some added &#8220;features&#8221; (including a magic token) and I&#8217;m set. Patches to source can be added to package/&lt;packagename&gt;/patches. Upon make, patches in this directory are first applied.</p>
<p>So instead of waiting around for a fix to NoCatSplash in DD-WRT, I&#8217;m moving on. So far NoDogSplash has proven effective &#8211; although I&#8217;m far from actually migrating to it (the old access point is still running for the time being). In the next few weeks I should have a custom web interface built, as well as <a href="www.pmacct.net/ " target="_blank">pmacctd </a>configured (I am exporting Netflow version 9 data to a collector as a <a href="www.pmacct.net/ " target="_blank">C.Y.A </a>measure), and bandwidth shaping properly enabled.</p>
<p>Custom patches to NoDogSplash are forthcoming.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.braindeadprojects.com/blog/what/finally-saying-no-to-nocatsplash/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.braindeadprojects.com @ 2012-02-06 08:34:41 -->
