{"id":590,"date":"2016-07-07T19:22:52","date_gmt":"2016-07-08T03:22:52","guid":{"rendered":"https:\/\/jacksontech.net\/?p=590"},"modified":"2017-12-14T13:28:54","modified_gmt":"2017-12-14T21:28:54","slug":"openwrt-on-a-locked-down-tp-link-wr1043nd-v3-wireless-router","status":"publish","type":"post","link":"https:\/\/jacksontech.net\/index.php\/2016\/07\/openwrt-on-a-locked-down-tp-link-wr1043nd-v3-wireless-router\/","title":{"rendered":"OpenWRT on a &#8220;locked down&#8221; TP-Link WR1043ND v3 wireless router"},"content":{"rendered":"<p>It turns out that the brouhaha over certain manufacturers&#8217; reactions to the <a href=\"https:\/\/www.wired.com\/2016\/03\/way-go-fcc-now-manufacturers-locking-routers\/\" target=\"_blank\" rel=\"noopener noreferrer\">FCC ruling to prevent 3rd-party software from taking wireless routers out of their approved emissions range<\/a> is valid. I bought a TP-Link WR1043ND v3 router to compliment the existing v2 router I bought several years ago. I have a point-to-point setup with OpenWRT on both ends. It turns out that TP Link has indeed started locking down their routers to prevent third-party firmware installations. (I had hoped that buying the older V3 would get around this, but apparently not so.) Setting up OpenWRT is now a little bit (but not much) more difficult than it was on these routers.<\/p>\n<p>Fortunately, it seems that TP-Link has only locked down the web interface to prevent third-party firmware installation\u00a0<strong>and downgrading factory firmware<\/strong>. You&#8217;ll get an\u00a0<strong>error 18005<\/strong> if you try this. TFTP still works. In the end, the steps to flash were the following, based on the information at the <a href=\"https:\/\/wiki.openwrt.org\/toh\/tp-link\/tl-wr1043nd\" target=\"_blank\" rel=\"noopener noreferrer\">OpenWRT wiki<\/a>. You&#8217;ll need a Linux machine with DNSMasq installed.<\/p>\n<ol>\n<li>Download the factory OpenWRT trunk image for the WR1043ND v3. Currently as of July 7, 2016: <a href=\"https:\/\/downloads.openwrt.org\/snapshots\/trunk\/ar71xx\/generic\/openwrt-ar71xx-generic-tl-wr1043nd-v3-squashfs-factory.bin\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/downloads.openwrt.org\/snapshots\/trunk\/ar71xx\/generic\/openwrt-ar71xx-generic-tl-wr1043nd-v3-squashfs-factory.bin<\/a><\/li>\n<li>Rename the OpenWRT file to wr1043v3_tp_recovery.bin<\/li>\n<li>Move the file to \/tmp<\/li>\n<li>Set your NIC&#8217;s address to 192.168.0.66 and hook up the router, but don&#8217;t power it on yet.<\/li>\n<li>Use DNSMasq as a quick tftp server with the following command: <strong>dnsmasq -d &#8211;enable-tftp &#8211;tftp-root=\/tmp<\/strong><\/li>\n<li>In another terminal window, use tcpdump to view traffic on your NIC.<\/li>\n<li>Hold down the router&#8217;s reset button and power it on.<\/li>\n<li>Hold the reset button until tcpdump shows the file transfer.<\/li>\n<li>Wait 5 minutes<\/li>\n<\/ol>\n<p>The OpenWRT build doesn&#8217;t have the web GUI installed. Fortunately, that&#8217;s easy to fix:<\/p>\n<ol>\n<li>Use SSH to log into <strong>root@192.168.1.1<\/strong><\/li>\n<li>Hook the router&#8217;s WAN port to a LAN switch (to give it Internet access)<\/li>\n<li>Run opkg update &amp;&amp; opkg install luci on the router<\/li>\n<li>Run <strong>reboot<\/strong> on the router<\/li>\n<li>Visit 192.168.1.1 and enjoy<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>It turns out that the brouhaha over certain manufacturers&#8217; reactions to the FCC ruling to prevent 3rd-party software from taking wireless routers out of their approved emissions range is valid. I bought a TP-Link WR1043ND v3 router to compliment the existing v2 router I bought several years ago. I have a point-to-point setup with OpenWRT &#8230; <a class=\"moretag\" href=\"https:\/\/jacksontech.net\/index.php\/2016\/07\/openwrt-on-a-locked-down-tp-link-wr1043nd-v3-wireless-router\/\">more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5,3],"tags":[98,39,35,99,100,101],"class_list":["post-590","post","type-post","status-publish","format-standard","hentry","category-comptech","category-linux","category-networking","tag-fcc","tag-openwrt","tag-router","tag-tp-link","tag-wr1043nd","tag-wr1043ndv3"],"_links":{"self":[{"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/posts\/590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/comments?post=590"}],"version-history":[{"count":6,"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/posts\/590\/revisions"}],"predecessor-version":[{"id":718,"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/posts\/590\/revisions\/718"}],"wp:attachment":[{"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/media?parent=590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/categories?post=590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jacksontech.net\/index.php\/wp-json\/wp\/v2\/tags?post=590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}