{"id":163,"date":"2015-03-16T13:45:49","date_gmt":"2015-03-16T11:45:49","guid":{"rendered":"http:\/\/www.hojgaard.org\/?p=163"},"modified":"2015-03-23T21:51:23","modified_gmt":"2015-03-23T19:51:23","slug":"openwrt-build-root","status":"publish","type":"post","link":"https:\/\/hojgaard.org\/?p=163","title":{"rendered":"OpenWrt build root"},"content":{"rendered":"<p>Install Ubuntu 14.04 Desktop<\/p>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;width:570px;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-get install<\/span> subversion build-essential libncurses5-dev zlib1g-dev <span class=\"kw2\">gawk<\/span> <span class=\"kw2\">git<\/span> ccache <span class=\"kw2\">gettext<\/span> libssl-dev xsltproc <span class=\"kw2\">zip<\/span><\/div><\/div>\n<p>clone from trunk<\/p>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;width:570px;\"><div class=\"bash codecolorer\"><span class=\"kw2\">git clone<\/span> git:<span class=\"sy0\">\/\/<\/span>git.openwrt.org<span class=\"sy0\">\/<\/span>openwrt.git<\/div><\/div>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;width:570px;\"><div class=\"bash codecolorer\">&nbsp;<span class=\"kw3\">cd<\/span> ~<span class=\"sy0\">\/<\/span>openwrt<br \/>\n.<span class=\"sy0\">\/<\/span>scripts<span class=\"sy0\">\/<\/span>feeds update <span class=\"re5\">-a<\/span><br \/>\n.<span class=\"sy0\">\/<\/span>scripts<span class=\"sy0\">\/<\/span>feeds <span class=\"kw2\">install<\/span> <span class=\"re5\">-a<\/span><\/div><\/div>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;width:570px;\"><div class=\"bash codecolorer\"><span class=\"kw2\">make<\/span> prereq<\/div><\/div>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;width:570px;\"><div class=\"bash codecolorer\"><span class=\"kw2\">make<\/span> menuconfig<\/div><\/div>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;width:570px;\"><div class=\"bash codecolorer\"><span class=\"kw2\">make<\/span><\/div><\/div>\n<p>Enable Channel 12\/13 (echo &#8220;CONFIG_ATH_USER_REGD=y&#8221; >> .config)<br \/>\nIn menuconfig press \u00ab \/ \u00bb and type \u00ab REGD \u00bb. This will search all the menu items and display the path to reach it.<br \/>\nATH_USER_REGD is a little buried. Editing .config is not recommended because some options have dependencies on other options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Ubuntu 14.04 Desktop sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip clone from trunk git clone git:\/\/git.openwrt.org\/openwrt.git &nbsp;cd ~\/openwrt .\/scripts\/feeds update -a .\/scripts\/feeds install -a make prereq make menuconfig make Enable Channel 12\/13 (echo &#8220;CONFIG_ATH_USER_REGD=y&#8221; >> .config) In menuconfig press \u00ab \/ \u00bb and type \u00ab REGD \u00bb. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/hojgaard.org\/index.php?rest_route=\/wp\/v2\/posts\/163"}],"collection":[{"href":"https:\/\/hojgaard.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hojgaard.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hojgaard.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hojgaard.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=163"}],"version-history":[{"count":4,"href":"https:\/\/hojgaard.org\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":169,"href":"https:\/\/hojgaard.org\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions\/169"}],"wp:attachment":[{"href":"https:\/\/hojgaard.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hojgaard.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hojgaard.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}