1
0
Fork 0
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:
A Holt 2018-01-11 16:24:36 -05:00 committed by GitHub
commit e27a46aa01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: