mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Merge pull request #652 from holta/iiab-startup
Turn on wlan0 promiscuous mode within network playbook...or much earlier?! (RPi)
This commit is contained in:
commit
e27a46aa01
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue