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

From OnnoWiki
Jump to navigation Jump to search
(Undo revision 53696 by Onnowpurbo (talk))
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  make defconfig
 
  make defconfig
 
  make menuconfig
 
  make menuconfig
 
  
 
==Config==
 
==Config==
Line 30: Line 29:
  
  
 +
==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==
 
==Pranala Menarik==

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