{"id":6491,"date":"2016-11-26T23:12:26","date_gmt":"2016-11-27T06:12:26","guid":{"rendered":"http:\/\/www.apolonio.com\/blog\/?p=6491"},"modified":"2016-11-26T23:12:26","modified_gmt":"2016-11-27T06:12:26","slug":"love-a-technical-challenge","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=6491","title":{"rendered":"Love A Technical Challenge"},"content":{"rendered":"<p>That was fun, I just spent a couple of hours trying to debrick a $5 router I just purchased.<\/p>\n<p>It wasn&#8217;t to fix it, it was the challenge. \u00a0I purchased another WRT160N from RePC. \u00a0It was just $5. \u00a0 I got a stock dd-wrt on it when I decided to upgrade it to another version. \u00a0Unfortunately, the other version of for a v3 and the version I got was a v1.<\/p>\n<p>I am fortunate to have a lot of tools in place for this. \u00a0A soldering iron, USB-TTL adapter, tftp software.<\/p>\n<p>So after bricking a 30\/30\/30 wasn&#8217;t going to fix it. \u00a0Also there was no web page like the v3 version has to go in to. \u00a0So I had to go the serial console route.<\/p>\n<p>One of the things I did not have was the original firmware. \u00a0Heck I didn&#8217;t even know what the filenames was.<\/p>\n<p>After some deep looking a found a mediafire probably infected site that said the file name was &#8220;WRT160N 1.02.11 001 US code.bin&#8221;<\/p>\n<p>It was not safe to download it from there so I put it in my search engine and came accross a ddwrt site which was more respectable.<\/p>\n<p>http:\/\/www.dd-wrt.com\/phpBB2\/viewtopic.php?p=979510<\/p>\n<p>Then I booted the thing and quickly pressed CTRL+C, it had to be really fast on boot. \u00a0The instant I plugged the AC power in I had to press CTR+C (I think any key may have worked)<\/p>\n<p>I booted the thing,went in to CFE mode. \u00a0I didn&#8217;t know the command but<\/p>\n<p>Here was a link to some of my options.<\/p>\n<p>https:\/\/wiki.openwrt.org\/doc\/techref\/bootloader\/cfe<\/p>\n<p>I tried being a tftp server but that did not work. \u00a0I got a code -4. \u00a0But in hindsight the upload may have worked.<\/p>\n<p>I tried the tftp client mode, this is where I set up a TFTP server on my laptop, and the router would download<\/p>\n<p>Here is the command I issed at the CFE prompt<\/p>\n<pre class=\"code\">flash -ctheader 192.168.1.100:fw.bin flash0.trx<\/pre>\n<p>From the server it showed a successful transfer, but I still got the -4 error.<\/p>\n<p>I took a chance and rebooted. \u00a0And it came back, low and behold to the original firmware from linksys<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>That was fun, I just spent a couple of hours trying to debrick a $5 router I just purchased. It wasn&#8217;t to fix it, it was the challenge. \u00a0I purchased another WRT160N from RePC. \u00a0It was just $5. \u00a0 I &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=6491\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,3],"tags":[],"class_list":["post-6491","post","type-post","status-publish","format-standard","hentry","category-new-toys","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6491"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6491\/revisions"}],"predecessor-version":[{"id":6492,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6491\/revisions\/6492"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}