]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Document rfkill workaround for systemd for hwsim tests
authorMichael Braun <michael-dev@fami-braun.de>
Thu, 23 Mar 2017 11:57:17 +0000 (12:57 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 29 Mar 2017 12:03:16 +0000 (15:03 +0300)
Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
tests/hwsim/example-setup.txt

index a30f8f816734a88a8352056412ed9e6015e3ae39..cf5cf3ba676176ebee1a6b64108704bb5d43c23b 100644 (file)
@@ -178,3 +178,14 @@ 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