From 4f5b818ef4380d4fe242340af5b6fd234a694ed2 Mon Sep 17 00:00:00 2001 From: everloop2 Date: Fri, 2 Oct 2020 17:00:04 +0200 Subject: [PATCH] dnsmasq ignore br-wan ffuplink_wan What is the problem? syslog is spammed by: daemon.warn dnsmasq-dhcp: DHCP packet received on xxx_wan which has no address What is the expected behaviour? dnsmasq should not care / be silent for 'br-wan ffuplink_wan' --- .../uci-defaults/freifunk-berlin-dhcp-defaults | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/defaults/freifunk-berlin-dhcp-defaults/uci-defaults/freifunk-berlin-dhcp-defaults b/defaults/freifunk-berlin-dhcp-defaults/uci-defaults/freifunk-berlin-dhcp-defaults index daa7cf38..0a23e1dd 100644 --- a/defaults/freifunk-berlin-dhcp-defaults/uci-defaults/freifunk-berlin-dhcp-defaults +++ b/defaults/freifunk-berlin-dhcp-defaults/uci-defaults/freifunk-berlin-dhcp-defaults @@ -5,9 +5,14 @@ guard "dhcp" # quieten down dnsmasq a bit (do not log lease-mgmt) uci set dhcp.@dnsmasq[0].quietdhcp=1 + # enable DHCP-rapidcommit (RFC4039) uci set dhcp.@dnsmasq[0].rapidcommit=1 +# dnsmasq should not care for 'br-wan ffuplink_wan', prevents: daemon.warn dnsmasq-dhcp: DHCP packet received on wan which has no address +uci add_list dhcp.@dnsmasq[0].notinterface='br-wan' +uci add_list dhcp.@dnsmasq[0].notinterface='ffuplink_wan' + # on IPv6-islands we also should give a default-route to the clients, # so they can also reach IPv6-neighbours. uci set dhcp.dhcp.ra_default=1