Difference between revisions of "OpenWRT: Build Firmware Ubiquiti NanoStation2"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 48: | Line 48: | ||
cd ~/openwrt.trunk/trunk/ | cd ~/openwrt.trunk/trunk/ | ||
+ | svn cleanup | ||
svn update | svn update | ||
./scripts/feeds update | ./scripts/feeds update |
Revision as of 11:35, 1 September 2012
WARNING: ini akan membutuhkan banyak akses ke Internet untuk download, termasuk waktu proses make. Tampaknya tidak bisa OFFLINE :(
Dalam contoh ini akan di perlihatkan cara compile firmware Ubiquiti NanoStation2 untuk keperluah MESH dengan OLSRD. oleh karenanya membutuhkan aplikasi seperti
- olsrd
- meshwizard
Pastikan
- Compile untuk atheros
- Profile UBNT
- Driver wireless Atheros AR9381? di install.
- Network olsrd
Siapkan Pendukung
Lakukan
sudo su apt-get update apt-get install subversion gawk flex sharutils bison libz-dev patch fakeroot lzma git-core build-essential
Compile Menggunakan Development Trunk
Development Trunk tampaknya paling RECOMMENDED
Lakukan sebagai user biasa
svn co svn://svn.openwrt.org/openwrt/trunk/ ~/openwrt.trunk/trunk cd ~/openwrt.trunk/trunk/ ./scripts/feeds update ./scripts/feeds install meshwizard openssh-server openssh-client ./scripts/feeds install freifunk-common freifunk-gwcheck freifunk-mapupdate ./scripts/feeds install luci luci-app-meshwizard luci-app-olsr luci-app-olsr-services ./scripts/feeds install luci-app-olsr-viz luci-app-freifunk-policyrouting luci-mod-freifunk ./scripts/feeds install luci-theme-freifunk-generic olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw ./scripts/feeds install olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw ./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo ./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf ./scripts/feeds install 6in4 6rd 4th 6to4 6tunnel libdaemon make defconfig make menuconfig make -j 2 world
Update Source Code
cd ~/openwrt.trunk/trunk/ svn cleanup svn update ./scripts/feeds update
Lokasi Image
Lokasi image ada di
<buildroot>/bin/arsitektur-nya/
Misalnya
<buildroot>/bin/atheros/
Contoh
~/openwrt.trunk/trunk/bin/atheros/