From bc46d78815222caa123d3e3a24d16070124e2043 Mon Sep 17 00:00:00 2001 From: Liera de Kimpe Date: Mon, 6 May 2024 10:42:10 +0200 Subject: [PATCH 1/2] Added missing comand steps (dns & gateway) --- 0405.html | 60 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/0405.html b/0405.html index a17885a892..3dca047c49 100644 --- a/0405.html +++ b/0405.html @@ -1,27 +1,27 @@ - - - - Run an OpenWRT VM on Proxmox VE - - - - - - - - - - - - - -
-
-
-

Run an OpenWRT VM on Proxmox VE

-
-
-
+ + + + Run an OpenWRT VM on Proxmox VE + + + + + + + + + + + + + +
+
+
+

Run an OpenWRT VM on Proxmox VE

+
+
+

What is OpenWRT?

OpenWrt is an open-source project for embedded operating systems based on Linux, primarily used on embedded devices to route network traffic. The main components are Linux, util-linux, musl, and BusyBox. All components have been optimized to be small enough to fit into the limited storage and memory available in home routers. -https://en.wikipedia.org/wiki/OpenWrt
@@ -88,6 +88,10 @@

Setting Up the OpenWRT Disk

  • Continue the configuration by running the following commands
    # set the lan ip address, use something in the same subnet as your LAN
    uci set network.lan.ipaddr='10.10.27.151'
    + # Set the default gateway adress of your network
    + uci set network.lan.gateway='10.10.27.1'
    + # Set a dns to resolve url's
    + uci add_list dhcp.@dnsmasq[].server='10.10.27.1'
    # restart network services
    service network restart
    # update openwrt packages
    @@ -99,8 +103,8 @@

    Setting Up the OpenWRT Disk

  • At the login screen, enter the username root and the password set above > Click the Login button
  • Enjoy OpenWRT running in Proxmox
  • -
    -
    - - +
    +
    + + \ No newline at end of file From 869bc1489a0318604040ba9e1737b79c31cb1c2b Mon Sep 17 00:00:00 2001 From: "L. de Kimpe" Date: Mon, 6 May 2024 10:57:24 +0200 Subject: [PATCH 2/2] Corrected command for setting the DNS --- 0405.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0405.html b/0405.html index 3dca047c49..9e7b4839cd 100644 --- a/0405.html +++ b/0405.html @@ -91,7 +91,7 @@

    Setting Up the OpenWRT Disk

    # Set the default gateway adress of your network
    uci set network.lan.gateway='10.10.27.1'
    # Set a dns to resolve url's
    - uci add_list dhcp.@dnsmasq[].server='10.10.27.1'
    + uci add_list network.lan.dns='10.10.27.1'
    # restart network services
    service network restart
    # update openwrt packages