Ebbe/Iliwi — Issue #9: WPA broken with new wireless tools
Author: cmair
Created: 2012-01-23 00:11:33+00:00
State: open

The latest wireless tools availabe in shr-core do not include "rsn_ie" or "wpa_ie" in their scan output. Therefore the reges line_regex_wpa_enc = new Regex("""^\s+Extra:(rsn|wpa)_ie="""); does not work anymore. Changing this to catch "IE: WPA" or something similar should fix this issue.

Here is what a iwlist scan looks like on my GTA04 running shr-core:

wlan0 Scan completed :
Cell 01 - Address: 00:24:FE:F5:81:79
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=38/70 Signal level=-72 dBm
Encryption key:on
ESSID:"FRITZ!Box Fon WLAN 7112"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000001e0f83c8c
Extra: Last beacon: 914ms ago
IE: Unknown: 0017465249545A21426F7820466F6E20574C414E2037313132
IE: Unknown: 010482848B96
IE: Unknown: 030101
IE: Unknown: 2A0107
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32080C1218243048606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD0A0800280101000200FF0F
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00