ap: bridge wired LAN port (enx00e04c331140) into br0 with the AP

Add a wired LAN port on the same 10.42.0.0/24 segment as VanLink WiFi by
bridging both into br0. The gateway IP, dnsmasq, and NAT move off the wlan name
onto br0; hostapd (not networkd) enslaves the wlan via bridge=br0, since a
station-mode wlan can't be bridged until it's in AP mode. NM leaves the wired
port unmanaged so networkd owns it. Failover/Starlink (enxd8ec5eeb3512)
untouched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Andreas Wrede
2026-06-30 13:46:03 -04:00
co-authored by Claude Opus 4.8
parent c93997c06d
commit 830ef52641
10 changed files with 84 additions and 16 deletions
+4 -1
View File
@@ -4,6 +4,9 @@ Name=wlxc83a35a4ee55
[Link]
RequiredForOnline=no
# No IP here: the AP wlan is a member of br0, which carries the 10.42.0.1 gateway.
# hostapd adds this interface to br0 (bridge=br0) after it puts the radio into AP
# mode — networkd must NOT enslave it (a station-mode wlan can't be bridged), so
# this file only brings the link up.
[Network]
Address=10.42.0.1/24
ConfigureWithoutCarrier=yes