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

From OnnoWiki
Jump to navigation Jump to search
Line 30: Line 30:
 
  cd ~/openwrt.trunk/trunk/
 
  cd ~/openwrt.trunk/trunk/
 
  ./scripts/feeds update
 
  ./scripts/feeds update
  ./scripts/feeds install openssh-server openssh-client luci luci-app-olsr luci-app-olsr-services
+
  ./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-app-olsr-viz luci-app-freifunk-policyrouting luci-mod-freifunk
  ./scripts/feeds install olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw
+
  ./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
 
  make defconfig
 
  make defconfig
 
  make menuconfig
 
  make menuconfig
Line 44: Line 47:
 
  cd ~/openwrt.10.03/trunk/
 
  cd ~/openwrt.10.03/trunk/
 
  ./scripts/feeds update
 
  ./scripts/feeds update
  ./scripts/feeds install openssh-server openssh-client luci luci-app-olsr luci-app-olsr-services
+
  ./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-app-olsr-viz luci-app-freifunk-policyrouting luci-mod-freifunk
  ./scripts/feeds install olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw
+
  ./scripts/feeds install luci-theme-freifunk-generic olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw
make defconfig
+
./scripts/feeds install olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw make defconfig
 
  make menuconfig
 
  make menuconfig
 
  make -j 2 world
 
  make -j 2 world
Line 62: Line 67:
 
  cd ~/openwrt.8.09/trunk/
 
  cd ~/openwrt.8.09/trunk/
 
  ./scripts/feeds update
 
  ./scripts/feeds update
  ./scripts/feeds install openssh-server openssh-client luci luci-app-olsr luci-app-olsr-services
+
  ./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-app-olsr-viz luci-app-freifunk-policyrouting luci-mod-freifunk
  ./scripts/feeds install olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw
+
  ./scripts/feeds install luci-theme-freifunk-generic olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw
make defconfig
+
./scripts/feeds install olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw make defconfig
 
  make menuconfig
 
  make menuconfig
 
  make -j 2 world
 
  make -j 2 world

Revision as of 06:40, 23 July 2012

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

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
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 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 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 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 make defconfig
make menuconfig
make -j 2 world


Lokasi Image

Lokasi image ada di

<buildroot>/bin/arsitektur-nya/

Misalnya

<buildroot>/bin/ar71xx/

Contoh

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


Referensi

Pranala Menarik