<?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>MightyOhm &#187; Wifi</title>
	<atom:link href="http://mightyohm.com/blog/tag/wifi/feed/" rel="self" type="application/rss+xml" />
	<link>http://mightyohm.com/blog</link>
	<description>Join the resistance.</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:07:32 +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>Measuring network performance with iperf</title>
		<link>http://mightyohm.com/blog/2010/08/measuring-network-performance-with-iperf/</link>
		<comments>http://mightyohm.com/blog/2010/08/measuring-network-performance-with-iperf/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 16:41:15 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[iperf]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Wifi]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=3016</guid>
		<description><![CDATA[My new place in Austin came with a huge perk for a tech geek like me &#8211; it came pre-wired for ethernet in every room.  (Well, technically not every room is wired.  The laundry room, bathrooms, and garage are not, an understandable oversight.) After installing a new D-Link Gigabit Ethernet Switch, I wanted to check [...]]]></description>
			<content:encoded><![CDATA[<p>My new place in Austin came with a huge perk for a tech geek like me &#8211; it came pre-wired for ethernet in every room.  (Well, technically not <em>every</em> room is wired.  The laundry room, bathrooms, and garage are not, an understandable oversight.)</p>
<p>After installing a new <a href="http://www.anrdoezrs.net/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833127082%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BSwitches-_-D-Link-_-33127082&amp;cjsku=N82E16833127082" target="_top">D-Link Gigabit Ethernet Switch</a><img src="http://www.ftjcfx.com/image-3238164-10440897" border="0" alt="" width="1" height="1" />, I wanted to check the throughput to see if I was actually getting gigabit speeds &#8211; particularly because the house is wired with CAT-5e cable (and not the recommended <a href="http://en.wikipedia.org/wiki/Category_6_cable">CAT-6</a>).</p>
<p>There are many ways to measure network throughput.  In the past I have usually copied a file across the network and used a stopwatch to get a relative sense of speed.  However, due to file sharing protocol overhead I always got disappointing results and never knew maximum capability of my network.</p>
<p>This time, based on the advice of a more network-savvy friend, I decided to use a command-line tool called <a href="http://sourceforge.net/projects/iperf/">iperf</a>.</p>
<p>iperf is a command-line tool to measure network performance.  It is very powerful, but also easy to use for simple tests.  For a more complete overview of what iperf is and what it can be used for, check out <a href="http://openmaniak.com/iperf.php">this tutorial</a> or <a href="http://en.wikipedia.org/wiki/Iperf">the iperf page on Wikipedia</a>.  iperf has a lot of options, and I won&#8217;t cover the majority of them here.  For more usage information, consult the <a href="http://manpages.ubuntu.com/manpages/lucid/en/man1/iperf.1.html">iperf manual</a>.</p>
<p>If you run Debian or Ubuntu (Linux), iperf can be installed by executing</p>
<pre><strong>sudo apt-get install iperf</strong></pre>
<p>I did these tests with OS X on the Mac since both of my Macs have gigabit ethernet ports and my older PCs don&#8217;t.  A package for iperf is conveniently available from <a href="http://www.macports.org/">Macports</a>.  It can be installed via the graphical package manager <a href="http://porticus.alittledrop.com/">Porticus</a> or opening a Terminal window and typing</p>
<pre><strong>sudo port install iperf</strong></pre>
<p>In my case, all I wanted was a quick test of TCP/IP network performance.  This is easy to do, but it requires two computers, a client and a server, both connected to the network under test.  Ideally, there should be no other network traffic during the test, as this will affect the results.</p>
<p>On the first computer, launch the iperf server by executing</p>
<pre><strong>iperf -s</strong></pre>
<p>You should see something like this:</p>
<pre>------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------</pre>
<p>On the 2nd computer (the client), open a Terminal window and run</p>
<pre><strong>iperf -c </strong>&lt;IP address or hostname of server&gt;<strong> -i 1</strong></pre>
<p>Within a few seconds, you should start to see reports coming in on both the client and server terminal windows:</p>
<pre>------------------------------------------------------------
Client connecting to mini.home, TCP port 5001
TCP window size:   129 KByte (default)
------------------------------------------------------------
[  3] local 192.168.24.135 port 65142 connected with 192.168.24.77 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec    110 MBytes    924 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  1.0- 2.0 sec    101 MBytes    850 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  2.0- 3.0 sec    109 MBytes    914 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  3.0- 4.0 sec    100 MBytes    841 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  4.0- 5.0 sec    111 MBytes    927 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  5.0- 6.0 sec    102 MBytes    853 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  6.0- 7.0 sec    110 MBytes    923 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  7.0- 8.0 sec    102 MBytes    858 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  8.0- 9.0 sec  79.4 MBytes    666 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  9.0-10.0 sec  93.6 MBytes    785 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1018 MBytes    854 Mbits/sec</pre>
<p>The last report (for the interval 0.0-10.0 sec) is the average throughput for the entire test.  I&#8217;m more than happy with 854 Mbits (927 Mbits/sec peak!) given my fairly long runs of CAT-5e cable and other machines using the network.   Contrast this with my results over 802.11g wireless:</p>
<pre>[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  24.9 MBytes  20.9 Mbits/sec</pre>
<div>Ouch.</div>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2010/08/measuring-network-performance-with-iperf/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building a Wifi Radio &#8211; Part 3, Hacking the Asus WL-520GU</title>
		<link>http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-3-hacking-the-asus-wl-520gu/</link>
		<comments>http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-3-hacking-the-asus-wl-520gu/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 17:06:55 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[FTDI]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[Streaming Radio]]></category>
		<category><![CDATA[Wifi]]></category>
		<category><![CDATA[wifiradio]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=480</guid>
		<description><![CDATA[This is the third part of an ongoing series about building a low cost, open source streaming internet radio.  If you haven’t already, check out part one and part two for some background about the project. Hacking the Asus WL-520GU Wireless Router: In the last part of this series, I selected the Asus WL-520GU wireless [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is the third part of an ongoing series about building a low cost, open source streaming internet radio.  If you haven’t already, check out <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/">part one</a> and <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-2-choosing-an-embedded-platform/">part two</a> for some background about the project.</em></p>
<h3><strong>Hacking the Asus WL-520GU Wireless Router:</strong></h3>
<p>In the <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-2-choosing-an-embedded-platform/">last part of this series</a>, I selected the <a href="http://www.asus.com/products.aspx?l1=12&amp;l2=43&amp;l3=0&amp;l4=0&amp;model=1671&amp;modelmenu=1">Asus WL-520GU</a> wireless router as a suitable embedded platform for my Wifi Radio project.  I have since posted <a href="http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/">some detailed specs</a> on this impressive low-cost router, revealing it&#8217;s powerful <a href="http://www.broadcom.com/collateral/pb/5354-PB01-R.pdf">Broadcom BCM5354 core</a>, 4MB flash, and 16MB SRAM.  Granted, there are many more powerful routers out there that have USB support, will run Linux in various forms, and have built-in WiFi.  However, the WL-520GU does almost everything we need to build a streaming internet radio and costs under $50 (I have seen them for <a href="http://www.tkqlhce.com/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833320023%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BWireless%2BRouters-_-ASUS-_-33320023&amp;cjsku=N82E16833320023" target="_top">as little as $26 after rebate</a><img src="http://www.awltovhc.com/image-3238164-10440897" border="0" alt="" width="1" height="1" />), which is very impressive indeed.</p>
<p>To convert this router into a powerful <a href="http://en.wikipedia.org/wiki/Embedded_system">embedded system</a>, we need to make a couple modifications.  First, we need to throw out the stock <a href="http://en.wikipedia.org/wiki/Firmware">firmware</a>. It turns out that this router, like many others, <a href="http://mightyohm.com/blog/wp-content/uploads/2008/10/wl520gu-stock-firmware-boot.txt">runs Linux from the factory</a>.  However, because it was designed to be a wireless router and not much else, the stock firmware doesn&#8217;t include a very wide set of features (and certainly was not intended to be accessed by the customer).  Thankfully, there are several open source Linux distributions available that support this router, including my favorite, <a href="http://www.openwrt.org">OpenWrt</a>.  In addition, <a href="http://www.asus.com">Asus</a> has made it fairly straightforward replace the stock firmware with our own custom Linux build which can include all the programs, drivers, and utilities we can cram into 4MB of flash.</p>
<h3><strong>Warning:</strong></h3>
<p>Before we start hacking the router, there are a couple things I should mention:</p>
<ul>
<li><strong>From this point onward, your warranty is toast. </strong> Don&#8217;t even <strong>THINK </strong>about trying to send a modified router back to Asus for warranty service.  In the end it hurts people like us, because Asus will try to make it harder for people to perform the same modifications in future products.</li>
<li><strong>You may inadvertently destroy your router.</strong> If you are not comfortable with the fact that a misstep during the reflash or a stray solder bridge could ruin your hardware, stop now.  Sorry.  If you really take a wrong turn, you could damage your PC as well, but this is extremely unlikely.  <em>If you do somehow damage your router or PC doing these modifications, I assume no responsibility for any damages! </em></li>
</ul>
<p>This tutorial assumes that you have already established the router is basically working by assembling it, plugging it in and checking for it&#8217;s wireless signal and internal webserver.  The user manual does a good job of leading you through this process, but don&#8217;t use the supplied CD &#8211; follow the advanced/manual instructions instead.</p>
<h3><strong>Accessing the internal serial port:</strong></h3>
<p>The <a href="http://www.openwrt.org">OpenWrt</a> install will be easier if we can find a way to access the internal serial port of the router.  The built-in serial port gives us a way to view Linux boot and status messages and get <a href="http://en.wikipedia.org/wiki/Shell_access">shell access</a> as well.  The serial port will also come in handy later when we want to add a user interface to the radio.</p>
<h4><strong>You will need:</strong></h4>
<ul>
<li>A desktop or laptop computer with an open USB and Ethernet port. <em><br />
</em></li>
<li>Your shiny new ASUS WL-520GU wireless router (R1.02)</li>
<li>A strip of <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=116">breakaway 0.1&#8243; male header</a></li>
<li>A <a href="http://www.ftdichip.com/Products/EvaluationKits/TTL-232R-3V3.htm">FTDI-232-3V3</a> USB to serial adapter cable ($20 @ <a href="http://www.adafruit.com/index.php?main_page=product_info&amp;products_id=70&amp;sessid=6248f75fb3ff275fdfa9bacf419ca4e5">Adafruit</a>) or some other means of connecting a 3.3V level serial port to your PC</li>
<li>A small scrap of <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8814">perfboard</a> and a strip of <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=115">female 0.1&#8243; header</a> (not strictly necessary, see below)</li>
</ul>
<p style="padding-left: 30px;">-and-</p>
<ul>
<li>A basic electronics workbench with ample light, a temperature controlled soldering iron, a solder sucker, solderbraid, wirecutters, and pliers.  <a href="http://www.servomagazine.com/">Servo Magazine</a> recently held a contest to see who could build the best electronics workbench for under $100, <a href="http://forum.servomagazine.com/viewtopic.php?t=8370">the results</a> should be helpful for anyone just starting out.  If you&#8217;re uncomfortable soldering, find someone else to help you with this part at your local <a href="http://hackerspaces.org/wiki/Hacker_Spaces">hackerspace</a>.</li>
</ul>
<h4><strong>Step 1 &#8211; Open the router</strong></h4>
<p>Remove the power cord and antenna (the base unscrews).  Flip the router over and look at the bottom.  You should see something like this:</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU" href="http://www.flickr.com/photos/mightyohm/2980057258/"><img class="alignnone" src="http://farm4.static.flickr.com/3051/2980057258_b14b4fbd5b.jpg" alt="Asus WL-520GU" width="500" height="375" /></a></p>
<p>Note there are four screws that hold the router together, two are hidden underneath the rubber feet.  The feet are stuck on really well, but persistent prying with a fingernail will get them off eventually.  Remove the four screws and set them aside.  The top cover should come off without too much trouble.</p>
<p>Now that the router is open, you should see something like this:</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2950280015/"><img class="alignnone" src="http://farm4.static.flickr.com/3203/2950280015_910ea93e73.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a></p>
<h4><strong>Step 2 &#8211; Add a serial port header</strong></h4>
<p>Remove the PCB from the plastic enclosure by gently pulling it up and towards you (ethernet ports facing away).</p>
<p>Just to the left of the ASUS logo in the photo below, you will see a 4-pin header that I have installed to access the internal serial port of the router, the router ships without this header.  Instead, you will see four solder filled vias in a row in the same spot.</p>
<p>You will need to use your soldering iron and a solder sucker to remove most of the solder so that the header can be installed.  A higher power soldering iron will help with removing solder from the first via on the left (mine is a 60W <a href="javascript:OnClick=self.openwindow('037103001146')">Weller WTCPT</a>).  This via connects to a <a href="http://en.wikipedia.org/wiki/Ground_plane#Printed_circuit_boards">ground plane</a> which sucks heat away from the iron and makes the job more difficult.  Be patient and persistent and you should be able to wick any remaining solder away with some soldering braid if necessary.</p>
<p>Break a 4-pin chunk of male header off the strip.  Pop the header into the board and carefully solder it into place.  If it doesn&#8217;t fit, chances are there is still some solder left in the vias.  You should end up with something like this:</p>
<p><a class="tt-flickr tt-flickr-Medium" title="WL-520GU serial port" href="http://www.flickr.com/photos/mightyohm/2980058214/"><img class="alignnone" src="http://farm4.static.flickr.com/3145/2980058214_09a5945b38.jpg" alt="WL-520GU serial port" width="500" height="375" /></a></p>
<p>The pin functions are, from left to right in the photo:</p>
<blockquote><p>GND   TX   RX   3.3V</p></blockquote>
<h4>Step 3 &#8211; Connect your PC</h4>
<p>The <a href="http://www.ftdichip.com/Products/EvaluationKits/TTL-232R-3V3.htm">FTDI-232-3V3</a> USB to serial adapter cable provides a handy way to add a 3.3V TTL level serial port to a PC or laptop.  The cable has a flat connector on the serial end that can plug directly onto 0.1&#8243; male headers like the one we are using on the router.  Unfortunately, the pinout of the FTDI cable (<a href="http://www.ftdichip.com/Documents/DataSheets/Modules/DS_TTL-232R_CABLES_V201.pdf">given in the datasheet</a>) does not match that of the router.  To resolve this, you have two options:</p>
<ul>
<li>Use a tiny screwdriver to pull out the pins from the housing at the cable and rearrange them.  Do not connect anything to the 3.3V pin on the router, and swap the TX/RX so that the TX on the router feeds RX on the cable, and vice-versa.  Don&#8217;t forget to connect the grounds!  The downside of this is that now you can&#8217;t use the FTDI cable for things like the <a href="http://www.ladyada.net/make/boarduino/">Boarduino</a> without swapping the pins back.</li>
</ul>
<p style="padding-left: 30px;">-or-</p>
<ul>
<li>Fabricate an adapter board using a small piece of perfboard and some headers, shown below (click for a larger version):</li>
</ul>
<p><a class="tt-flickr tt-flickr-Small" title="Asus wireless router serial port adapter" href="http://www.flickr.com/photos/mightyohm/2979200785/"><img class="alignnone" src="http://farm4.static.flickr.com/3284/2979200785_01c8d3c294_m.jpg" alt="Asus wireless router serial port adapter" width="240" height="180" /></a> <a class="tt-flickr tt-flickr-Small" title="Asus wireless router serial port adapter" href="http://www.flickr.com/photos/mightyohm/2980057458/"><img class="alignnone" src="http://farm4.static.flickr.com/3278/2980057458_e364b3857d_m.jpg" alt="Asus wireless router serial port adapter" width="240" height="180" /></a></p>
<p>Here is a schematic of the adapter board:</p>
<p><a href="http://mightyohm.com/blog/wp-content/uploads/2008/10/asus-serial-port-adapter.png"><img class="alignnone size-full wp-image-481" title="Asus Serial Port Adapter" src="http://mightyohm.com/blog/wp-content/uploads/2008/10/asus-serial-port-adapter.png" alt="" width="500" height="372" /></a></p>
<p>Shown here are the cable and adapter installed on the router.  Make sure the ground side of the cable is connected to the pin on the header that is <strong>opposite</strong> from the fat angled trace (the 3.3V line).  Ground is the black wire, on my adapter I marked this with a black dot so I won&#8217;t forget and plug it in backwards.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="WL-520GU with serial cable installed" href="http://www.flickr.com/photos/mightyohm/2980057918/"><img class="alignnone" src="http://farm4.static.flickr.com/3241/2980057918_e1b12e577a.jpg" alt="WL-520GU with serial cable installed" width="500" height="375" /></a></p>
<h4>Step 4 &#8211; Test the connection</h4>
<p>Plug the cable into your PC (you may need some <a href="http://www.ftdichip.com/Drivers/VCP.htm">drivers</a>) and open your favorite terminal program.  (I like <a href="http://homepage.mac.com/dalverson/zterm/">Zterm</a> for the Mac or Hyperterminal on the PC.)   Using the terminal program, open the serial port corresponding to the FTDI cable (something like <em>usbserial-FTDQ23LB</em> on the Mac or <em>COM3</em> on the PC, but your setup may be different.)   Set the port options to 115200 baud, 8N1.</p>
<p>Connect the antenna and power supply to the router and plug it in.  You should see something like this appear in your terminal program:</p>
<blockquote>
<pre>Decompressing..........done</pre>
<pre>CFE version 1.0.37 for BCM947XX (32bit,SP,LE)</pre>
<pre>Build Date: Thu Mar  6 10:05:04 CST 2008 (root@localhost.localdomain)</pre>
<pre>Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.</pre>
<pre>Initializing Arena</pre>
<pre>Initializing Devices.</pre>
<pre>Boot partition size = 131072(0x20000)</pre>
<pre>et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.31.0</pre>
<pre>
<pre>Total memory: 16384 KBytes</pre>
</pre>
<pre>CPU type 0x29029: 240MHz
...</pre>
</blockquote>
<p>If you do, congratulations, your serial port is working!</p>
<p>The lines that scroll by are boot messages from the Linux <a href="http://en.wikipedia.org/wiki/Linux_kernel">kernel</a> of the stock firmware on the router.  These messages give you a lot of information about the hardware in addition to information about the operating system and software drivers.  Here is a <a href="http://mightyohm.com/blog/wp-content/uploads/2008/10/wl520gu-stock-firmware-boot.txt">complete transcript of the boot log</a> from my router.  If you wait a couple minutes for the router to finish booting and hit enter, you should see a command prompt.  From here you can explore and play around with the stock firmware, there is really not much to do here until we reflash the router with OpenWrt.</p>
<p>That&#8217;s it for part three.  In <a href="http://mightyohm.com/blog/2008/11/building-a-wifi-radio-part-4-installing-openwrt/">part four</a>, I&#8217;ll talk about installing OpenWrt and connecting the router to your wireless network.</p>
<p><strong>Update: </strong><a href="http://mightyohm.com/blog/2008/11/building-a-wifi-radio-part-4-installing-openwrt/">Part four is now available.</a></p>
<p><strong>Update 2:</strong> There is a new <a href="http://mightyohm.com/forum/viewforum.php?f=2">Wifi Radio Discussion Forum</a>, hop over there to ask questions about the project or see what other people are working on!  (<em>4/12/09)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-3-hacking-the-asus-wl-520gu/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
		<item>
		<title>Detailed specs for the Asus WL-520GU uber hacking platform</title>
		<link>http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/</link>
		<comments>http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 00:03:13 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Embedded Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wifi]]></category>
		<category><![CDATA[wifiradio]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=470</guid>
		<description><![CDATA[In my previous post about the Wifi Radio project I&#8217;m working on, I concluded that the Asus WL-520GU wireless router was the perfect choice for an embedded wireless platform, thanks to its builtin 802.11g WiFi, Linux support, and extremely low cost. (In fact, the price after rebate has dropped since my last post &#8211; now [...]]]></description>
			<content:encoded><![CDATA[<p><a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2950279643/"><img class="alignnone" src="http://farm4.static.flickr.com/3222/2950279643_374493fa81.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a></p>
<p>In my <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-2-choosing-an-embedded-platform/">previous post</a> about the <a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/">Wifi Radio project</a> I&#8217;m working on, I concluded that the <a href="http://www.asus.com/products.aspx?l1=12&amp;l2=43&amp;l3=0&amp;l4=0&amp;model=1671&amp;modelmenu=1">Asus WL-520GU</a> wireless router was the perfect choice for an embedded wireless platform, thanks to its builtin 802.11g WiFi, Linux support, and <a href="http://www.jdoqocy.com/click-3238164-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16833320023%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Network%2B-%2BWireless%2BRouters-_-ASUS-_-33320023&#038;cjsku=N82E16833320023" target="_top">extremely low cost</a><img src="http://www.tqlkg.com/image-3238164-10440897" width="1" height="1" border="0"/>.  (In fact, the price after rebate has dropped since my last post &#8211; now would probably be a good time to buy one if you&#8217;re thinking about hacking it into something eventually).</p>
<p>Here are the specs on this router, based on an inspection of the hardware and the stock firmware Linux kernel boot log (the complete log is <a href="http://mightyohm.com/blog/wp-content/uploads/2008/10/wl520gu-stock-firmware-boot.txt">here</a>).</p>
<ul>
<li>CPU: <a href="http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM5354">Broadcom BCM5354KFBG SoC</a> @ 200MHz (240MHz?)
<ul>
<li>Builtin 802.11g wireless transceiver</li>
<li>Builtin 10/100 ethernet switch</li>
<li>Core supports 2 serial ports, only 1 is available on the PCB (installed 4 pin header shown in photo above)</li>
</ul>
</li>
<li>RAM: 16MB Samsung K4S281632I SRAM</li>
<li>Flash: 4MB MX 29LV320CB</li>
<li>One USB 1.1 port (<a href="http://wiki.openwrt.org/OpenWrtDocs/Hardware/Asus/WL520GU">USB 2.0 support is broken</a> according to the folks at OpenWRT)</li>
<li><a href="http://www.sige.com/">SiGe Semiconductor</a> <a href="http://www.sige.com/uploads/briefs/DST-00074_SiGe_SE2528L_brief_Rev_Sep-10-2008.pdf">2528L</a> discrete RF Power Amplifier IC</li>
<li>One external TX/RX whip antenna (RPSMA), internal diversity RX antenna on PCB</li>
<li>Internal 3.3V DC-DC converter</li>
<li>PCB Dimensions: 4.0&#8243; x 5.6&#8243;</li>
<li>Supply: 5V @ &lt;2A</li>
</ul>
<p>Here are some images of the PCB, click for a larger version.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2950279305/"><img class="alignnone" src="http://farm4.static.flickr.com/3148/2950279305_9982c60573.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a> <a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2950279477/"><img class="alignnone" src="http://farm4.static.flickr.com/3244/2950279477_6197e58763.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a></p>
<p>Here&#8217;s a closeup of the <a href="http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM5354">Broadcom BCM5354 SoC</a> &#8211; the brains of the router.  It is surrounded by a 4MB MX flash chip above and a Samsung 4MB SRAM chip on the right.</p>
<p><a class="tt-flickr tt-flickr-Medium" title="Asus WL-520GU Wireless Router" href="http://www.flickr.com/photos/mightyohm/2951132866/"><img class="alignnone" src="http://farm4.static.flickr.com/3275/2951132866_6d8d72ebc8.jpg" alt="Asus WL-520GU Wireless Router" width="500" height="375" /></a></p>
<p>Overall this is a great little router and an even better platform to build an embedded Linux system, provided you don&#8217;t need USB 2.0 support.  If you do, look at the <a href="http://www.asus.com/products.aspx?l1=12&amp;l2=43&amp;l3=0&amp;l4=0&amp;model=1712&amp;modelmenu=2">WL-500gP v2</a> instead, it has two working USB 2.0 ports (in addition to much more flash storage and RAM).</p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2008/10/detailed-specs-for-the-asus-wl-520gu-uber-hacking-platform/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

