How to get correct wireless security protocol

Sam Gardner sgardner03 at yahoo.com
Tue Dec 18 06:03:01 EST 2012


Hi,
 
I am using iwlist to get a list of wireless networks. The access point I am trying to connect to has the security protocol set to WPA2. However, sometimes when I run iwlist it is reporting it as WEP, since it does not report it as WPA2. I have also tried "wpa_cli scan; wpa_cli scan_results" and this sometimes misreports the security protocol too.
 
Is there anyway, to get the correct security protocol for a wireless access point?
 
I've tried "iw dev wlan0 scan", but cannot distinguish between open and WEP enabled access points. How can I do this?
 
Kind Regards,
 
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20121218/08ccd1ed/attachment.htm 


More information about the HostAP mailing list