1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

hostapd fails to start if wifi connected to wan

This commit is contained in:
Tim Moody 2019-05-28 14:04:04 -04:00
parent 8ff0542200
commit 47f1269563

View file

@ -1,6 +1,8 @@
#!/bin/bash
cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf
# shut down wlan0 in case connected to network
ip link set wlan0 down
systemctl enable hostapd
#systemctl enable dnsmasq
systemctl daemon-reload