From 7f227413caeb9a6809e1e16e03767120f854abda Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 11 Jan 2018 15:35:28 -0500 Subject: [PATCH] turn on wlan0 promiscuous mode much earlier?! --- roles/network/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/network/tasks/main.yml b/roles/network/tasks/main.yml index 1735dcc91..1b9aa620a 100644 --- a/roles/network/tasks/main.yml +++ b/roles/network/tasks/main.yml @@ -18,6 +18,9 @@ # Separate Idea, Not Without Risks: should WiFi-as-gateway detection logic # be encapsulated into roles/network/tasks/hostapd.yml in future? Whereas # today "./runtags hostapd" doesn't exist & "./runtags AP" is UNSUPPORTED! +- name: Turn on wlan0 promiscuous mode if is_rpi and not hostapd_enabled (mitigates Raspbian's WiFi bug / 10SEC disease @ https://github.com/iiab/iiab/issues/638) + shell: ip link set dev wlan0 promisc on + when: is_rpi and not hostapd_enabled #- name: RPi - reboot to AP post install - installed via wifi so the services are ready # set_fact: