{"id":105,"date":"2008-01-11T13:37:35","date_gmt":"2008-01-11T20:37:35","guid":{"rendered":"http:\/\/eriknovales.com\/blog\/index.php\/2008\/01\/11\/openwrt\/"},"modified":"2008-01-11T13:37:35","modified_gmt":"2008-01-11T20:37:35","slug":"openwrt","status":"publish","type":"post","link":"https:\/\/eriknovales.com\/?p=105","title":{"rendered":"OpenWrt"},"content":{"rendered":"<p>So I decided, on something of a whim, to replace the firmware in my trusty <a href=\"http:\/\/www.amazon.com\/gp\/product\/B0001CNKBS?ie=UTF8&amp;tag=theperbloofer-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0001CNKBS\">Buffalo WBR2-G54 router<\/a><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;border-top-style: none! important;border-right-style: none! important;border-left-style: none! important;border-bottom-style: none! important\" height=\"1\" alt=\"\" src=\"http:\/\/www.assoc-amazon.com\/e\/ir?t=theperbloofer-20&amp;l=as2&amp;o=1&amp;a=B0001CNKBS\" width=\"1\" border=\"0\"> with <a href=\"http:\/\/openwrt.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">OpenWrt<\/a>, a modular Linux distribution for embedded devices. (I actually used the <a href=\"http:\/\/x-wrt.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">X-Wrt<\/a> packages, which have a better web interface for configuration but are based on OpenWrt.) The WBR2-G54 is based on the <a href=\"http:\/\/www.broadcom.com\/products\/Wireless-LAN\/802.11-Wireless-LAN-Solutions\/BCM4712\" target=\"_blank\" rel=\"noopener noreferrer\">Broadcom 4712<\/a> platform, and normally runs its own customized version of Linux (but which is not normally accessible to the end user).<\/p>\n<p>The process of installation was a bit maddening, as the newest &#8220;Kamikaze&#8221; distribution doesn&#8217;t work out of the box with the WBR2-G54 &#8212; the wireless interface doesn&#8217;t show up in the configuration pages. It took me awhile to figure out that the problem wasn&#8217;t with what <em>I<\/em> was doing, but rolling back to the earlier &#8220;White Russian&#8221; distribution got me up and running. (I used these <a href=\"http:\/\/www.wiredfool.com\/2006\/01\/14\/flashing-a-buffalo-airstation-wbr2-g54-with-openwrt\/\" target=\"_blank\" rel=\"noopener noreferrer\">two<\/a> <a href=\"http:\/\/wiki.openwrt.org\/OpenWrtDocs\/Installing\/TFTP?action=show&amp;redirect=OpenWrtViaTftp\" target=\"_blank\" rel=\"noopener noreferrer\">sources<\/a> for instructions on flashing. Note that, in Windows Vista, <a href=\"http:\/\/blogs.technet.com\/migreene\/archive\/2006\/12\/21\/tftp-client-in-vista.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">you&#8217;ll have to install the TFTP client manually<\/a>, as it&#8217;s not part of the default packages that are installed.)<\/p>\n<p>There are a few benefits (real and potential) to doing an upgrade like this:<\/p>\n<ul>\n<li>Support for WPA2 security. The vendor firmware only supported WPA, and, even though my current wireless card doesn&#8217;t seem to support it (in spite of manufacturer protests to the otherwise), it&#8217;ll be good to have for the future.<\/li>\n<li>The ability to use services like <a href=\"http:\/\/www.dyndns.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">DynDNS<\/a>, in case I want to access my home network while I&#8217;m on the road. This is another feature that was not supported in the vendor firmware. Couple this with <a href=\"http:\/\/en.wikipedia.org\/wiki\/Wake-on-LAN\" target=\"_blank\" rel=\"noopener noreferrer\">Wake-on-LAN<\/a> support, and it would be possible to use resources from home in almost any situation.<\/li>\n<li>Being able to set up a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Virtual_private_network\" target=\"_blank\" rel=\"noopener noreferrer\">VPN<\/a> for home, again for purposes of working on the road.<\/li>\n<li>Running any number of other packages to add interesting functionality to it. <a href=\"http:\/\/weblog.infoworld.com\/geeks\/archives\/2007\/02\/beef_up_your_wi.html\" target=\"_blank\" rel=\"noopener noreferrer\">This InfoWorld article<\/a> is a good overview of the possibilities. I have a feeling that, in order to be able to do all this whiz-bang stuff, I&#8217;ll actually need a router with more RAM and flash &#8212; the web interface for X-Wrt indicates that I&#8217;m already at about 84% RAM utilization with a default installation and a couple of other packages.<\/li>\n<\/ul>\n<p>I wound up having to install the <a href=\"http:\/\/miniupnp.free.fr\/\" target=\"_blank\" rel=\"noopener noreferrer\">miniupnpd<\/a> package to enable <a href=\"http:\/\/en.wikipedia.org\/wiki\/Universal_Plug_and_Play\" target=\"_blank\" rel=\"noopener noreferrer\">UPnP<\/a> support (necessary for the all-important Xbox Live on the 360), but other than that, I didn&#8217;t need to do too much else. Once I actually got the firmware flashed correctly, I would say that setting it up correctly isn&#8217;t much more difficult than with the stock firmware. Granted, you&#8217;ll need to know about the alphabet soup that is the world of networking, but the configuration process is fairly straightforward.<\/p>\n<p>One other possibility that I&#8217;m interested in is installing some kind of voice chat server on it, similar to <a href=\"http:\/\/www.ventrilo.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Ventrilo<\/a> or <a href=\"http:\/\/www.goteamspeak.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">TeamSpeak<\/a> &#8212; I&#8217;m not sure if the VOIP packages that are available would encompass this sort of thing, and the <a href=\"http:\/\/mumble.sourceforge.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Mumble project<\/a> would appear to be a no-go due to its server&#8217;s reliance on Qt. I&#8217;ll have to look into it some more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I decided, on something of a whim, to replace the firmware in my trusty Buffalo WBR2-G54 router with OpenWrt, a modular Linux distribution for embedded devices. (I actually used the X-Wrt packages, which have a better web interface for configuration but are based on OpenWrt.) The WBR2-G54 is based on the Broadcom 4712 platform, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-development"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/eriknovales.com\/index.php?rest_route=\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eriknovales.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eriknovales.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eriknovales.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eriknovales.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=105"}],"version-history":[{"count":0,"href":"https:\/\/eriknovales.com\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions"}],"wp:attachment":[{"href":"https:\/\/eriknovales.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eriknovales.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eriknovales.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}