Difference between revisions of "OpenWRT: Build Firmware Ubiquiti NanoStation2"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
Dalam contoh ini akan di perlihatkan cara compile firmware Ubiquiti NanoStation2 untuk keperluah MESH dengan OLSRD. oleh karenanya membutuhkan aplikasi seperti | Dalam contoh ini akan di perlihatkan cara compile firmware Ubiquiti NanoStation2 untuk keperluah MESH dengan OLSRD. oleh karenanya membutuhkan aplikasi seperti | ||
− | |||
* olsrd | * olsrd | ||
− | * | + | * meshwizard |
Pastikan | Pastikan | ||
Line 31: | Line 30: | ||
./scripts/feeds update | ./scripts/feeds update | ||
./scripts/feeds install meshwizard openssh-server openssh-client | ./scripts/feeds install meshwizard openssh-server openssh-client | ||
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw olsrd-mod-dyn-gw |
− | + | ./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-txtinfo | |
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo |
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf |
− | ./scripts/feeds install olsrd-mod- | + | make defconfig |
make menuconfig | make menuconfig | ||
make -j 2 world | make -j 2 world | ||
Line 47: | Line 46: | ||
./scripts/feeds update | ./scripts/feeds update | ||
./scripts/feeds install meshwizard openssh-server openssh-client | ./scripts/feeds install meshwizard openssh-server openssh-client | ||
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw olsrd-mod-dyn-gw |
− | + | ./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-txtinfo | |
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo |
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf |
− | ./scripts/feeds install olsrd-mod- | + | make defconfig |
make menuconfig | make menuconfig | ||
make -j 2 world | make -j 2 world | ||
Line 67: | Line 66: | ||
./scripts/feeds update | ./scripts/feeds update | ||
./scripts/feeds install meshwizard openssh-server openssh-client | ./scripts/feeds install meshwizard openssh-server openssh-client | ||
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw olsrd-mod-dyn-gw |
− | + | ./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-txtinfo | |
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo |
− | ./scripts/feeds install | + | ./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf |
− | ./scripts/feeds install olsrd-mod- | + | make defconfig |
make menuconfig | make menuconfig | ||
make -j 2 world | make -j 2 world |
Revision as of 06:56, 24 July 2012
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
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 olsrd olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw olsrd-mod-dyn-gw ./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-txtinfo ./scripts/feeds install olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo ./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf make defconfig make menuconfig make -j 2 world
Compile Menggunakan BackFire 10.03
Lakukan sebagai user biasa
svn co svn://svn.openwrt.org/openwrt/branches/backfire ~/openwrt.10.03/trunk/ cd ~/openwrt.10.03/trunk/ ./scripts/feeds update ./scripts/feeds install meshwizard openssh-server openssh-client ./scripts/feeds install olsrd olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw olsrd-mod-dyn-gw ./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-txtinfo ./scripts/feeds install olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo ./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf make defconfig make menuconfig make -j 2 world
Sayang di branch BackFire yang ada profile untuk WZR HP G300NH
tidak ada profile untuk WZR HP G450H, mungkin bisa menggunakan profile generic.
Compile Menggunakan Kamikaze 8.09
Lakukan sebagai user biasa
svn co svn://svn.openwrt.org/openwrt/branches/8.09 ~/openwrt.8.09/trunk cd ~/openwrt.8.09/trunk/ ./scripts/feeds update ./scripts/feeds install meshwizard openssh-server openssh-client ./scripts/feeds install olsrd olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw olsrd-mod-dyn-gw ./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-txtinfo ./scripts/feeds install olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo ./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf make defconfig make menuconfig make -j 2 world
Lokasi Image
Lokasi image ada di
<buildroot>/bin/arsitektur-nya/
Misalnya
<buildroot>/bin/atheros//
Contoh
~/openwrt.trunk/trunk/bin/atheros/