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

From OnnoWiki
Jump to navigation Jump to search
(Undo revision 53696 by Onnowpurbo (talk))
 
(3 intermediate revisions by the same user not shown)
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
  
Line 40: Line 44:
 
  vboxmanage convertfromraw --format VMDK openwrt-x86-generic-combined-ext4.img openwrt-x86-generic-combined-ext4.vmdk
 
  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
 
  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