<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto">Hi,</div>
<div style="RIGHT: auto">&nbsp;</div>
<div style="RIGHT: auto">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.<VAR id=yui-ie-cursor></VAR></div>
<div style="RIGHT: auto">&nbsp;</div>
<div style="RIGHT: auto">Is there anyway, to get the correct security protocol for a wireless access point?</div>
<div style="RIGHT: auto">&nbsp;</div>
<div style="RIGHT: auto">I've tried "iw dev wlan0 scan", but cannot distinguish between open and WEP enabled access points. How can I do this?</div>
<div style="RIGHT: auto">&nbsp;</div>
<div style="RIGHT: auto">Kind Regards,</div>
<div style="RIGHT: auto">&nbsp;</div>
<div style="RIGHT: auto">Sam</div></div></body></html>