Some minor fixes

This commit is contained in:
Albrecht Lohofener
2025-01-08 12:46:09 +01:00
parent 17ebed899f
commit d688421f60
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -67,7 +67,8 @@ RUN echo "Building for platform '$TARGETPLATFORM'" \
usbutils \
openssh-client \
util-linux-misc \
iproute2 \
iproute2 \
# It seems that PROFINET packages are not forwarded correctly without the package iproute2. The reason is unknown. \
&& mkdir -p /usr/share/novnc \
&& wget https://github.com/novnc/noVNC/archive/refs/tags/v${NOVNC_VERSION}.tar.gz -O /tmp/novnc.tar.gz -q \
&& tar -xf /tmp/novnc.tar.gz -C /tmp/ \
+1 -1
View File
@@ -9,7 +9,7 @@ This Docker container brings you OpenWrt, a software-based router solution, in a
## Features
- Supports all x86_64 and arm64 Linux based systems
- x86_64 tested on some Intel and AMD system
- x86_64 tested on some Intel and AMD systems
- arm64 tested on a [Raspberry Pi 5](https://www.raspberrypi.com/products/raspberry-pi-5/) and Weidmueller [UC20-M4000](https://eshop.weidmueller.com/en/uc20-m4000/p/2839160000)
- Uses official x86_64 and armsr (arm64) OpenWrt builds
- Full system virtualization with qemu
+4 -2
View File
@@ -55,14 +55,16 @@ attach_eth_if () {
QEMU_IF_MAC=${QEMU_MAC_OUI}${MAC:8} # Replaces the 8 first characters of the original MAC
# Deacticate host interface
# Ensure the interface is down to reliably change the MAC address without issues
# Ensure the interface is down to reliably change the MAC address without issues.
# Especially on Weidmueller UC20-M4000 this is necessary
ip link set $CONTAINER_IF down
# Change MAC address of new interface
ip link set $QEMU_IF address $QEMU_IF_MAC
# Reactivate interfaces
ip link set $QEMU_IF up && ip link set $CONTAINER_IF up
ip link set $QEMU_IF up
ip link set $CONTAINER_IF up
}
# Create veth pairs between host system and Docker container