{"id":1962,"date":"2017-06-15T15:03:23","date_gmt":"2017-06-15T13:03:23","guid":{"rendered":"https:\/\/www.npcglib.org\/~stathis\/blog\/?p=1962"},"modified":"2018-06-11T02:45:23","modified_gmt":"2018-06-11T00:45:23","slug":"openwrtlede-custom-rom-tp-link-wa901ndv3","status":"publish","type":"post","link":"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/","title":{"rendered":"OpenWRT\/LEDE custom rom for TP-Link WA901NDV3"},"content":{"rendered":"<div style=\"margin-bottom:10px; padding:5px; font-weight: bold; border: 1px solid black\">10 June 2018 &#8211; NOTE: <span style=\"color:red\">LEDE is no more. It has merged with OpenWRT. Furthermore, the <a href=\"https:\/\/openwrt.org\/toh\/hwdata\/tp-link\/tp-link_tl-wa901nd_v3\" target=\"_blank\">TP-Link WA901NDV3 is no longer supported<\/a>.<\/span> I have updated some of the links to the new OpenWRT website, but further changes may have taken place. I will leave the post here for reference, but you ought to try compiling a newer firmware for security.<br \/>\n<br \/>Apparently, I managed to compile and flash a working firmware for my TP-Link WA901NDV3 using the newer OpenWRT sources (in particular I used commit f60301db748a8a40f42a6dc4faa7250529cb6cc6). The update worked like a charm, with the settings being preserved. If anyone needs the new roms and kernel config drop me a message.\n<\/div>\n<p>Information about the device can be found below:<\/p>\n<ul>\n<li>OpenWRT Device Page (<a href=\"https:\/\/openwrt.org\/toh\/tp-link\/tl-wa901nd\" target=\"_blank\">https:\/\/openwrt.org\/toh\/tp-link\/tl-wa901nd<\/a>)<\/li>\n<li>OpenWRT Techdata for TP-Link TL-WA901ND v3 (<a href=\"https:\/\/openwrt.org\/toh\/hwdata\/tp-link\/tp-link_tl-wa901nd_v3\" target=\"_blank\">https:\/\/openwrt.org\/toh\/hwdata\/tp-link\/tp-link_tl-wa901nd_v3<\/a>)<\/li>\n<\/ul>\n<p>I installed a custom <a href=\"https:\/\/lede-project.org\" target=\"_blank\">LEDE<\/a> rom on my <a href=\"https:\/\/wiki.openwrt.org\/toh\/tp-link\/tl-wa901nd\" target=\"_blank\">TP-Link TL-WA901ND<\/a> since the default one build upstream had features that I wasn&#8217;t using and they consumed the free space of the device unnecessarily. <\/p>\n<p>Namely, I removed support for IPv6, USB and telephony, as well as some associated packages and kernel modules (including ppp). I also included in the custom ROM dropbear (sshd), nano (text editor), and luci over SSL. You can download:<\/p>\n<ul>\n<li>Kernel config <a href=\"\/~stathis\/downloads\/config-tl-wa901nd-v3\">config-tl-wa901nd-v3<\/a><\/li>\n<li>Factory ROM <a href=\"\/~stathis\/downloads\/lede-ar71xx-generic-tl-wa901nd-v3-squashfs-factory-20170615.bin\">lede-ar71xx-generic-tl-wa901nd-v3-squashfs-factory-20170615.bin<\/a><\/li>\n<li>Upgrade ROM <a href=\"\/~stathis\/downloads\/lede-ar71xx-generic-tl-wa901nd-v3-squashfs-sysupgrade-20170615.bin\">lede-ar71xx-generic-tl-wa901nd-v3-squashfs-sysupgrade-20170615.bin<\/a><\/li>\n<\/ul>\n<p>You can use LuCI to upgrade, or using the command line <code>sysupgrade -v lede-ar71xx-generic-tl-wa901nd-v3-squashfs-sysupgrade-20170615.bin<\/code>. I have not tested the factory rom.<\/p>\n<h3>Customizing the custom ROM :)<\/h3>\n<p>If you want to build, or customize the rom using my kernel config, read on.<\/p>\n<p>You first need the LEDE (or OpenWRT) source code:<\/p>\n<pre>\r\ngit clone https:\/\/git.lede-project.org\/source.git lede\r\n<\/pre>\n<p>Read the instructions on how to <a href=\"https:\/\/openwrt.org\/docs\/guide-developer\/build-system\/use-buildsystem\" target=\"_blank\">&#8220;Use the build system to compile a firmware image&#8221;<\/a>. This is assuming you have setup your system with the necessary tools to build the code. My Gentoo system didn&#8217;t require anything to be installed, but if yours doesn&#8217;t you can get some info <a href=\"https:\/\/openwrt.org\/docs\/guide-developer\/build-system\/install-buildsystem\" target=\"_blank\">here<\/a>. <\/p>\n<p>Once you have your system ready and updated your feeds, copy the <a href=\"\/~stathis\/downloads\/config-tl-wa901nd-v3\">config-tl-wa901nd-v3<\/a> kernel config in the root of the source code. If you want to customize it, do <code>make menuconfig<\/code>, then <code>make -j1<\/code>, or <code>make -j5<\/code> if you have 4 cores, etc.<\/p>\n<p>You may have to wait for quite a while for this to complete. Once done the images will be created in <code>bin\/targets\/ar71xx\/generic\/<\/code>. Note that if there are no errors, but you don&#8217;t see the <code>lede-ar71xx-generic-tl-wa901nd-v3-squashfs-factory.bin<\/code> and <code>lede-ar71xx-generic-tl-wa901nd-v3-squashfs-sysupgrade.bin<\/code> files, it means the packages and features you included in the rom&#8217;s kernel may have exceeded the amount of space the device has. You have to remove some features via the kernel configuration and try recompiling.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>10 June 2018 &#8211; NOTE: LEDE is no more. It has merged with OpenWRT. Furthermore, the TP-Link WA901NDV3 is no longer supported. I have updated some of the links to the new OpenWRT website, but further changes may have taken place. I will leave the post here for reference, but you ought to try compiling [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[91,86,87,89,88,90],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"stathis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#website\",\"url\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/\",\"name\":\"sigmoid\",\"description\":\"..oo..oo..oo..oo..oo..oo..\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/#webpage\",\"url\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/\",\"name\":\"OpenWRT\/LEDE custom rom for TP-Link WA901NDV3 - sigmoid\",\"isPartOf\":{\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#website\"},\"datePublished\":\"2017-06-15T13:03:23+00:00\",\"dateModified\":\"2018-06-11T00:45:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#\/schema\/person\/508363c4ebd1fd6066edf00c94e37e41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenWRT\/LEDE custom rom for TP-Link WA901NDV3\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#\/schema\/person\/508363c4ebd1fd6066edf00c94e37e41\",\"name\":\"stathis\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/2.gravatar.com\/avatar\/214f29f604ec7d8d2f1345c5fa617c09?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/2.gravatar.com\/avatar\/214f29f604ec7d8d2f1345c5fa617c09?s=96&d=mm&r=g\",\"caption\":\"stathis\"},\"url\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/author\/stathis\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/","twitter_misc":{"Written by":"stathis","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#website","url":"https:\/\/www.npcglib.org\/~stathis\/blog\/","name":"sigmoid","description":"..oo..oo..oo..oo..oo..oo..","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.npcglib.org\/~stathis\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/#webpage","url":"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/","name":"OpenWRT\/LEDE custom rom for TP-Link WA901NDV3 - sigmoid","isPartOf":{"@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#website"},"datePublished":"2017-06-15T13:03:23+00:00","dateModified":"2018-06-11T00:45:23+00:00","author":{"@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#\/schema\/person\/508363c4ebd1fd6066edf00c94e37e41"},"breadcrumb":{"@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/2017\/06\/15\/openwrtlede-custom-rom-tp-link-wa901ndv3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.npcglib.org\/~stathis\/blog\/"},{"@type":"ListItem","position":2,"name":"OpenWRT\/LEDE custom rom for TP-Link WA901NDV3"}]},{"@type":"Person","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#\/schema\/person\/508363c4ebd1fd6066edf00c94e37e41","name":"stathis","image":{"@type":"ImageObject","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#personlogo","inLanguage":"en-US","url":"http:\/\/2.gravatar.com\/avatar\/214f29f604ec7d8d2f1345c5fa617c09?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/214f29f604ec7d8d2f1345c5fa617c09?s=96&d=mm&r=g","caption":"stathis"},"url":"https:\/\/www.npcglib.org\/~stathis\/blog\/author\/stathis\/"}]}},"_links":{"self":[{"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/posts\/1962"}],"collection":[{"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/comments?post=1962"}],"version-history":[{"count":9,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/posts\/1962\/revisions"}],"predecessor-version":[{"id":2000,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/posts\/1962\/revisions\/2000"}],"wp:attachment":[{"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/media?parent=1962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/categories?post=1962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/tags?post=1962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}