From 05ceb238511ad73c3a82baec7a444c4665ef64b3 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Thu, 7 May 2020 18:34:53 -0400 Subject: ifupdown config will try to use iwconfig to find wifi --- conf/br0.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/br0.in b/conf/br0.in index 9d5c17b..1181499 100644 --- a/conf/br0.in +++ b/conf/br0.in @@ -6,7 +6,7 @@ iface br0 inet static pre-down for n in 0 1 2 3 4; do tunctl -d tap$n; done; true address 192.168.10.1 netmask 255.255.255.0 - bridge_ports tap0 tap1 tap2 tap3 tap4 + bridge_ports eth0 tap0 tap1 tap2 tap3 tap4 bridge_maxwait 10 - up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE + up iptables -t nat -A POSTROUTING -o $(/sbin/iwconfig 2>/dev/null | (read a _; echo $a)) -j MASQUERADE up sysctl -w net.ipv4.ip_forward=1 -- cgit v1.2.3