Difference between revisions of "OpenWrt"

From belajarwiki
Jump to navigation Jump to search
 
Line 14: Line 14:
 
   dd if=openwrt-21.02.1-x86-generic-generic-squashfs-combined.img of=openwrt-combined-squashfs.img bs=128000 conv=sync
 
   dd if=openwrt-21.02.1-x86-generic-generic-squashfs-combined.img of=openwrt-combined-squashfs.img bs=128000 conv=sync
  
−
Convert menjadi VDI / VMDK
+
Convert menjadi VDI
 
    
 
    
 
   VBoxManage convertfromraw --format VDI openwrt-combined-squashfs.img openwrt-combined-squashfs.vdi
 
   VBoxManage convertfromraw --format VDI openwrt-combined-squashfs.img openwrt-combined-squashfs.vdi
Line 35: Line 35:
  
 
ubah network LAN agar tidak tabrakan dengan yang ada (cek dahulu IP nya)
 
ubah network LAN agar tidak tabrakan dengan yang ada (cek dahulu IP nya)
−
'''Yang disambungkan ke LAN adalah eth0'''
+
 
 +
'''Yang disambungkan otomatis ke LAN oleh OpenWrt adalah eth0'''
 +
 
 +
====Setting Luci====
 +
 
 +
Tambahkan port lainnya pada
 +
 
 +
  LuCI > Network > Interfaces > Devices
 +
 
 +
Kemudian Save&Apply
 +
 
 +
Coba koneksikan device lain pada port yang sudah ditambahkan.
  
 
===Pranala Menarik===
 
===Pranala Menarik===

Latest revision as of 00:17, 4 November 2021

Install OpenWrt

Download di

  https://downloads.openwrt.org/releases/21.02.1/targets/x86/generic/

Download file generic-squashfs-combined.img.gz

Unzip

  gzip -d openwrt-21.02.1-x86-generic-generic-squashfs-combined.img.gz

Tambahkan size

  dd if=openwrt-21.02.1-x86-generic-generic-squashfs-combined.img of=openwrt-combined-squashfs.img bs=128000 conv=sync

Convert menjadi VDI

  VBoxManage convertfromraw --format VDI openwrt-combined-squashfs.img openwrt-combined-squashfs.vdi

Resize

  VBoxManage modifymedium openwrt-combined-squashfs.vdi --resize 128


Konfigurasi

Dapat dilihat pada

  /etc

Network dapat dilihat pada

  /etc/config

luci = seperti php; uhttpd = apache;

ubah network LAN agar tidak tabrakan dengan yang ada (cek dahulu IP nya)

Yang disambungkan otomatis ke LAN oleh OpenWrt adalah eth0

Setting Luci

Tambahkan port lainnya pada

  LuCI > Network > Interfaces > Devices

Kemudian Save&Apply

Coba koneksikan device lain pada port yang sudah ditambahkan.

Pranala Menarik

  • [[]]


Referensi