Difference between revisions of "OpenWRT: Build Firmware X86 - Quagga"

From OnnoWiki
Jump to navigation Jump to search
(Undo revision 53696 by Onnowpurbo (talk))
 
Line 8: Line 8:
  
 
  Target System > X86
 
  Target System > X86
  Network > Routing and Redirection >
+
  Network > Routing and Redirection >  
  bird1
 
  bird2
 
 
   olsrd
 
   olsrd
 
   quagga
 
   quagga
 +
    quagga-bgpd
 +
    quagga-isisd
 +
    quagga-libospf
 +
    quagga-libzebra
 +
    quagga-ospf6d
 +
    quagga-ospfd
 +
    quagga-ripd
 +
    quagga-ripngd
 +
    quagga-vtysh
 +
    quagga-watchquagga
 +
    quagga-zebra
  
 
==Compile==
 
==Compile==

Latest revision as of 08:46, 27 December 2018

cd openwrt
make clean
make defconfig
make menuconfig

Config

Target System > X86
Network > Routing and Redirection > 
  olsrd
  quagga
    quagga-bgpd
    quagga-isisd
    quagga-libospf
    quagga-libzebra
    quagga-ospf6d
    quagga-ospfd
    quagga-ripd
    quagga-ripngd
    quagga-vtysh
    quagga-watchquagga
    quagga-zebra

Compile

make world
make -j1 -V=sc world # alternatif untuk  debugging


Buat file vdi atau vmdk

Hasil openwrt-x86-generic-combined-ext4.img.gz di

~/openwrt/bin/targets/x86/generic

Lakukan

cd ~/openwrt/bin/targets/x86/generic
gunzip openwrt-x86-generic-combined-ext4.img.gz

Convert agar menjadi .vmdk atau .vdi untuk VirtualBox

vboxmanage convertfromraw --format VMDK openwrt-x86-generic-combined-ext4.img openwrt-x86-generic-combined-ext4.vmdk
vboxmanage convertfromraw --format VDI openwrt-x86-generic-combined-ext4.img openwrt-x86-generic-combined-ext4.vdi


Buat folder di /usr/local/src

Untuk menyimpan .vmdk & .vdi

mkdir -p /usr/local/src/OpenWRT-GNS3-VBOX
cp openwrt-x86-generic-combined-ext4* /usr/local/src/OpenWRT-GNS3-VBOX
chmod -Rf 777 /usr/local/src/OpenWRT-GNS3-VBOX
chown -Rf nobody: /usr/local/src/OpenWRT-GNS3-VBOX

Pranala Menarik