{"id":106,"date":"2004-01-06T07:32:00","date_gmt":"2004-01-06T07:32:00","guid":{"rendered":"http:\/\/jclark.org\/weblog\/Hardware\/linksysmod.html"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-30T04:00:00","slug":"linksysmod","status":"publish","type":"post","link":"https:\/\/jclark.org\/weblog\/2004\/01\/06\/linksysmod\/","title":{"rendered":"WRT54G++"},"content":{"rendered":"<p>After giving my father a <a href=\"http:\/\/www.linksys.com\/Products\/product.asp?prid=508\">Linksys <span class=\"caps\">WRT54G <\/span>Wireless (802.11G) Router<\/a> for Christmas (the same model I have), I once again became interested in extending the range of the little beastie.  While I have seen a Linksys 802.11B router cover some big distances with a good signal at work, my &#8217;54G has always had trouble getting from one end of the house to the other.  Dad&#8217;s router does okay, but doesn&#8217;t quite penetrate all the way across his house either.<\/p>\n<p>Linksys offers a <a href=\"http:\/\/www.linksys.com\/products\/product.asp?prid=548\">signal booster<\/a>, but it&#8217;s only approved for use with 802.11B networking.  Some reading I&#8217;ve done suggests it should work with an 11G router, but there may be some issues due to differences in antenna configs.  Besides, it costs money.<\/p>\n<p>It turns out that the <span class=\"caps\">WRT54G<\/span> is notable for a few features.  First of all, it only transmits with about 1\/4 of max power.  Second, it&#8217;s a Linux box.  So you know what that means&#8230; Hackage.  SeattleWireless.net has a <a href=\"http:\/\/www.seattlewireless.net\/index.cgi\/LinksysWrt54g\">great wiki page on hacking the <span class=\"caps\">WRT54G<\/span><\/a>.<\/p>\n<p>It seems that if you have an older firmware, you can run short commands via the &#8220;ping bug&#8221; &#8211; a security hole in the router&#8217;s web interface&#8217;s ping utility, that accepts backticked unix commands.  Wireless transmit power can be changed this way.  Of course, my firmware is up to date, and the ping bug is fixed.  Oh, and you can&#8217;t downgrade firmware anymore.  (Details for all of this can be found at the SeattleWireless.net link above).<\/p>\n<p>However, to borrow a Perlism, There Is More Than One Way To Do It.  In my case, this meant getting a third-party firmware.  Since Linksys has <span class=\"caps\">GPL<\/span>&#8216;d all of the code, and even published instructions on building a custom firmware, this isn&#8217;t as radical as it seems.  (Way to go Linksys\/Cisco!)  I&#8217;m using the <a href=\"http:\/\/www.sveasoft.com\">Sveasoft<\/a> firmware (<a href=\"http:\/\/www.sveasoft.com\/forum8.html\">Info<\/a>, <a href=\"ftp:\/\/ftp.sveasoft.com\/pub\/\">Downloads<\/a>), and it&#8217;s fantastic.  It allows you to change the transmit power via the router&#8217;s web interface, and adds other cool things like ssh access via sshd.  There&#8217;s a ton of stuff you the firmware adds (check out the changelog), and it&#8217;s under active development.<\/p>\n<p>( <strong>Useful tidbit:<\/strong> After turning on sshd via the web interface and inputting the authorized <span class=\"caps\">RSA<\/span> keys, you need to: 1) Reset the router.  2) Run ssh with user root, like so: <code>ssh root@192.168.1.1<\/code>.  Password isn&#8217;t needed because of the <span class=\"caps\">RSA<\/span> key, but the user id <strong>is<\/strong>.)<\/p>\n<p>The transmit power can be set from 1 to 84, and the default is 28.  I <strong>think<\/strong> the figure is either mW or 1\/2 mW (i.e., default tx power is either 19 or 28 mW).  Many sources tell you to just set it to 84, but I found <a href=\"http:\/\/www.short-media.com\/forum\/showthread.php?s=&amp;threadid=4517\">this post<\/a> at short-media.com claiming that 84 is too high without some kind of cooling mod, and produces unreliable results.  The recommended setting of 48 seems to be working beautifully, and I can roam wirelessly to the corners of my house now.<\/p>\n<p>And all this because of open source software.  Sweet.    <\/p>","protected":false},"excerpt":{"rendered":"<p>After giving my father a Linksys WRT54G Wireless (802.11G) Router for Christmas (the same model I have), I once again became interested in extending the range of the little beastie. While I have seen a Linksys 802.11B router cover some big distances with a good signal at work, my &#8217;54G has always had trouble getting [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-hardware"],"_links":{"self":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}