{"id":18,"date":"2008-07-12T14:03:10","date_gmt":"2008-07-12T19:03:10","guid":{"rendered":"http:\/\/bda.ath.cx\/blog\/?p=18"},"modified":"2008-07-12T14:09:01","modified_gmt":"2008-07-12T19:09:01","slug":"openwrt-working-on-buffalo-whr-g125-router","status":"publish","type":"post","link":"http:\/\/bda.ath.cx\/blog\/2008\/07\/12\/openwrt-working-on-buffalo-whr-g125-router\/","title":{"rendered":"OpenWRT working on Buffalo WHR-G125 router"},"content":{"rendered":"<p><a href=\"http:\/\/openwrt.org\/\">OpenWRT<\/a> for the Buffallo WHR-G125 is listed as Work-In-Progress, with no install or config information on the <a href=\"http:\/\/wiki.openwrt.org\/OpenWrtDocs\/Hardware\/Buffalo\/WHR-G125\">wiki<\/a>. However I just verified that the latest <a href=\"http:\/\/x-wrt.org\/\">X-Wrt<\/a> Kamakazi brcm-2.4 snapshots work, including wireless. WRT treats the left-most port, labeled &#8220;1&#8221;, as the WAN port instead of the &#8220;Internet&#8221; port, which I think is switched with the other lan ports. Also it crashed when I tried to enable SSL for the web-interface, during the install of libopenssl. I think this happens when it runs out of space on \/jffs, which is very tight at 2MB.<\/p>\n<p><!--more--><\/p>\n<p>I installed this snapshot, built on July 9th, from the X-Wrt website, using Tamato&#8217;s firmware upgrade page on the web-interface. I imagine it will work with the stock firmware or DD-WRT as well, although you may have to rename the file to .bin:<\/p>\n<p><a href=\"http:\/\/downloads.x-wrt.org\/xwrt\/kamikaze\/snapshots\/brcm-2.4\/openwrt-brcm-2.4-squashfs.trx\">http:\/\/downloads.x-wrt.org\/xwrt\/kamikaze\/snapshots\/brcm-2.4\/openwrt-brcm-2.4-squashfs.trx<\/a><\/p>\n<p>I use PPPoE to connect to Qwest, bridged through my DSL router. Wireless is working with WEP, both from my centrino laptop with Intel PRO\/Wireless 2200BG and from the NintendoDS. I haven&#8217;t tried WPA. I also installed and enabled UPnP and QoS using the web-interface, but I haven&#8217;t tested them yet.<\/p>\n<p>One of the things I love about OpenWRT is the ease of setting up fixed DHCP ips and local DNS. You can use the web-interface, but I find that editing the files directly is more convenient when adding many entries at once. Just ssh in to the router (user root, password same as web-interface), edit \/etc\/ethers and \/etc\/hosts, then run &#8220;\/etc\/init.d\/dnsmasq reload&#8221;. Ethers is a new line separated list of MAC addresses followed by ips:<\/p>\n<p>XX:XX:XX:XX:XX::XX\u00c2\u00a0 192.168.1.X<\/p>\n<p>XX:XX:XX:XX:XX::XX\u00c2\u00a0 192.168.1.X<\/p>\n<p>&#8230;<\/p>\n<p>The hosts file, just like on any linux system, is a new line separated list of ips followed by a list of hostnames:<\/p>\n<p>192.168.1.1 wrt wrtroutername2 wrtroutername3<\/p>\n<p>192.168.1.2 a alongname<\/p>\n<p>&#8230;<\/p>\n<p>Now if you try to ping &#8220;wrt&#8221; and &#8220;a&#8221; it should go to 192.168.1.1 and .2. Note that you need to release\/renew the clients using DHCP so they get the new fixed ips.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenWRT for the Buffallo WHR-G125 is listed as Work-In-Progress, with no install or config information on the wiki. However I just verified that the latest X-Wrt Kamakazi brcm-2.4 snapshots work, including wireless. WRT treats the left-most port, labeled &#8220;1&#8221;, as the WAN port instead of the &#8220;Internet&#8221; port, which I think is switched with the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[38,37],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-computers","tag-buffalo-whr-g125","tag-openwrt"],"_links":{"self":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}