Setting up build environment for compiling AirOS 5.3.3 SDK
SDK available @ http://www.ubnt.com/support/sdk.php
[halli@centos software]$ tar xzvf SDK.UBNT.v5.3.3.tar.gz [halli@centos software]$ cd SDK.UBNT.v5.3.3/openwrt [halli@centos openwrt]$ cd package/ [halli@centos package]$ cd ubnt-base-files/files/ [halli@centos files]$ ls bin etc init lib sbin usr [halli@centos files]$ cd usr/etc/ [halli@centos etc]$ ls cardlist.txt hotplug.d protocols system-3g.cfg system-e6c2.cfg ethertypes init.d rc.d system.cfg system-soho.cfg fstab inittab server.crt system-e402.cfg system-wsoho.cfg group lighttpd server.key system-e4a2.cfg udhcpc host.conf login.defs services system-e4b2.cfg udhcpc_services hosts passwd shells system-e6a2.cfg hotplug2.rules profile startup.list system-e6b2.cfg [halli@centos software]$ cd ~/software/SDK.UBNT.v5.3.3/openwrt [halli@centos openwrt]$ make Checking 'working-make'... ok. Checking 'case-sensitive-fs'... ok. Checking 'getopt'... ok. Checking 'fileutils'... ok. Checking 'working-gcc'... ok. Checking 'working-g++'... ok. Checking 'ncurses'... ok. Checking 'zlib'... ok. Checking 'gawk'... ok. Checking 'flex'... ok. Checking 'unzip'... ok. Checking 'bzip2'... ok. Checking 'patch'... ok. Checking 'perl'... ok. Checking 'python'... ok. Checking 'wget'... ok. Checking 'gnutar'... ok. Checking 'svn'... ok. Checking 'gnu-find'... ok. Checking 'getopt-extended'... ok. Checking 'non-root'... ok. ++ mkdir -p software/SDK.UBNT.v5.3.3/openwrt/staging_dir/toolchain-mips_gcc4.1.2 ++ cd software/SDK.UBNT.v5.3.3/openwrt/staging_dir/toolchain-mips_gcc4.1.2 ++ mkdir -p bin lib include stamp Collecting package info: done Collecting target info: done make[1] world make[2] tools/install make[3] -C tools/sed compile make[3] -C tools/sed install make[3] -C tools/sstrip compile make[3] -C tools/sstrip install make[3] -C tools/ipkg-utils compile make[3] -C tools/ipkg-utils install ~~~~~~~~~~~~ make[3] -C tools/quilt compile make[3] -C tools/quilt install make[3] -C tools/ubnt-mkfwimage compile make[3] -C tools/ubnt-mkfwimage install make[2] toolchain/install make[3] -C toolchain/kernel-headers prepare make[3] -C toolchain/uClibc prepare make[3] -C toolchain/binutils prepare make[3] -C toolchain/binutils compile make[3] -C toolchain/binutils install make[3] -C toolchain/gcc prepare make[3] -C toolchain/gcc compile make[3] -C toolchain/uClibc compile make[3] -C toolchain/gcc install make[3] -C toolchain/uClibc install make[2] target/compile make[3] -C target/linux compile make[2] package/cleanup make[2] package/compile make[3] -C package/base-files compile make[3] -C package/busybox compile make[3] -C package/linux-atm compile make[3] -C package/libpcap compile make[3] -C package/ppp compile make[3] -C package/dnsmasq compile ~~~~~~~~~~~~ make[3] -C package/wpa_supplicant install make[3] -C package/zlib install make[2] package/rootfs-prepare make[3] package/preconfig make[2] target/install make[3] -C target/linux install make[2] package/index Copy FW to your device & initiate update process: [halli@centos openwrt]$ scp bin/XM.v5.3.3.sdk.bin ubnt@ap-temp.bdsm.local:/tmp/fwupdate.bin Log into your device and start the update: [ubnt@ap-temp]$ /sbin/ubntbox fwupdate.real -m /tmp/fwupdate.bin -d In a few minutes, after the unit comes back up, log into it again and issue the command to reset the device to the AirOS defaults: [ubnt@ap-temp]$ cfgmtd -f /usr/etc/system.cfg -w && reboot