<?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>Router on Zet’s playground</title>
    <link>https://blog.zet.tw/en/tags/router/</link>
    <description>Recent content in Router on Zet’s playground</description>
    <image>
      <title>Zet’s playground</title>
      <url>https://blog.zet.tw/img/blog-cover.png</url>
      <link>https://blog.zet.tw/img/blog-cover.png</link>
    </image>
    <generator>Hugo -- 0.139.0</generator>
    <language>en</language>
    <lastBuildDate>Fri, 17 Aug 2018 00:00:00 +0800</lastBuildDate>
    <atom:link href="https://blog.zet.tw/en/tags/router/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Use TTL to unbrick router</title>
      <link>https://blog.zet.tw/en/posts/2018-08-17-use-ttl-to-unbrick-router/</link>
      <pubDate>Fri, 17 Aug 2018 00:00:00 +0800</pubDate>
      <guid>https://blog.zet.tw/en/posts/2018-08-17-use-ttl-to-unbrick-router/</guid>
      <description>&lt;p&gt;I once bricked a router while reflashing it. Using an FT232 adapter you can open the router&amp;rsquo;s case and hook up to the RS232 pads on the board — connecting GND, TX and RX to the computer lets you issue commands directly and even drop into a system shell.&lt;/p&gt;
&lt;p&gt;Use PuTTY to connect to the FT232&amp;rsquo;s COM port. As for the pinout on the router board, you can look it up in the DD-WRT or OpenWRT wiki; reference material is available for almost every router.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I once bricked a router while reflashing it. Using an FT232 adapter you can open the router&rsquo;s case and hook up to the RS232 pads on the board — connecting GND, TX and RX to the computer lets you issue commands directly and even drop into a system shell.</p>
<p>Use PuTTY to connect to the FT232&rsquo;s COM port. As for the pinout on the router board, you can look it up in the DD-WRT or OpenWRT wiki; reference material is available for almost every router.</p>
<p>For example: <a href="https://wiki.openwrt.org/toh/d-link/dir-300revb">https://wiki.openwrt.org/toh/d-link/dir-300revb</a></p>
<p>Once connected the following menu appears — you have to be quick — choosing &ldquo;2&rdquo; lets you connect to a TFTP server on your computer to fetch the firmware and reflash it.</p>
<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-fallback" data-lang="fallback"><span style="display:flex;"><span>   Please choose the operation:
</span></span><span style="display:flex;"><span>   1: Load system code to SDRAM via TFTP.
</span></span><span style="display:flex;"><span>   2: Load system code then write to Flash via TFTP.
</span></span><span style="display:flex;"><span>   3: Boot system code via Flash (default).
</span></span><span style="display:flex;"><span>   4: Entr boot command line interface.
</span></span><span style="display:flex;"><span>   7: Load Boot Loader code then write to Flash via Serial.
</span></span><span style="display:flex;"><span>   9: Load Boot Loader code then write to Flash via TFTP.
</span></span></code></pre></div><p>Set a static IP on the computer, connect it to the router with an Ethernet cable, then enter the computer&rsquo;s IP and the firmware filename.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
