<?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>HauntedShell &#187; Networking</title>
	<atom:link href="http://hauntedshell.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://hauntedshell.com</link>
	<description>Just another Hauntedshell.com weblog</description>
	<lastBuildDate>Sat, 01 May 2010 20:05:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>FreeRADIUS Builds</title>
		<link>http://hauntedshell.com/2010/02/02/freeradius-builds/</link>
		<comments>http://hauntedshell.com/2010/02/02/freeradius-builds/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:57:49 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[freeradius]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.hauntedshell.com/linux/freeradius-builds/</guid>
		<description><![CDATA[Have been helping people out with their FreeRADIUS deployments (usually for hotspots). As a result, I&#8217;ve started a little collection of Freeradius packages that I&#8217;ve built for Ubuntu. FreeRadius is available from the repositories but what you get sometimes is not the latest and greatest. I&#8217;m putting my builds up for download so that someone [...]]]></description>
			<content:encoded><![CDATA[<p>Have been helping people out with their <a href="http://freeradius.org/">FreeRADIUS </a>deployments (usually for hotspots). As a result, I&#8217;ve started a little collection of Freeradius packages that I&#8217;ve built for <a href="http://ubuntu.com">Ubuntu</a>. FreeRadius is available from the repositories but what you get sometimes is not the latest and greatest. I&#8217;m putting my builds up for download so that someone else doesn&#8217;t have to go through the stress of compiling.&nbsp; </p>
<p>These were compiled using version 2.1.6 of Freeradius.</p>
<p><strong>Hardy amd64</strong>
<ul>
<li><a href="//scribefire/files/freeradius/hardy-amd64/freeradius-dbg_2.1.6-0_amd64.deb">freeradius-dbg_2.1.6-0_amd64.deb</a></li>
<p>
<li><a href="//scribefire/files/freeradius/hardy-amd64/freeradius-dialupadmin_2.1.6-0_all.deb">freeradius-dialupadmin_2.1.6-0_all.deb</a></li>
<p>
<li><a href="//scribefire/files/freeradius/hardy-amd64/freeradius-iodbc_2.1.6-0_amd64.deb">freeradius-iodbc_2.1.6-0_amd64.deb</a></li>
<p>
<li><a href="//scribefire/files/freeradius/hardy-amd64/freeradius-krb5_2.1.6-0_amd64.deb">freeradius-krb5_2.1.6-0_amd64.deb</a></li>
<p>
<li><a href="//scribefire/files/freeradius/hardy-amd64/freeradius-ldap_2.1.6-0_amd64.deb">freeradius-ldap_2.1.6-0_amd64.deb</a></li>
<p>
<li><a href="//scribefire/files/freeradius/hardy-amd64/freeradius-mysql_2.1.6-0_amd64.deb">freeradius-mysql_2.1.6-0_amd64.deb</a></li>
<p>
<li><a href="//scribefire/files/freeradius/hardy-amd64/freeradius-postgresql_2.1.6-0_amd64.deb">freeradius-postgresql_2.1.6-0_amd64.deb</a></li>
<p>
<li><a href="//scribefire/files/freeradius/hardy-amd64/freeradius_2.1.6-0_amd64.deb">freeradius_2.1.6-0_amd64.deb</a></li>
</ul>
<p>I&#8217;m getting really sleepy so I&#8217;ll add some more builds tomorrow. Coming soon, instructions on how to build your own packages.</p>
<p><b>Update:</b> i386 builds for Hardy are also up. i386 builds for Karmic<br />
 will follow shortly.</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2010/02/02/freeradius-builds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Does your RADIUS server think &quot;user&quot; = &quot;USER&quot;?</title>
		<link>http://hauntedshell.com/2009/10/20/does-your-radius-server-think-user-user/</link>
		<comments>http://hauntedshell.com/2009/10/20/does-your-radius-server-think-user-user/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 12:45:23 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[freeradius]]></category>
		<category><![CDATA[radius]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.hauntedshell.com/uncategorized/does-your-radius-server-think-user-user/</guid>
		<description><![CDATA[If you happen to manage a hotspot that uses Freeradius with the sql module for authentication, you might want to pay attention. The default queries used by Freeradius sql module are case-insensitive. So if user &#8220;kwame&#8221; is successfully authenticated, another user &#8220;Kwame&#8221; can also successfully autheticate. And so can &#8220;KWAME&#8221;, &#8220;kwamE&#8221;, &#8220;KwaMe&#8221; and so on [...]]]></description>
			<content:encoded><![CDATA[<p>If you happen to manage a hotspot that uses Freeradius with the sql module for authentication, you might want to pay attention. The default queries used by Freeradius sql module are case-insensitive. So if user &#8220;kwame&#8221; is successfully authenticated, another user &#8220;Kwame&#8221; can also successfully autheticate. And so can<span id="more-157"></span> &#8220;KWAME&#8221;, &#8220;kwamE&#8221;, &#8220;KwaMe&#8221; and so on for that matter. I guess you can see where I&#8217;m going with this: if any of your users should catch on to this&#8230; And to think, this hadn&#8217;t crossed my mind till a friend who runs a wireless isp pointed out some strange activity he had noticed in his logs.</p>
<p>You shouldn&#8217;t forget to make a small change to the <em>/etc/freeradius/sql/mysql/dialup.conf(or </em><em>/etc/freeradius/sql.conf</em>) file. Somewhere around line 82 lies the following:</p>
<pre>#######################################################################
        # Use these for case sensitive usernames.
#        authorize_check_query = "SELECT id, username, attribute, value, op \
#         FROM ${authcheck_table} \
#         WHERE username = BINARY '%{SQL-User-Name}' \
#         ORDER BY id"
#        authorize_reply_query = "SELECT id, username, attribute, value, op \
#         FROM ${authreply_table} \
#         WHERE username = BINARY '%{SQL-User-Name}' \
#         ORDER BY id"

        # The default queries are case insensitive. (for compatibility with
        # older versions of FreeRADIUS)
       authorize_check_query = "SELECT id, username, attribute, value, op \
          FROM ${authcheck_table} \
          WHERE username = '%{SQL-User-Name}' \
          ORDER BY id"
       authorize_reply_query = "SELECT id, username, attribute, value, op \
          FROM ${authreply_table} \
          WHERE username = '%{SQL-User-Name}' \
          ORDER BY id"
</pre>
<p>This should be:</p>
<pre>#######################################################################
        # Use these for case sensitive usernames.
        authorize_check_query = "SELECT id, username, attribute, value, op \
         FROM ${authcheck_table} \
         WHERE username = BINARY '%{SQL-User-Name}' \
         ORDER BY id"
        authorize_reply_query = "SELECT id, username, attribute, value, op \
         FROM ${authreply_table} \
         WHERE username = BINARY '%{SQL-User-Name}' \
         ORDER BY id"

        # The default queries are case insensitive. (for compatibility with
        # older versions of FreeRADIUS)
#       authorize_check_query = "SELECT id, username, attribute, value, op \
#          FROM ${authcheck_table} \
#          WHERE username = '%{SQL-User-Name}' \
#          ORDER BY id"
#       authorize_reply_query = "SELECT id, username, attribute, value, op \
#          FROM ${authreply_table} \
#          WHERE username = '%{SQL-User-Name}' \
#          ORDER BY id"
</pre>
<p>And if you apply your attributes per group instead of per user, like I do, then this:</p>
<pre>
        # Use these for case sensitive usernames.
#        group_membership_query = "SELECT groupname \
#        FROM ${usergroup_table} \
#         WHERE username = BINARY '%{SQL-User-Name}' \
#        ORDER BY priority"

       group_membership_query = "SELECT groupname \
          FROM ${usergroup_table} \
          WHERE username = '%{SQL-User-Name}' \
          ORDER BY priority"
</pre>
<p>should become:</p>
<pre>
        # Use these for case sensitive usernames.
        group_membership_query = "SELECT groupname \
        FROM ${usergroup_table} \
         WHERE username = BINARY '%{SQL-User-Name}' \
        ORDER BY priority"

#       group_membership_query = "SELECT groupname \
#          FROM ${usergroup_table} \
#          WHERE username = '%{SQL-User-Name}' \
#          ORDER BY priority"
</pre>
<p>Reload the freeradius server and your usernames should be case sensitive. Now, go and buy yourself a beer in celebration of your valiant victory against the dark forces of computer insecurity.</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2009/10/20/does-your-radius-server-think-user-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lighttd: Put your webserver on a diet</title>
		<link>http://hauntedshell.com/2008/10/13/lighttd-put-your-webserver-on-a-diet/</link>
		<comments>http://hauntedshell.com/2008/10/13/lighttd-put-your-webserver-on-a-diet/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 19:19:13 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[web dev]]></category>

		<guid isPermaLink="false">http://www.hauntedshell.com/?p=88</guid>
		<description><![CDATA[When you&#8217;re working with limited system resources, every bit that can be freed up counts. And if you have do your web development on machine with only 384mb of RAM, you start to be become a bit, um, mercenary about your resources. Running an Apache+PHP+MySQL stack alongside a GNOME desktop (xfce or fluxbox would be [...]]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re working with limited system resources, every bit that can be freed up counts. And if you have do your web development on machine with only 384mb of RAM, you start to be become a bit, um, mercenary about your resources. Running an Apache+PHP+MySQL stack alongside a GNOME desktop (xfce or fluxbox would be better but we all like our little luxuries) , Firefox and a text editor is not my idea of an efficient workspace. When you take the fact that I&#8217;ll be working on a wordpress install with about 19k entries, you start getting a sour taste in your mouth.<span id="more-88"></span></p>
<p>That&#8217;s where <a title="Lighttpd" href="http://www.lighttpd.net/">Lighttpd</a> comes in. It&#8217;s ,according to its site,</p>
<blockquote><p>�designed and optimized for high performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting and many more) lighttpd is the perfect solution for every server that is suffering load problems&#8221;</p></blockquote>
<p>Anyways, what we&#8217;re interested in is the small memory footprint and the effective management of the cpu-load part.</p>
<p><strong>Installation</strong></p>
<p>We need to get and install lighttpd, PHP and MySQL:</p>
<p>Guides available from:<br />
<a title="Lighttpd Installation Instructions" href="http://trac.lighttpd.net/trac/wiki/TutorialInstallation">Instructions from Lighttpd Trac</a><br />
<a title="Lighttpd Installation Instructions" href="http://www.cyberciti.biz/tips/installing-and-configuring-lighttpd-webserver-howto.html">Lighttpd installation instructions from *Nix Craft</a><br />
<a title="Lighttpd Installation Instructions" href="http://joshdick.net/index.php?section=article&amp;name=lighttpd">Lighttpd+PHP+Perl+MySQL installation guide for Windows users</a><br />
<a title="Lighttpd Installation Instructions" href="http://ubuntuforums.org/showthread.php?t=643976">Lighttpd+PHP+MySQL Installation guide for Ubuntu</a><br />
A few notes:</p>
<ul>
<li>The settings for fastcgi suggested on the Lighttpd wiki will load a large number of php-cgi process that you probably will not be using. I&#8217;ll probably suggest you set
<pre>"PHP_FCGI_CHILDREN" =&gt; "2"</pre>
<p>instead of</p>
<pre>"PHP_FCGI_CHILDREN" =&gt; "16"</pre>
<p>You can make adjustments later if you feel the need.</li>
<li>You need to modify the default my.cnf to make things a bit more effcient. You can follow <a title="Low End Box - Reduce MySQl memory usage" href="http://http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/">this guide</a> to get you started.</li>
</ul>
<p>Does it help to use lighttpd instead of apache? Yeah, it does. I&#8217;ve been using it for the last couple of weeks and it&#8217;s been able to handle my requirements without problem. My final opinion? Well, it is not as full featured as apache but if you have a limited memory budget or are just looking for a lean mean web server, you really should take a good look at lighttpd. Now if you don&#8217;t mind, some of us have real work to do and can&#8217;t spend all day reading other people&#8217;s blogs <img src='http://hauntedshell.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2008/10/13/lighttd-put-your-webserver-on-a-diet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>One cable to rule them all: POE for your WRT54G</title>
		<link>http://hauntedshell.com/2008/07/25/one-cable-to-rule-them-all-poe-for-your-wrt54g/</link>
		<comments>http://hauntedshell.com/2008/07/25/one-cable-to-rule-them-all-poe-for-your-wrt54g/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 15:40:20 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Warranty? What warranty?]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linksys wrt54g]]></category>
		<category><![CDATA[poe]]></category>
		<category><![CDATA[power over ethernet]]></category>
		<category><![CDATA[wrt54g]]></category>
		<category><![CDATA[wrt54g hacks]]></category>

		<guid isPermaLink="false">http://www.hauntedshell.com/?p=22</guid>
		<description><![CDATA[Last updates: 21-Jun-2009 Warning: This hack will not just void your warranty. It will drop-kick it to the floor, stomp it in the gonads five or six times, shoot it in the head, douse the body in petrol and set it ablaze THEN spit on the remains for good measure. And that doesn&#8217;t take into [...]]]></description>
			<content:encoded><![CDATA[<p>Last updates: 21-Jun-2009</p>
<p><strong>Warning</strong>: This hack will not just void your warranty. <strong><em>It will drop-kick it to the floor, stomp it in the gonads five or six times, shoot it in the head, douse the body in petrol and set it ablaze THEN spit on the remains for good measure</em>.</strong> And that doesn&#8217;t take into consideration what it could do to you or your equipment . You have been warned. Don&#8217;t try this unless you&#8217;re comfortable with multimeters and soldering irons.<br />
Now, on to the good stuff. Suppose you have a Linksys WRT54G router &amp; antenna that you want to mount somewhere, say on your roof. So, one fine Saturday morining, you grab a few tools and get to work. About 35 minutes into your little project, it hits you: How exactly do you get power for your router? The roof has no power outlets and you need to keep the antenna cable as short as possible to minimize signal losses.<span id="more-22"></span></p>
<p>You start wondering, &#8220;Maybe I should have gotten a Meraki. They come with Power Over Ethernet(POE).&#8221; Then, it hits you, &#8220;Wait! Maybe I could run some power over the ethernet cable&#8230;&#8221; So you do a little scholarly research(a la google) and find a few people who have modified their routers to support POE.<br />
Basically, ye olde ethernete cable has 4 pairs of wires, each pair consisting of a solidily coloured cable and a white-striped cable of the same colour. The usual arrangement(<a href="http://en.wikipedia.org/wiki/TIA/EIA-568-A">TIA/EIA-568-B</a>) for most patch cables is:<br />
<a href="http://www.hauntedshell.com/wp-content/uploads/2008/07/ethcable568b.gif"><img class="aligncenter size-medium wp-image-56" title="Ethernet CAble" src="http://www.hauntedshell.com/wp-content/uploads/2008/07/ethcable568b-300x187.gif" alt="" width="300" height="187" /></a><br />
100BASE-TX makes use of wires 1,2,3 &amp; 6 to transmit and receive data, leaving wires 4,5,7 &amp; 8 for our use.</p>
<p><strong>Update:</strong> I forgot to mention. Once you do this hack, you have to remember that <strong>if you power the router up in the normal manner, power will still be supplied from the power terminals to pin 5 and pin 8 on the WAN port</strong>. Keep this in mind if you&#8217;re connecting the router to other equipment to avoid &#8230;unexpected results. I use a customized cable that has wires 4, 5 ,7 &amp; 8 cut and terminated in the middle of the cable just to be safe</p>
<p>First we need to do is solder a couple of wires, one from pin 5 to the positive terminal on the router&#8217;s board and the other from pin 8 to the negative terminal. This will transfer the power coming in over the cable to the power jack on the board where the router can make use of it.<br />
[singlepic=2,320,240,,center]<br />
<a class="thickbox" href="http://www.hauntedshell.com/wp-content/gallery/poe/DSCN1999.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/poe/thumbs/thumbs_DSCN1999.JPG" alt="          " /></a> <a class="thickbox" href="http://www.hauntedshell.com/wp-content/gallery/poe/DSCN2000.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/poe/thumbs/thumbs_DSCN2000.JPG" alt="          " /></a> <a class="thickbox" href="http://www.hauntedshell.com/wp-content/gallery/poe/DSCN2001.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/poe/thumbs/thumbs_DSCN2001.JPG" alt="          " /></a><br />
This is the only modification that needs to be done on the router itself. However, don&#8217;t pack everything up until you&#8217;ve tested to make sure its working.<br />
Next up will be our injector. Now, there are many ways to feed power into the cable. You can buy a power over ethernet injector, splice the power cable directly in the network cable or build your own injector. I&#8217;d recommend buying a power over ethernet injector; it&#8217;s a more reliable option and you don&#8217;t have to mutilate the poor cables.</p>
<p>But then, if you&#8217;re reading this guide, you probably don&#8217;t have an injector available or are thinking,&#8221;Building my own POE injector is just so much cooler!!&#8221;  In that case, you&#8217;ll need a keystone jack, a spare ethernet cable, and a power brick for the router (It&#8217;s usually better to get a spare of equivalent rating as the original since these instructions will make it &#8230;unwieldy for normal use)</p>
<p>[singlepic=9,320,240,,center]</p>
<p>What you do trim off one end of your ethernet cable and connect wires 1,2,3 and 6 to the jack. These are your data lines.<br />
<a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2106.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2106.JPG" alt="DSCN2106.JPG" /></a><a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2108.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2108.JPG" alt="DSCN2108.JPG" /></a><a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2109.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2109.JPG" alt="DSCN2109.JPG" /></a></p>
<p>Then you take the plug off your power brick and connect the +ve to pin 5 on the jack and the -ve to pin 8. Trim off any unnessary lengths and you have your own power injector.<br />
<a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2112.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2112.JPG" alt="DSCN2112.JPG" /></a><a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2113.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2113.JPG" alt="DSCN2113.JPG" /></a><a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2117.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2117.JPG" alt="DSCN2117.JPG" /></a></p>
<p>Once that&#8217;s done, feel free to call all your friends and gloat over how clever you are.</p>
<p>Router:</p>
<p>Power Injector:</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2008/07/25/one-cable-to-rule-them-all-poe-for-your-wrt54g/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Web Interface for OpenWrt Kamikaze</title>
		<link>http://hauntedshell.com/2007/09/20/web_interface_for_openwrt_kamikaze/</link>
		<comments>http://hauntedshell.com/2007/09/20/web_interface_for_openwrt_kamikaze/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 11:58:41 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[kamikaze]]></category>
		<category><![CDATA[meraki]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://hauntedshell.com/2007/09/20/web_interface_for_openwrt_kamikaze/</guid>
		<description><![CDATA[Warning: This can brick your router. Goes without saying, I will not take responsibility for whatever havoc you wreak. You have been warned. If you use your router for internet access, tt's best to have an alternative method of getting online.  You have been warned!<br />]]></description>
			<content:encoded><![CDATA[<p>Warning: This can brick your router. Goes without saying, I will not take responsibility for whatever havoc you wreak. You have been warned. If you use your router for internet access, tt&#8217;s best to have an alternative method of getting online.  You have been warned!</p>
<p>I have a Meraki mini I&#8217;ve been playing around with. I&#8217;m running OpenWRT Kamikaze 7.06 on it and I love it. It&#8217;s very flexible piece of hardware and comes with an 8mb flash and 32mb of RAM, which is more than enough for the stuff I run on it. The only annoying thing is the lack of a web interface.<span id="more-10"></span> It&#8217;s not that I have problems with using the terminal; it&#8217;s just that, it becomes annoying to switch on my desktop just to attend to a minor detail. Or I&#8217;m downstairs in a friend&#8217;s room and just need to check if my internet connection is alive. A web interface would allow me do all that from a browser as long as I was connected to the network.<br />
Thankfuly there&#8217;s the Webif frontend by <a href="http://x-wrt.org">X-WRT </a>.  From what I&#8217;ve seen so far, it&#8217;s quite good though it&#8217;s still beta.  It does everything I want it to do so I can&#8217;t complain. </p>
<p><b>Installing</b><br />
You first need to install the haserl package, which webif depends on.Telnet or SSH into your router and enter the following:</p>
<blockquote><p>
	ipkg update
</p></blockquote>
<p>
This updates your package list</p>
<blockquote><p>
	ipkg install haserl
</p></blockquote>
<p>
Installs haserl which allows you to embed shell scripts in html.</p>
<blockquote><p>
	ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/7.06/atheros-2.6/webif_latest.ipk
</p></blockquote>
<p>
Download and install webif from the x-wrt.org site since webif is not yet in the kamikaze repository</p>
<p><b>Note: the webif install will reboot your router!!<br />
</b><br />
Once the router is back up, open up a browser of your choice and enter your router&#8217;s ip address. Voila</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2007/09/20/web_interface_for_openwrt_kamikaze/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cantenna Chronicles &#8211; Part 1</title>
		<link>http://hauntedshell.com/2007/09/15/cantenna_chronicles_-_part_1/</link>
		<comments>http://hauntedshell.com/2007/09/15/cantenna_chronicles_-_part_1/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 19:51:23 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[cantenna]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://hauntedshell.com/2007/09/15/cantenna_chronicles_-_part_1/</guid>
		<description><![CDATA[One of the problems I have with living off campus is that of internet access.. There is a wireless hotspot I can connect to but who want's to pay for slow internet access when you can get slightly faster internet access for free. The only hitch: I live so far from c ampus, my received signal levels are just depressing.]]></description>
			<content:encoded><![CDATA[<p>One of the problems I have with living off campus is that of internet access.. There is a wireless hotspot I can connect to but who want&#8217;s to pay for slow internet access when you can get slightly faster internet access for free. The only hitch: I live so far from campus, my received signal levels are just depressing.<br />
<a href="/files/images/site_map_wifi.jpg"><img src="/files/images/site_map_wifi.jpg" alt="Location Map. Yeah, quite a distance" height="260" width="400" /></a><br />
That leaves me with three options:<br />
<span id="more-9"></span></p>
<ul>
<li>Forget about ever getting internet access ( not really much of a choice).</li>
<li>Suscribe to the commercial hotspot.</li>
<li>Find a way to improve my signal level</li>
</ul>
<p>Now the first option is like asking me not to breathe. The second is not such a bad option, I make it a point not to pay for internet access if I can get it for free (umm&#8230;. legally of course. &gt;:) ). So I guess it&#8217;s time to get out my toolkit and start voiding warranties. Now the best way to improve your wireless signal is to get a better antenna. I didn&#8217;t have much in the way of resources so I decided to opt of a &#8216;cantenna&#8217;, which basically is a waveguide antenna (if you need details, you won&#8217;t find them here. Ever heard of google?). Anyways, what I needed was a tin can, a bit of thick copper wire, an N-connector and a pigtail. Now anyone who lives in Ghana knows those last two items are virually impossible to find. So I had to improvise. I had these cables for an indoor antenna I got from a friend. One end has a magnetic base with a female SMA connector and the other end has a male SMA connector. There was also an SMA to RP-TNC connector included as well.</p>
<p align="left">
So I&#8217;ll it a try and see what happens. Updates coming soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2007/09/15/cantenna_chronicles_-_part_1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unbricking Linksys WRT54G v5</title>
		<link>http://hauntedshell.com/2007/09/11/unbricking_linksys_wrt54g_v5/</link>
		<comments>http://hauntedshell.com/2007/09/11/unbricking_linksys_wrt54g_v5/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 02:07:28 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[linksys wrt54g]]></category>
		<category><![CDATA[unbricking]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://hauntedshell.com/2007/09/11/unbricking_linksys_wrt54g_v5/</guid>
		<description><![CDATA[Before I begin: This <b><u>WILL</u></b> void your warranty (if you haven't done that already) and <b>might result in damage to your router</b> or <b>cause you to sustain injury</b>. You have been warned. I <u>will not</u> take any responsibility for any mishaps that may occur as a result of this post.
<p align="left">
&#160;
</p>]]></description>
			<content:encoded><![CDATA[<p align="left">Before I begin: This <strong><span style="text-decoration: underline">WILL</span></strong> void your warranty (if you haven&#8217;t done that already) and <strong>might result in damage to your router</strong> or <strong>cause you to sustain injury</strong>. You have been warned. I <span style="text-decoration: underline">will not</span> take any responsibility for any mishaps that may occur as a result of this post.</p>
<p>My Linksys WRT54G version 5 suddenly stopped working over the weekend. On powering the router, all lights powered on and stayed that way. I had previously been running DD-WRT Micro.I tried holding the reset button for 30 seconds, powering the router, holding for another 30 seconds and then usnig TFTP tool to flash the router but that did not work. My situation was desperate and I was ready for desperate measures.<span id="more-8"></span> So I used this guide : <a href="http://voidmain.is-a-geek.net/redhat/wrt54g_revival.html">http://voidmain.is-a-geek.net/redhat/wrt54g_revival.html</a> So I had to open up the router and short out pins 15-16 on the chip. The problem though was that in the pictures I saw, there were differences in the location of some of the components. So I&#8217;m posting a picture of what my board looks like just in case anyone has something similar to mine:</p>
<p><a href="http://www.hauntedshell.com/wp-content/files/images/router_board.jpg"><img title="WRT54G v5 board" src="http://www.hauntedshell.com/wp-content/files/images/router_board.jpg" border="0" alt="WRT54G v5 board" width="320" height="240" /></a></p>
<p align="left">I won&#8217;t go into the details of the process since they are already  <a href="http://voidmain.is-a-geek.net/redhat/wrt54g_revival.html">documented elsewhere</a>. All I&#8217;ll add is, funnily enough, after shorting out the pins, my router started working properly without me needed to reflash the firmware. Might work differently for you though.</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2007/09/11/unbricking_linksys_wrt54g_v5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
