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

From OnnoWiki
Jump to navigation Jump to search
Line 48: Line 48:
 
  make defconfig
 
  make defconfig
 
  make menuconfig
 
  make menuconfig
  make -j 2 world
+
  make -j 4 world
  
 +
==Setup Menuconfig==
 +
 +
Menuconfig untuk UBNT2 untuk OLSR dilengkapi dengan WebGUI LuCI
 +
 +
Target System > Atheros AR7xxx/AR9xxx
 +
Subtarget > Generic
 +
Target Profile > Buffalo WZR-HP-G450H
 +
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
 +
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
  
 
==Update SVN==
 
==Update SVN==

Revision as of 05:43, 2 September 2012

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 G450H untuk keperluah MESH dengan OLSRD. oleh karenanya membutuhkan aplikasi seperti

  • luci
  • olsrd
  • freifunk

Pastikan

  • Compile untuk AR71xx
  • Profile WZR HP G450H
  • 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 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 -j 4 world

Setup Menuconfig

Menuconfig untuk UBNT2 untuk OLSR dilengkapi dengan WebGUI LuCI

Target System > Atheros AR7xxx/AR9xxx
Subtarget > Generic 
Target Profile > Buffalo WZR-HP-G450H
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
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

Update SVN

Untuk update SVN, di folder trunk lakukan

svn update
./scripts/feeds update

Lokasi Image

Lokasi image ada di

<buildroot>/bin/arsitektur-nya/

Misalnya

<buildroot>/bin/ar71xx/

Contoh

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

Referensi

Pranala Menarik