Difference between revisions of "OpenWRT: Build Firmware X86 - Quagga"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 8: | Line 8: | ||
Target System > X86 | Target System > X86 | ||
− | Network > Routing and Redirection > | + | Network > Routing and Redirection > |
+ | bird1 | ||
+ | bird2 | ||
olsrd | olsrd | ||
quagga | quagga | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Compile== | ==Compile== |
Revision as of 08:44, 27 December 2018
cd openwrt make clean make defconfig make menuconfig
Config
Target System > X86 Network > Routing and Redirection > bird1 bird2 olsrd quagga
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