About the strange behaviour with the two devices connecting despite the
bad passwords, I made a little mistake: on the device 2, wpa_supplicant
was not built with option CONFIG_IBSS_RSN=y. But still, device 1 should
not accept device 2...
Note that with option CONFIG_IBSS_RSN=y enabled on both devices,
WPA-PSK connection does not work, even with the right password...
Vincent
Le 2016-06-13 15:23, Amitkumar Karwar a écrit :
Hi Vincent,
From: linux-wireless-owner@xxxxxxxxxxxxxxx [mailto:linux-wireless-
owner@xxxxxxxxxxxxxxx] On Behalf Of Vincent CESSON
Sent: Monday, June 13, 2016 1:52 PM
To: Raymond Hayes
Cc: linux-wireless@xxxxxxxxxxxxxxx
Subject: Re: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
Here are the logs.
I don't know if there is 4-way handshake in each direction, I don't
have
logs on computer side, I use GUI. I tried to use the same
wpa_supplicant-rsn.conf on my computer and start it with
wpa_supplicant,
but nothing happen... Embedded device does not react at all.
I found something new (and strange). I took a second embedded device,
set the same wpa_supplicant-rsn.conf except the passwords (I set 2
different passwords), and I use the same command line:
wpa_supplicant -dd -i mlan0 -c /etc/wpa_supplicant-rsn.conf -D
nl80211,wext Result, the two devices join and ping! When I start the
second device, no logs appear on the first device...
How is it possible psk is not taken into account?
Thanks for reporting the problem. We will try this at our end and
check the issue.
Regards,
Amitkumar
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html