Difference between revisions of "OpenWRT: Build Firmware Buffalo WZRHPG300N"

From OnnoWiki
Jump to navigation Jump to search
(New page: WARNING: ini akan membutuhkan banyak akses ke Internet untuk download, termasuk waktu proses make. Termasuk download kernel linux, waktu compile toolchain :( ... Tampaknya tidak bisa OFFLI...)
 
 
(14 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
Pastikan
 
Pastikan
 
* Compile untuk AR71xx
 
* Compile untuk AR71xx
* Profile WZR HP G300N
+
* Profile WZR HP G300NH2
 
* Driver wireless Atheros AR9381? di install.
 
* Driver wireless Atheros AR9381? di install.
 
* Network olsrd
 
* Network olsrd
Line 25: Line 25:
 
  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
  
 
==Compile Menggunakan Development Trunk==
 
==Compile Menggunakan Development Trunk==
Line 33: Line 33:
 
Lakukan sebagai '''user biasa'''
 
Lakukan sebagai '''user biasa'''
  
  svn co svn://svn.openwrt.org/openwrt/trunk/ ~/openwrt.trunk/trunk
+
  git clone git://git.openwrt.org/openwrt.git
  cd ~/openwrt.trunk/trunk/
+
  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 49: Line 49:
 
  make defconfig
 
  make defconfig
 
  make menuconfig
 
  make menuconfig
  make world
+
  make clean
 +
make -j 3 world
  
 
==Setup Menuconfig==
 
==Setup Menuconfig==
  
Menuconfig untuk Firmware Buffalo WZRHPG450H untuk OLSR dilengkapi dengan WebGUI LuCI, Penggunaan Modem 3G
+
Menuconfig untuk Firmware Buffalo WZRHPG300GNH2 untuk OLSR dilengkapi dengan WebGUI LuCI, Penggunaan Modem 3G
  
 
  Target System > Atheros AR7xxx/AR9xxx
 
  Target System > Atheros AR7xxx/AR9xxx
 
  Subtarget > Generic  
 
  Subtarget > Generic  
  Target Profile > Buffalo WZR-HP-G300N
+
  Target Profile > Buffalo WZR-HP-G300NH2
 
  Target Images > tar.gz  
 
  Target Images > tar.gz  
Base system > bridge
 
 
  Network >
 
  Network >
 
     chat
 
     chat
Line 66: Line 66:
 
         ppp-mod-pppoe
 
         ppp-mod-pppoe
 
         ppp-mod-pppol2tp
 
         ppp-mod-pppol2tp
         ppp-mod-pptp
+
         ppp-mod-pptp
 
         ppp-mod-radius
 
         ppp-mod-radius
 
     ppp-multilink
 
     ppp-multilink
Line 75: Line 75:
 
  Network > Routing and Redirection > olsrd
 
  Network > Routing and Redirection > olsrd
 
  Network > Routing and Redirection > olsrd >
 
  Network > Routing and Redirection > olsrd >
    olsrd-mod-arprefresh
+
        olsrd-mod-arprefresh
    olsrd-mod-bmf
+
        olsrd-mod-bmf
    olsrd-mod-dot-draw
+
        olsrd-mod-dot-draw
    olsrd-mod-dyn-gw
+
        olsrd-mod-dyn-gw
    olsrd-mod-dyn-gw-plain
+
        olsrd-mod-dyn-gw-plain
    olsrd-mod-httpinfo
+
        olsrd-mod-httpinfo
    olsrd-mod-jsoninfo
+
        olsrd-mod-jsoninfo
    olsrd-mod-mdns
+
        olsrd-mod-mdns
    olsrd-mod-nameservice
+
        olsrd-mod-nameservice
    olsrd-mod-p2pd
+
        olsrd-mod-p2pd
    olsrd-mod-pgraph
+
        olsrd-mod-pgraph
    olsrd-mod-quagga
+
        olsrd-mod-pud
    olsrd-mod-secure
+
        olsrd-mod-quagga
    olsrd-mod-tas
+
        olsrd-mod-secure
    olsrd-mod-txtinfo
+
        olsrd-mod-sgwdynspeed
    olsrd-mod-watchdog
+
        olsrd-mod-txtinfo
 +
        olsrd-mod-watchdog
 
  Network > SSH > openssh-server
 
  Network > SSH > openssh-server
 
  Network > Time Synchronization > ntpclient
 
  Network > Time Synchronization > ntpclient
Line 113: Line 114:
 
             luci-mod-freifunk
 
             luci-mod-freifunk
 
         3. Applications >
 
         3. Applications >
 +
            luci-app-commands
 +
            luci-app-freifunk-diagnostics
 
             luci-app-freifunk-policyrouting
 
             luci-app-freifunk-policyrouting
 
             luci-app-meshwizard
 
             luci-app-meshwizard
Line 123: Line 126:
 
             luci-app-samba
 
             luci-app-samba
 
             luci-app-statistics
 
             luci-app-statistics
 +
            luci-app-upnp
 
             luci-app-vnstat
 
             luci-app-vnstat
 
             luci-app-wshaper
 
             luci-app-wshaper
Line 146: Line 150:
 
     kmod-bridge
 
     kmod-bridge
 
     kmod-pptp
 
     kmod-pptp
    kmod-wprobe
 
 
  Kernel Modules > USB Support >
 
  Kernel Modules > USB Support >
 
     kmod-usb-serial
 
     kmod-usb-serial
Line 156: Line 159:
 
     kmod-usb-storage
 
     kmod-usb-storage
 
     kmod-usb-storage-extras
 
     kmod-usb-storage-extras
Utilities > iwinfo
 
 
  Mail > msmtp
 
  Mail > msmtp
 
         msmtp-nossl
 
         msmtp-nossl
Line 183: Line 185:
  
 
* [[OpenWRT]]
 
* [[OpenWRT]]
 +
* [[OpenWRT: Download Firmware yang sudah jadi]]
 
* [[OpenWRT: Source Repository Download]]
 
* [[OpenWRT: Source Repository Download]]
 
* [[OpenWRT: Melihat Daftar Package]]
 
* [[OpenWRT: Melihat Daftar Package]]
 +
 +
===Build Firmware===
 +
 
* [[OpenWRT: Build Firmware]]
 
* [[OpenWRT: Build Firmware]]
 
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
 
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
* [[OpenWRT: Build Firmware Ubiquiti NanoStation2]]
+
* [[OpenWRT: Build Firmware Buffalo WZRHPG300N]]
* [[UBNT]]
 
 
* [[Buffalo]]
 
* [[Buffalo]]
 
* [[Buffalo: WZRHPG450H Cara Recovery]]
 
* [[Buffalo: WZRHPG450H Cara Recovery]]
Line 194: Line 199:
 
* '''[[Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri]]''' '''COOL'''
 
* '''[[Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri]]''' '''COOL'''
 
* [[Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD]]
 
* [[Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD]]
 +
* [[OpenWRT: Build Firmware Ubiquiti NanoStation2]]
 +
* [[OpenWRT: Build Firmware Mikrotik RB433]]
 +
* [[OpenWRT: Build Firmware Linksys WRT160NL]]
 +
* [[OpenWRT: Build Firmware Linksys WRT54GL]]
 +
 +
===Flash Firmware===
 +
 +
* [[OpenWRT: Flash Linksys WRT54GL]]
 +
* [[OpenWRT: Flash Linksys WRT160NL]]
 +
* [[OpenWRT: Flash Buffalo WZRHP450H]]
 +
* [[OpenWRT: Flash Buffalo WZRHP300N]]
 +
* [[OpenWRT: Flash UBNT NanoStation2]]
 +
* [[OpenWRT: Flash UBNT NanoStation M2]]
 +
* [[OpenWRT: Flash UBNT NanoStation Loco M2]]
 +
 +
===Misc===
 +
 +
* [[OpenWRT: Setup OLSR di UBNT via CLI]]
 +
* [[OpenWRT: Mikrotik RB433]]
 +
* [[OpenWRT: Setup OLSR Sederhana]]
 +
* [[OLSR - di OpenWRT]]
 +
* [[OpenWRT: 3G modem]]
 +
* [[OpenWRT: Build Firmware dengan 3G Modem Support]]
 +
* [[OpenWRT: Setup Firewall]]
 +
* [[OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI]]
 +
 +
===UBNT===
 +
 +
* [[UBNT]]
 +
* [[UBNT: Teknik Recovery]]
 +
* [[UBNT: Upload Firmware]]
 +
* [[UBNT: Rebuild Firmware]]
 +
* [[UBNT: firmware dengan OLSR]]
 +
* [[UBNT: openwrt]]
 +
* [[UBNT: olsr dengan openwrt]]
 +
* [[UBNT: olsr dengan kamikaze openwrt]]
 +
* [[UBNT: olsr dengan backfire openwrt]] '''RECOMMENDED'''
 +
* [[UBNT: UniFi]]
 +
* [[UBNT: UniFi Konfigurasi Awal]]
 +
* [[UBNT: UniFi Manajemen HotSpot]]
 +
* [[UBNT: OLSR Pembuatan Firmware]]
 +
* [[UBNT: OLSR Konfigurasi]]
 +
* [[OLSR - di UBNT]]
 +
* [[OLSR - di Ubuntu]]
 +
* [[OpenWRT]]

Latest revision as of 06:17, 9 May 2016

WARNING: ini akan membutuhkan banyak akses ke Internet untuk download, termasuk waktu proses make. Termasuk download kernel linux, waktu compile toolchain :( ... Tampaknya tidak bisa OFFLINE :(



Dalam contoh ini akan di perlihatkan cara compile firmware Buffalo WZR HP G300N untuk keperluah MESH dengan OLSRD. oleh karenanya membutuhkan aplikasi seperti

  • luci
  • olsrd
  • freifunk

Pastikan

  • Compile untuk AR71xx
  • Profile WZR HP G300NH2
  • 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

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 rtorrent
./scripts/feeds install usb-modeswitch usb-modeswitch-data usbutils multiwan
./scripts/feeds install 6in4 6rd 4th 6to4 6tunnel libdaemon
make defconfig
make menuconfig
make clean
make -j 3 world

Setup Menuconfig

Menuconfig untuk Firmware Buffalo WZRHPG300GNH2 untuk OLSR dilengkapi dengan WebGUI LuCI, Penggunaan Modem 3G

Target System > Atheros AR7xxx/AR9xxx
Subtarget > Generic 
Target Profile > Buffalo WZR-HP-G300NH2
Target Images > tar.gz 
Network >
    chat
    ppp
       ppp-mod-pppoa
       ppp-mod-pppoe
       ppp-mod-pppol2tp
       ppp-mod-pptp
       ppp-mod-radius
    ppp-multilink
       pppdump 
       pppstats         
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-pud
       olsrd-mod-quagga
       olsrd-mod-secure
       olsrd-mod-sgwdynspeed
       olsrd-mod-txtinfo
       olsrd-mod-watchdog
Network > SSH > openssh-server
Network > Time Synchronization > ntpclient
Network > Web Servers/Proxies > uhttpd
                                uhttpd-mod-lua
                                uhttpd-mod-tls
                                uhttpd-mod-ubus 
Network > hostapd
          hostapd-mini
          hostapd-utils
          multiwan
          samba36-client
          samba36-server
          tc
          vnstat
          vnstati
          wshaper
LuCI > 1. Collections >
            luci
            luci-ssl
       2. Modules >
            luci-mod-freifunk
       3. Applications >
            luci-app-commands
            luci-app-freifunk-diagnostics
            luci-app-freifunk-policyrouting
            luci-app-meshwizard
            luci-app-multiwan
            luci-app-ntpc
            luci-app-olsr
            luci-app-olsr-services
            luci-app-olsr-viz
            luci-app-p2pblock
            luci-app-samba
            luci-app-statistics
            luci-app-upnp
            luci-app-vnstat
            luci-app-wshaper
       4. Themes >
            luci-theme-bootstrap
            luci-theme-freifunk-bno
            luci-theme-freifunk-generic
       6. Protocols >
            luci-proto-3g
       7. Server Interfaces >
            luci-sgi-uhttpd
       9. Freifunk >
            luci-mod-freifunk-community
            meshwizard
Kernel modules > Filesystems >
    kmod-fs-ntfs
    kmod-fs-vfat
Kernel modules > Wireless Drivers > 
    kmod-ath9k-htc
    kmod-ath9k-common
    kmod-ath9k
Kernel modules > Network Support >
    kmod-bridge
    kmod-pptp
Kernel Modules > USB Support >
    kmod-usb-serial
         kmod-usb-serial-ipw
         kmod-usb-serial-option
         kmod-usb-serial-qualcomm
         kmod-usb-serial-wwan
    kmod-usb-acm
    kmod-usb-storage
    kmod-usb-storage-extras
Mail > msmtp
       msmtp-nossl
       msmtp-queue

Update SVN

Untuk update SVN, di folder trunk lakukan

cd ~/openwrt.trunk/trunk/
svn cleanup
svn update
./scripts/feeds update

Lokasi Image

Lokasi image ada di

~/openwrt.trunk/trunk/bin/ar71xx/

Referensi

Pranala Menarik

Build Firmware

Flash Firmware

Misc

UBNT