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

From OnnoWiki
Jump to navigation Jump to search
Line 31: Line 31:
 
==Buat file vdi atau vmdk==
 
==Buat file vdi atau vmdk==
  
File openwrt
+
Hasil openwrt-x86-generic-combined-ext4.img.gz di
  
  openwrt-x86-generic-combined-ext4.img.gz
+
  ~/openwrt/bin/targets/x86/generic
 +
 
 +
Lakukan
 +
 
 +
cd ~/openwrt/bin/targets/x86/generic
 
  gunzip openwrt-x86-generic-combined-ext4.img.gz
 
  gunzip openwrt-x86-generic-combined-ext4.img.gz
  

Revision as of 11:40, 26 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

Pranala Menarik