mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
AIM: Promiscuous WiFi Only When Nec (on boot, etc)
This commit is contained in:
parent
c438c13fb1
commit
e61b3bd03d
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,9 @@ if [ ! -f /etc/iiab/uuid ]; then
|
||||||
uuidgen > /etc/iiab/uuid
|
uuidgen > /etc/iiab/uuid
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Temporary promiscuous-mode workaround for WiFi "10SEC disease"
|
# Temporary promiscuous-mode workaround for RPi's WiFi "10SEC disease"
|
||||||
|
# Set wlan0 to promiscuous on boot if needed as gateway (i.e. AP's OFF)
|
||||||
|
# Scripts iiab-hotspot-on + iiab-hotspot-off SHOULD toggle this boot flag!
|
||||||
# https://github.com/iiab/iiab/issues/638#issuecomment-355455454
|
# https://github.com/iiab/iiab/issues/638#issuecomment-355455454
|
||||||
if [[ $(grep -i raspbian /etc/*release) &&
|
if [[ $(grep -i raspbian /etc/*release) &&
|
||||||
($(grep "hostapd_enabled = False" /etc/iiab/config_vars.yml) ||
|
($(grep "hostapd_enabled = False" /etc/iiab/config_vars.yml) ||
|
||||||
|
|
Loading…
Reference in a new issue