summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-11-30 19:23:08 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-11-30 19:23:08 +0000
commit14b7138f1bdfc566edfa32f36d2fa3bd3415b32a (patch)
tree113ea98145b4c992aafde02594c2d82f5bb92ca6
parent6e8450bd85964dc578f506167a53b954e87115cb (diff)
downloaddrakx-14b7138f1bdfc566edfa32f36d2fa3bd3415b32a.tar
drakx-14b7138f1bdfc566edfa32f36d2fa3bd3415b32a.tar.gz
drakx-14b7138f1bdfc566edfa32f36d2fa3bd3415b32a.tar.bz2
drakx-14b7138f1bdfc566edfa32f36d2fa3bd3415b32a.tar.xz
drakx-14b7138f1bdfc566edfa32f36d2fa3bd3415b32a.zip
mdk-stage1: configure wpa_supplicant to try both nl80211 and wext
Some old wireless driver modules may only support wext.
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/wireless.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index c2d2c7964..313eb6447 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- configure wpa_supplicant to try both nl80211 and wext interfaces
+ o some old wireless driver modules may only support wext
- improve help for entering wireless keys/passphrases
o note that ASCII strings can now be used for WEP keys (mga#21042)
diff --git a/mdk-stage1/wireless.c b/mdk-stage1/wireless.c
index 3d948c7e5..2fde04f84 100644
--- a/mdk-stage1/wireless.c
+++ b/mdk-stage1/wireless.c
@@ -147,7 +147,7 @@ enum return_type configure_wireless(const char *ifname)
fprintf(fd, "}\n");
fclose(fd);
- snprintf(cmd, sizeof(cmd), "/usr/sbin/wpa_supplicant -B -i %s -c %s -f %s -P %s",
+ snprintf(cmd, sizeof(cmd), "/usr/sbin/wpa_supplicant -D nl80211,wext -B -i %s -c %s -f %s -P %s",
ifname, WPA_SUPPLICANT_CONF, WPA_SUPPLICANT_LOG, WPA_SUPPLICANT_PID);
log_message("running %s", cmd);
status = system(cmd);