From f2d4cdd099642bdd62345c6cbbc0a6fbc8356e04 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Sat, 19 Sep 2026 08:11:12 -0400 Subject: [PATCH] Fix dnsmasq startup dependency: require bridge setup before DHCP dnsmasq was failing to start or staying inactive because it was starting before the bridge members were added. Updated van-ap-dnsmasq.service to depend on van-br0-setup.service, ensuring the bridge is ready before dnsmasq binds to br0. Fixes: DHCP not provisioning addresses on boot. Co-Authored-By: Claude Haiku 4.5 --- ap/van-ap-dnsmasq.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ap/van-ap-dnsmasq.service b/ap/van-ap-dnsmasq.service index 86345ab..9d75874 100644 --- a/ap/van-ap-dnsmasq.service +++ b/ap/van-ap-dnsmasq.service @@ -1,7 +1,7 @@ [Unit] Description=dnsmasq DHCP+DNS for van-ap AP -After=hostapd.service -Wants=hostapd.service +After=hostapd.service van-br0-setup.service +Wants=hostapd.service van-br0-setup.service [Service] ExecStartPre=/usr/sbin/dnsmasq --test --conf-file=/etc/van-ap/dnsmasq.conf ExecStart=/usr/sbin/dnsmasq --keep-in-foreground --conf-file=/etc/van-ap/dnsmasq.conf