Difference between revisions of "OpenWRT: Build Firmware Ubiquiti NanoStation2"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | Dalam contoh ini akan di perlihatkan cara compile firmware Ubiquiti NanoStation2 untuk | + | Dalam contoh ini akan di perlihatkan cara compile firmware Ubiquiti NanoStation2 untuk keperluan MESH dengan OLSRD. oleh karenanya membutuhkan aplikasi seperti |
* olsrd | * olsrd | ||
Line 22: | Line 22: | ||
apt-get update | apt-get update | ||
apt-get install subversion gawk flex sharutils bison libz-dev zlib1g-dev patch \ | apt-get install subversion gawk flex sharutils bison libz-dev zlib1g-dev patch \ | ||
− | fakeroot lzma git-core build-essential unzip | + | fakeroot lzma git-core build-essential unzip libncurses5-dev curl php-xml-parser \ |
+ | libexpat1 libexpat1-dev libssl-dev | ||
+ | |||
+ | cd /usr/local/src | ||
+ | wget http://www.cpan.org/modules/by-module/XML/XML-Parser-2.43.tar.gz | ||
+ | tar zxvf XML-Parser-2.43.tar.gz | ||
+ | cd /usr/local/src/XML-Parser-2.43 | ||
+ | perl Makefile.PL | ||
+ | make install | ||
==Compile Menggunakan Development Trunk== | ==Compile Menggunakan Development Trunk== | ||
Line 30: | Line 38: | ||
Lakukan sebagai user biasa | Lakukan sebagai user biasa | ||
− | + | git clone git://git.openwrt.org/openwrt.git | |
− | cd | + | cd openwrt |
./scripts/feeds update | ./scripts/feeds update | ||
./scripts/feeds install meshwizard openssh-server openssh-client | ./scripts/feeds install meshwizard openssh-server openssh-client | ||
Line 41: | Line 49: | ||
./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo | ./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 olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf | ||
− | ./scripts/feeds install 6in4 6rd 4th 6to4 6tunnel libdaemon | + | ./scripts/feeds install luci-app-upnp minidlna miniupnpc miniupnpd luci-app-minidlna |
+ | ./scripts/feeds install libdlna libgupnp libgupnp-dlna rtorrent | ||
+ | ./scripts/feeds install usb-modeswitch usb-modeswitch-data usbutils multiwan | ||
+ | ./scripts/feeds install 6in4 6rd 4th 6to4 6tunnel libdaemon aprx usb-modeswitch | ||
+ | ./scripts/feeds install pptpd ppp-mod-pptp smstools3 picocom | ||
+ | ./scripts/feeds install kamailio4 kamailio asterisk18 asterisk11 coova-chilli | ||
+ | ./scripts/feeds update -a | ||
+ | ./scripts/feeds install -a | ||
+ | make clean | ||
make defconfig | make defconfig | ||
make menuconfig | make menuconfig | ||
Line 162: | Line 178: | ||
Lokasi image ada di | Lokasi image ada di | ||
− | + | cd ~/openwrt.trunk/trunk/bin/atheros/ | |
− | + | Bisa dilihat menggunakan ls | |
− | + | ls | |
− | + | openwrt-atheros-ubnt2-squashfs.bin | |
− | |||
− | |||
==Referensi== | ==Referensi== | ||
Line 179: | Line 193: | ||
* [[OpenWRT]] | * [[OpenWRT]] | ||
+ | * [[OpenWRT: Download Firmware yang sudah jadi]] | ||
* [[OpenWRT: Source Repository Download]] | * [[OpenWRT: Source Repository Download]] | ||
* [[OpenWRT: Melihat Daftar Package]] | * [[OpenWRT: Melihat Daftar Package]] | ||
+ | * [[OpenWRT: Mengembalikan setting default Config.in]] | ||
+ | |||
+ | ===Build Firmware=== | ||
+ | |||
* [[OpenWRT: Build Firmware]] | * [[OpenWRT: Build Firmware]] | ||
+ | * [[OpenWRT: Build Firmware Download Source Pendukung]] | ||
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]] | * [[OpenWRT: Build Firmware Buffalo WZRHPG450H]] | ||
− | * [[OpenWRT: Build Firmware Ubiquiti NanoStation2]] | + | * [[OpenWRT: Build Firmware Buffalo WZRHPG300N]] |
+ | * [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2]] | ||
+ | * [[Buffalo]] | ||
+ | * [[Buffalo: WZRHPG450H Cara Recovery]] | ||
+ | * [[Buffalo: WZRHPG450H OpenWRT mengaktifkan setelah di flash]] | ||
+ | * '''[[Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri]]''' '''RECOMMENDED''' | ||
+ | * [[Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD]] | ||
+ | * [[OpenWRT: Build Firmware Ubiquiti NanoStation2]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Build Firmware Ubiquiti NanoStationM2]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Build Firmware Mikrotik RB433]] | ||
+ | * [[OpenWRT: Build Firmware Linksys WRT160NL]] | ||
+ | * [[OpenWRT: Build Firmware Linksys WRT54GL]] | ||
+ | |||
+ | ===APRX=== | ||
+ | |||
+ | |||
+ | * [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2 untuk APRX]] | ||
+ | * [[OpenWRT: Setup APRX]] | ||
+ | |||
+ | ===IPv6=== | ||
+ | |||
+ | * [[OpenWRT: IPv6]] | ||
+ | * [[OpenWRT IPv6: Build Firmware Linksys WRT160NL]] | ||
+ | * [[OpenWRT IPv6: Build Firmware Linksys WRT160NL Tanpa WebGUI]] | ||
+ | * [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG450H]] | ||
+ | * [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG300NH2]] | ||
+ | * [[OpenWRT IPv6: Setup tunnel ke tunnelbroker]] | ||
+ | * [[OpenWRT IPv6: Konfigurasi]] | ||
+ | * [[OpenWRT IPv6: Konfigurasi WAN6 dengan radvd]] | ||
+ | |||
+ | ===Flash Firmware=== | ||
+ | |||
+ | * [[OpenWRT: Flash Linksys WRT54GL]] | ||
+ | * [[OpenWRT: Flash Linksys WRT160NL]] | ||
+ | * [[OpenWRT: Flash Buffalo WZRHP450H]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Flash Buffalo WZRHP300N]] | ||
+ | * [[OpenWRT: Flash UBNT NanoStation2]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Flash UBNT NanoStation M2]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Flash UBNT NanoStation Loco M2]] | ||
+ | * [[OpenWRT: Flash UBNT Bullet M2]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Flash Mikrotik RB433]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Flash Mikrotik RB450]] | ||
+ | |||
+ | ===Misc=== | ||
+ | |||
+ | * [[OpenWRT: Setup WiFi]] | ||
+ | * [[OpenWRT: Setup PPTP VPN Server]] | ||
+ | * [[OpenWRT: Setup OLSR di UBNT via CLI]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Mikrotik RB433]] '''RECOMMENDED''' | ||
+ | * [[OpenWRT: Setup OLSR Sederhana]] | ||
+ | * [[OpenWRT: Setup OLSR via Web]] '''RECOMMENDED''' | ||
+ | * [[OLSR - di OpenWRT]] | ||
+ | * [[OpenWRT: 3G modem]] | ||
+ | * [[OpenWRT: Build Firmware dengan 3G Modem Support]] | ||
+ | * [[OpenWRT: Setup Firewall]] | ||
+ | * [[OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI]] | ||
+ | * [[OpenWRT: OLSR nameservice plugin]] | ||
+ | |||
+ | ===UBNT=== | ||
+ | |||
* [[UBNT]] | * [[UBNT]] | ||
+ | * [[UBNT: Teknik Recovery]] | ||
+ | * [[UBNT: Upload Firmware]] | ||
+ | * [[UBNT: Rebuild Firmware]] | ||
+ | * [[UBNT: firmware dengan OLSR]]25 | ||
+ | * [[UBNT: openwrt]] | ||
+ | * [[UBNT: olsr dengan openwrt]] | ||
+ | * [[UBNT: olsr dengan kamikaze openwrt]] | ||
+ | * [[UBNT: olsr dengan backfire openwrt]] | ||
+ | * [[UBNT: UniFi]] | ||
+ | * [[UBNT: UniFi Konfigurasi Awal]] | ||
+ | * [[UBNT: UniFi Manajemen HotSpot]] | ||
+ | * [[UBNT: OLSR Pembuatan Firmware]] | ||
+ | * [[UBNT: OLSR Konfigurasi]] | ||
+ | * [[OLSR - di UBNT]] | ||
+ | * [[OLSR - di Ubuntu]] | ||
+ | * [[OpenWRT]] | ||
+ | * [[OLSR: NAT di UBNT dengan OLSR]] |
Latest revision as of 06:18, 9 May 2016
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 keperluan MESH dengan OLSRD. oleh karenanya membutuhkan aplikasi seperti
- olsrd
- meshwizard
Pastikan
- Target System Atheros AR231x/AR5312
- 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 zlib1g-dev patch \ fakeroot lzma git-core build-essential unzip libncurses5-dev curl php-xml-parser \ libexpat1 libexpat1-dev libssl-dev
cd /usr/local/src wget http://www.cpan.org/modules/by-module/XML/XML-Parser-2.43.tar.gz tar zxvf XML-Parser-2.43.tar.gz cd /usr/local/src/XML-Parser-2.43 perl Makefile.PL make install
Compile Menggunakan Development Trunk
Development Trunk tampaknya paling RECOMMENDED
Lakukan sebagai user biasa
git clone git://git.openwrt.org/openwrt.git cd openwrt ./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 luci-app-upnp minidlna miniupnpc miniupnpd luci-app-minidlna ./scripts/feeds install libdlna libgupnp libgupnp-dlna rtorrent ./scripts/feeds install usb-modeswitch usb-modeswitch-data usbutils multiwan ./scripts/feeds install 6in4 6rd 4th 6to4 6tunnel libdaemon aprx usb-modeswitch ./scripts/feeds install pptpd ppp-mod-pptp smstools3 picocom ./scripts/feeds install kamailio4 kamailio asterisk18 asterisk11 coova-chilli ./scripts/feeds update -a ./scripts/feeds install -a make clean make defconfig make menuconfig make world
Setup Menuconfig
Menuconfig untuk UBNT2 untuk OLSR dilengkapi dengan WebGUI LuCI
Target System > Atheros AR231x/AR5312 Target Profile > Default Target Images > tar.gz Base system > bridge Network > Routing and Redirection > ip Network > Routing and Redirection > relayd Network > Routing and Redirection > olsrd Network > Routing and Redirection > olsrd > olsrd-mod-arprefresh olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-dyn-gw-plain olsrd-mod-httpinfo olsrd-mod-jsoninfo olsrd-mod-mdns olsrd-mod-nameservice olsrd-mod-p2pd olsrd-mod-pgraph olsrd-mod-quagga olsrd-mod-secure olsrd-mod-tas olsrd-mod-txtinfo olsrd-mod-watchdog Network > SSH > openssh-server Network > hostapd Network > Time Synchronization > ntpclient Network > Web Servers/Proxies > uhttpd uhttpd-mod-lua uhttpd-mod-tls uhttpd-mod-ubus LuCI > 1. Collections > luci luci-ssl 2. Modules > luci-mod-freifunk 3. Applications > luci-app-freifunk-policyrouting luci-app-meshwizard luci-app-ntpc luci-app-olsr luci-app-olsr-services luci-app-olsr-viz luci-app-p2pblock luci-app-statistics 4. Themes > luci-theme-bootstrap luci-theme-freifunk-bno luci-theme-freifunk-generic 7. Server Interfaces > luci-sgi-uhttpd 9. Freifunk > luci-mod-freifunk-community meshwizard Kernel modules > Wireless Drivers > kmod-ath9k-htc kmod-ath9k-common kmod-ath9k Kernel modules > Network Support > kmod-bridge Utilities > iwinfo
Menuconfig untuk UBNT2 untuk OLSR TANPA WebGUI LuCI agar lebih ringan ke system.
Target System > Atheros AR231x/AR5312 Target Profile > Default Target Images > tar.gz Base system > bridge Network > Routing and Redirection > ip Network > Routing and Redirection > relayd Network > Routing and Redirection > olsrd Network > Routing and Redirection > olsrd > olsrd-mod-arprefresh olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-dyn-gw-plain olsrd-mod-httpinfo olsrd-mod-jsoninfo olsrd-mod-mdns olsrd-mod-nameservice olsrd-mod-p2pd olsrd-mod-pgraph olsrd-mod-quagga olsrd-mod-secure olsrd-mod-tas olsrd-mod-txtinfo olsrd-mod-watchdog Network > SSH > openssh-server Network > hostapd Network > Time Synchronization > ntpclient Kernel modules > Wireless Drivers > kmod-ath9k-htc kmod-ath9k-common kmod-ath9k Kernel modules > Network Support > kmod-bridge Utilities > iwinfo
Update Source Code
cd ~/openwrt.trunk/trunk/ svn cleanup svn update ./scripts/feeds update
Lokasi Image
Lokasi image ada di
cd ~/openwrt.trunk/trunk/bin/atheros/
Bisa dilihat menggunakan ls
ls
openwrt-atheros-ubnt2-squashfs.bin
Referensi
Pranala Menarik
- OpenWRT
- OpenWRT: Download Firmware yang sudah jadi
- OpenWRT: Source Repository Download
- OpenWRT: Melihat Daftar Package
- OpenWRT: Mengembalikan setting default Config.in
Build Firmware
- OpenWRT: Build Firmware
- OpenWRT: Build Firmware Download Source Pendukung
- OpenWRT: Build Firmware Buffalo WZRHPG450H
- OpenWRT: Build Firmware Buffalo WZRHPG300N
- OpenWRT: Build Firmware Buffalo WZRHPG300NH2
- Buffalo
- Buffalo: WZRHPG450H Cara Recovery
- Buffalo: WZRHPG450H OpenWRT mengaktifkan setelah di flash
- Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri RECOMMENDED
- Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD
- OpenWRT: Build Firmware Ubiquiti NanoStation2 RECOMMENDED
- OpenWRT: Build Firmware Ubiquiti NanoStationM2 RECOMMENDED
- OpenWRT: Build Firmware Mikrotik RB433
- OpenWRT: Build Firmware Linksys WRT160NL
- OpenWRT: Build Firmware Linksys WRT54GL
APRX
IPv6
- OpenWRT: IPv6
- OpenWRT IPv6: Build Firmware Linksys WRT160NL
- OpenWRT IPv6: Build Firmware Linksys WRT160NL Tanpa WebGUI
- OpenWRT IPv6: Build Firmware Buffalo WZRHPG450H
- OpenWRT IPv6: Build Firmware Buffalo WZRHPG300NH2
- OpenWRT IPv6: Setup tunnel ke tunnelbroker
- OpenWRT IPv6: Konfigurasi
- OpenWRT IPv6: Konfigurasi WAN6 dengan radvd
Flash Firmware
- OpenWRT: Flash Linksys WRT54GL
- OpenWRT: Flash Linksys WRT160NL
- OpenWRT: Flash Buffalo WZRHP450H RECOMMENDED
- OpenWRT: Flash Buffalo WZRHP300N
- OpenWRT: Flash UBNT NanoStation2 RECOMMENDED
- OpenWRT: Flash UBNT NanoStation M2 RECOMMENDED
- OpenWRT: Flash UBNT NanoStation Loco M2
- OpenWRT: Flash UBNT Bullet M2 RECOMMENDED
- OpenWRT: Flash Mikrotik RB433 RECOMMENDED
- OpenWRT: Flash Mikrotik RB450
Misc
- OpenWRT: Setup WiFi
- OpenWRT: Setup PPTP VPN Server
- OpenWRT: Setup OLSR di UBNT via CLI RECOMMENDED
- OpenWRT: Mikrotik RB433 RECOMMENDED
- OpenWRT: Setup OLSR Sederhana
- OpenWRT: Setup OLSR via Web RECOMMENDED
- OLSR - di OpenWRT
- OpenWRT: 3G modem
- OpenWRT: Build Firmware dengan 3G Modem Support
- OpenWRT: Setup Firewall
- OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI
- OpenWRT: OLSR nameservice plugin
UBNT
- UBNT
- UBNT: Teknik Recovery
- UBNT: Upload Firmware
- UBNT: Rebuild Firmware
- UBNT: firmware dengan OLSR25
- UBNT: openwrt
- UBNT: olsr dengan openwrt
- UBNT: olsr dengan kamikaze openwrt
- UBNT: olsr dengan backfire openwrt
- UBNT: UniFi
- UBNT: UniFi Konfigurasi Awal
- UBNT: UniFi Manajemen HotSpot
- UBNT: OLSR Pembuatan Firmware
- UBNT: OLSR Konfigurasi
- OLSR - di UBNT
- OLSR - di Ubuntu
- OpenWRT
- OLSR: NAT di UBNT dengan OLSR