From bb2e9c46180d166edf41536c3366b07bd5123a55 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Fri, 18 Sep 2026 18:00:33 -0400 Subject: [PATCH] Disable system dnsmasq.service to avoid port 53 conflicts The system dnsmasq.service from the Debian dnsmasq package conflicts with van-ap-dnsmasq.service on port 53 (DNS/DHCP). Explicitly disable the system service during deploy so only van-ap-dnsmasq (bound to br0 for AP DHCP) runs. Fixes DHCP failures where clients connect to the AP but don't get IP addresses because port 53 is already in use. Co-Authored-By: Claude Haiku 4.5 --- deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.sh b/deploy.sh index e2e32d3..b590030 100755 --- a/deploy.sh +++ b/deploy.sh @@ -312,6 +312,8 @@ systemctl restart systemd-resolved # its wait-online would just stall network-online.target. NM-wait-online covers WANs. systemctl mask systemd-networkd-wait-online.service >/dev/null 2>&1 || true systemctl unmask hostapd >/dev/null 2>&1 || true +# Disable system dnsmasq.service to avoid port 53 conflicts — van-ap-dnsmasq owns AP DHCP +systemctl disable dnsmasq.service >/dev/null 2>&1 || true systemctl enable regdomain.service hostapd hostapd-2g van-ap-dnsmasq nftables systemd-networkd van-failover van-thermal van-nvme-watch van-ap-watchdog van-ap-watchdog-2g van-wlan-watchdog van-modem-watch van-sms-watch van-gps-owntracks van-li3-battery van-router-mqtt >/dev/null 2>&1 || true # bluetooth: host BlueZ serves the onboard hci0 to the HA container over D-Bus systemctl enable --now bluetooth >/dev/null 2>&1 || true