<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>buffalo router debricking on random thoughts</title><link>https://awesomeprogrammer.com/categories/buffalo-router-debricking/</link><description>Recent content in buffalo router debricking on random thoughts</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 17 Nov 2013 00:00:00 +0000</lastBuildDate><atom:link href="https://awesomeprogrammer.com/categories/buffalo-router-debricking/index.xml" rel="self" type="application/rss+xml"/><item><title>Debricking Buffalo WZR-HP-G300NH (linux)</title><link>https://awesomeprogrammer.com/blog/2013/11/17/debricking-buffalo-wzr-hp-g300nh_linux/</link><pubDate>Sun, 17 Nov 2013 00:00:00 +0000</pubDate><guid>https://awesomeprogrammer.com/blog/2013/11/17/debricking-buffalo-wzr-hp-g300nh_linux/</guid><description><![CDATA[<p>If you&rsquo;re reading this you&rsquo;re that means you don&rsquo;t need further introduction to the problem, let go straight to solution then ;).</p>
<ul>
<li>
<p>You will need some kind of firmware, apparently you can use <a href="http://www.buffalotech.com/support-and-downloads/downloads">official Buffalo firmware</a>, official buffalo PRO (dd-wrt branded) firmware or just <a href="ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/">regular dd-wrt release</a>. I used the first one - in my case <em>wzrhpg300nh-176</em> (then you will be able to upgrade as usual, but for now let just get this one working again). Also you will need some kind of switch/another router, so you could connect both your PC and your bricked Buffalo to the same network.</p>
</li>
<li>
<p>Install the enhanced version of TFTP (<code>sudo apt-get install tftp-hpa</code>). Turn off you router. Setup static IP on your PC to of 192.168.11.2 / 255.255.255.0 Gateway: 192.168.11.1.</p>
</li>
<li>
<p>In terminal <code>cd</code> to the directory where you downloaded&amp;unpacked new firmware. Type <code>sudo arp -s 192.168.11.1 02-AA-BB-CC-DD-1A</code> (you can use real MAC address of your router, but fake one should work just fine).</p>
</li>
<li>
<p>Now it&rsquo;s time for TFTP:</p>
</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>tftp 192.168.11.1
</span></span><span style="display:flex;"><span>tftp&gt; verbose
</span></span><span style="display:flex;"><span>tftp&gt; binary
</span></span><span style="display:flex;"><span>tftp&gt; trace
</span></span><span style="display:flex;"><span>tftp&gt; rexmt <span style="color:#ae81ff">1</span>
</span></span><span style="display:flex;"><span>tftp&gt; timeout <span style="color:#ae81ff">60</span>
</span></span><span style="display:flex;"><span>tftp&gt; put wzrhpg300nh-176 <span style="color:#75715e"># this is the filename of downloaded firmware</span>
</span></span></code></pre></div><ul>
<li>
<p>Power up your router and wait for tftp to do it&rsquo;s magic. After a while you should start seeing some progress and shortly after it should be transferred to the router.</p>
</li>
<li>
<p>Give it about 6 minutes to boot up. With a little bit of luck your router should be alive again.</p>
</li>
</ul>
<p>More references: <a href="http://www.dd-wrt.com/wiki/index.php/TFTP_flash">1</a>, <a href="http://dd-wrt.com/wiki/index.php/Buffalo_WZR-HP-G300NH#Debricking_Info_using_TFTP">2</a>. Good luck!</p>]]></description><content:encoded><![CDATA[<p>If you&rsquo;re reading this you&rsquo;re that means you don&rsquo;t need further introduction to the problem, let go straight to solution then ;).</p>
<ul>
<li>
<p>You will need some kind of firmware, apparently you can use <a href="http://www.buffalotech.com/support-and-downloads/downloads">official Buffalo firmware</a>, official buffalo PRO (dd-wrt branded) firmware or just <a href="ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/">regular dd-wrt release</a>. I used the first one - in my case <em>wzrhpg300nh-176</em> (then you will be able to upgrade as usual, but for now let just get this one working again). Also you will need some kind of switch/another router, so you could connect both your PC and your bricked Buffalo to the same network.</p>
</li>
<li>
<p>Install the enhanced version of TFTP (<code>sudo apt-get install tftp-hpa</code>). Turn off you router. Setup static IP on your PC to of 192.168.11.2 / 255.255.255.0 Gateway: 192.168.11.1.</p>
</li>
<li>
<p>In terminal <code>cd</code> to the directory where you downloaded&amp;unpacked new firmware. Type <code>sudo arp -s 192.168.11.1 02-AA-BB-CC-DD-1A</code> (you can use real MAC address of your router, but fake one should work just fine).</p>
</li>
<li>
<p>Now it&rsquo;s time for TFTP:</p>
</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>tftp 192.168.11.1
</span></span><span style="display:flex;"><span>tftp&gt; verbose
</span></span><span style="display:flex;"><span>tftp&gt; binary
</span></span><span style="display:flex;"><span>tftp&gt; trace
</span></span><span style="display:flex;"><span>tftp&gt; rexmt <span style="color:#ae81ff">1</span>
</span></span><span style="display:flex;"><span>tftp&gt; timeout <span style="color:#ae81ff">60</span>
</span></span><span style="display:flex;"><span>tftp&gt; put wzrhpg300nh-176 <span style="color:#75715e"># this is the filename of downloaded firmware</span>
</span></span></code></pre></div><ul>
<li>
<p>Power up your router and wait for tftp to do it&rsquo;s magic. After a while you should start seeing some progress and shortly after it should be transferred to the router.</p>
</li>
<li>
<p>Give it about 6 minutes to boot up. With a little bit of luck your router should be alive again.</p>
</li>
</ul>
<p>More references: <a href="http://www.dd-wrt.com/wiki/index.php/TFTP_flash">1</a>, <a href="http://dd-wrt.com/wiki/index.php/Buffalo_WZR-HP-G300NH#Debricking_Info_using_TFTP">2</a>. Good luck!</p>]]></content:encoded></item></channel></rss>