[PATCHv4 1/7] hwsim: document rfkill workaround for systemd

Michael Braun michael-dev at fami-braun.de
Thu Mar 23 04:57:17 PDT 2017


Signed-off-by: Michael Braun <michael-dev at fami-braun.de>
---
 tests/hwsim/example-setup.txt | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/hwsim/example-setup.txt b/tests/hwsim/example-setup.txt
index a30f8f8..0febdd4 100644
--- a/tests/hwsim/example-setup.txt
+++ b/tests/hwsim/example-setup.txt
@@ -178,3 +178,13 @@ http://buildbot.w1.fi/backports-wireless-testing/backports-wireless-testing-2015
 With that version, ibss_rsn is failing due to a known cfg80211
 regression in the specific snapshot build. All other test cases passed
 at least on retry or were skipped due to missing testing capability.
+
+With systemd based distros, e.g. Ubuntu 16.04, systemd-rfkill.service might block the mac80211_hwsim network devices.
+The tests will fail with
+  Exception: Failed to enable hostapd interface wlan3
+In the *.hostapd log, would will read
+  nl80211: Could not yet enable interface 'wlan3' due to rfkill
+Your syslog will read
+  systemd[1]: Starting Load/Save RF Kill Switch Status...
+This can be fixed by
+  systemctl mask systemd-rfkill.service
-- 
2.1.4




More information about the Hostap mailing list