Search Linux Wireless

mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I need to set a secured Adhoc network using WPA or WPA2 on my embedded device (linux 3.10, mwifiex backported 4.1.1, wpa_supplicant 2.5 (with CONFIG_IBSS_RSN=y), hostap 2.5). I tried the following configs:

WPA-NONE:
I start a WPA-NONE Adhoc with wpa_supplicant on the embedded device (see wpa_supplicant-wpa-none.conf + wpa_supplicant-wpa-none.log). Then from my computer (Ubuntu 14.04), I managed to join the network and ping the device without setting any password! The connection is not secured.

WPA-PSK:
I also tried WPA-RSN (see wpa_supplicant-rsn.conf + wpa_supplicant-rsn.log). As you can see in log file, the 4Way-Handshake is completed. But after some seconds, the log shows a timeout and an authentication failure. The device and my computer are connected to the same network and they share the same BSS, but ping always fails. Note that if I set a bad password on computer side, the handshake never completes.

dmesg does not show any error.
WEP works fine.

Any idea of what could be wrong?

Thank you,
Vincent
--
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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux