![]() # create tap interface which will be connected to OpenWrt LAN NIC ip tuntap add mode tap $LAN ip link set dev $LAN up Save the script and edit IMAGE variable to reflect your OpenWrt version, then run it under sudo #!/bin/sh IMAGE=lede-17.01.0-r3205-59508e3-armvirt-zImage-initramfs Note: This setup requires some privileges ( CAP_NET_ADMIN and CAP_MKNOD under Linux) so it's easier to run it under sudo (the example uses an armvirt system, adjust for your setup) If you want to check how LuCI works or to poke around with LuCI-apps this setup is for you. drive file=openwrt-armvirt- 64-rootfs-squashfs.img, format=raw, if=virtio \īoth variants provide two network interfaces to OpenWrt: Persistent (squashfs) variant (with openwrt-armvirt-64-Image and openwrt-armvirt-64-rootfs-squashfs.img): kernel openwrt-armvirt- 64-Image-initramfs \ Qemu-system-aarch64 -m 1024 -smp 2 -cpu host -M virt, highmem=off \ Non-persistent variant (with openwrt-armvirt-64-Image-initramfs): It is possible to use native virtualisation on Apple arm64 hardware under MacOS (high performance variant) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |