# Make sure that you have the needed software installed in your system. # For ubuntu: sudo apt-get update sudo apt-get install subversion build-essential sudo apt-get install git-core libncurses5-dev gawk # ============== download ======================= # First, we download current OpenWRT. mkdir ~/openwrt cd ~/openwrt svn co svn://svn.openwrt.org/openwrt/trunk/ # Tested with revision 38887. cd trunk ./scripts/feeds update -a ./scripts/feeds install -a # ============== build image: first pass ======================= # We prepare to compile a first time make menuconfig # (select Target System (Atheros AR7xxx/AR9xxx) Subtarget (Generic) and Profile (TP-LINK TL-WR1043N/ND) # [*] Advanced configuration options (for developers) ---> # [*] Toolchain Options ---> # [*] C Library implementation (Use eglibc 2.15) make defconfig make download time ionice -c 3 nice -n 20 make # approx. 77 minutes # Download and apply a patch to the openwrt configuration files # in order to enable its build system to download and build netsukuku wget -O - http://download-mirror.savannah.gnu.org/releases/netsukuku/owrt-ntkd.patch 2>/dev/null | patch -p0 # ============== build image: second pass ======================= # We prepare to compile a second time with the good stuff make menuconfig # (select package netsukuku inside category Network) # Network ---> # <*> netsukuku time ionice -c 3 nice -n 20 make # approx. 77 minutes # Find your new firmware in ./bin/ar71xx-eglibc and flash your router.