From c2212c380bc2837dd3968df42a6b746ea423944f Mon Sep 17 00:00:00 2001 From: medusa Date: Sun, 21 Apr 2024 23:54:23 +0000 Subject: [PATCH] Update docs/tech_docs/OpenWrt.md --- docs/tech_docs/OpenWrt.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/tech_docs/OpenWrt.md b/docs/tech_docs/OpenWrt.md index 4335dbc..af8b3d3 100644 --- a/docs/tech_docs/OpenWrt.md +++ b/docs/tech_docs/OpenWrt.md @@ -36,17 +36,28 @@ This section details the process of setting up an OpenWRT container in a Proxmox ```bash # Create and configure the OpenWRT container pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype unmanaged --hostname openwrt-0 --password changeme --tag network --storage local-lvm --memory 256 --swap 128 --rootfs local-lvm:1,size=512M --net0 name=eth0,bridge=vmbr0,firewall=1 --net1 name=eth1,bridge=vmbr1,firewall=1 --cores 1 --cpuunits 500 --onboot 1 --debug 0 +``` # Start the container +```bash pct start 100 +``` # Access the container's console pct console 100 # Update and install packages +```bash opkg update +``` + +```bash opkg install qemu-ga +``` + +```bash reboot +``` # Network and firewall configuration