Re: NM 0.9.1 failing to get SSIDs with WPA supplicant 0.7.3



On Mon, 2011-09-12 at 19:18 +0100, iain wrote:
> Hi again,
> 
> In case anyone else is wondering about this, I've found a patch from
> Android for an older version of wpa-supplicant, that with a bit of
> tweaking for 0.7.3 appears to fix the problem

This would appear to indicate a buggy kernel driver.  Which driver are
you using?

Dan

> http://codesearch.google.com/#dR3YEbitojA/driver_wext.c&q=IWEVGENIE%
> 20overflow&type=cs&l=1254
> 
>         /* To make sure correctly parse scan results which is impacted
> by wext
>          * version, first check range->we_version, if it is default
> value (0),
>          * update again here */
>         if (drv->we_version_compiled == 0)
>                 wpa_driver_wext_get_range(drv);
> 
> Not entirely sure why it fixes things but it seems to.
> 
> iain
> 
> On 09/09/2011 04:42 PM, Lamarque Vieira Souza wrote: 
> > Em Friday 09 September 2011, iain escreveu:
> > 
> > > Hi,
> > 
> > > 
> > 
> > > I'm running NetworkManager 0.9.1 from git and wpa_supplicant 0.7.3
> > on a
> > 
> > > custom distro (based from poky). When I run nmcli dev wifi, the
> > access
> > 
> > > points appear but everything seems to be screwed up.
> > 
> >  
> > 
> > Hi, have you patched wpa_supplicant-0.7.3 to work with NM-0.9? If
> > not then this is your problem:
> > https://bugzilla.gnome.org/show_bug.cgi?id=644634 . The patch is
> > also there.
> > 
> > > SSID BSSID MODE
> > 
> > > FREQ RATE SIGNAL SECURITY ACTIVE
> > 
> > > 8C03000100 02:FE:F4:50:A9:50 Infrastructure 2
> > 
> > > MHz 63 MB/s 75 WPA2 no
> > 
> > > 8C06000100 00:FE:F4:50:A9:50 Infrastructure 2
> > 
> > > MHz 1 MB/s 75 -- no
> > 
> > > 8C06000100 00:FE:F4:59:01:A0 Infrastructure 2
> > 
> > > MHz 0 MB/s 20 -- no
> > 
> > > 8C03000100 02:FE:F4:50:A9:50 Infrastructure 2
> > 
> > > MHz 0 MB/s 72 -- no
> > 
> > > 
> > 
> > > The driver appears to be working, iwlist gives all the details I
> > expect
> > 
> > > and comparing the output below with the NM output shows what is
> > wrong.
> > 
> > > 
> > 
> > > iwlist tiwlan0 scanning
> > 
> > > tiwlan0 Scan completed :
> > 
> > > Cell 01 - Address: 12:FE:F4:50:A9:50
> > 
> > > ESSID:"BTFON"
> > 
> > > Protocol:IEEE 802.11 BG
> > 
> > > Mode:Managed
> > 
> > > Frequency:2.462 MHz
> > 
> > > Signal level=-56 dBm
> > 
> > > Encryption key:off
> > 
> > > Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> > 
> > > 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
> > 
> > > 48 Mb/s; 54 Mb/s; 6.5 Mb/s; 13 Mb/s; 19.5
> > 
> > > Mb/s
> > 
> > > 26 Mb/s; 39 Mb/s; 52 Mb/s; 58.5 Mb/s; 65
> > 
> > > Mb/s
> > 
> > > Extra:Bcn int = 100 ms
> > 
> > > IE: Unknown: 00054254464F4E
> > 
> > > IE: Unknown: 010882848B960C121824
> > 
> > > IE: Unknown: 03010B
> > 
> > > IE: Unknown: 2A0100
> > 
> > > IE: Unknown: 32043048606C
> > 
> > > IE: Unknown:
> > 
> > > 2D1AAC011BFFFF000000000000000000000000000000000
> > 
> > > 000000000
> > 
> > > IE: Unknown:
> > 
> > > 3D160B08000000000000000000000000000000000000000
> > 
> > > 0
> > 
> > > IE: Unknown: 4A0E14000A002C01C800140005001900
> > 
> > > IE: Unknown: 7F0101
> > 
> > > IE: Unknown:
> > 
> > > DD180050F2020101890003A4000027A4000042435E00623
> > 
> > > 22F00
> > 
> > > IE: Unknown:
> > 
> > > DD1E00904C33AC011BFFFF0000000000000000000000000
> > 
> > > 00000000000000000
> > 
> > > IE: Unknown:
> > 
> > > DD1A00904C340B080000000000000000000000000000000
> > 
> > > 000000000
> > 
> > > IE: Unknown: DD0900037F01010000FF7F
> > 
> > > Cell 02 - Address: 02:FE:F4:50:A9:50
> > 
> > > ESSID:"BTOpenzone"
> > 
> > > Protocol:IEEE 802.11 BG
> > 
> > > Mode:Managed
> > 
> > > Frequency:2.462 MHz
> > 
> > > Signal level=-56 dBm
> > 
> > > Encryption key:off
> > 
> > > Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> > 
> > > 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
> > 
> > > 48 Mb/s; 54 Mb/s; 6.5 Mb/s; 13 Mb/s; 19.5
> > 
> > > Mb/s
> > 
> > > 26 Mb/s; 39 Mb/s; 52 Mb/s; 58.5 Mb/s; 65
> > 
> > > Mb/s
> > 
> > > Extra:Bcn int = 100 ms
> > 
> > > IE: Unknown: 000A42544F70656E7A6F6E65
> > 
> > > IE: Unknown: 010882848B960C121824
> > 
> > > IE: Unknown: 03010B
> > 
> > > IE: Unknown: 2A0100
> > 
> > > IE: Unknown: 32043048606C
> > 
> > > IE: Unknown:
> > 
> > > 2D1AAC011BFFFF000000000000000000000000000000000
> > 
> > > 000000000
> > 
> > > IE: Unknown:
> > 
> > > 3D160B08000000000000000000000000000000000000000
> > 
> > > 0
> > 
> > > IE: Unknown: 4A0E14000A002C01C800140005001900
> > 
> > > IE: Unknown: 7F0101
> > 
> > > IE: Unknown:
> > 
> > > DD180050F2020101890003A4000027A4000042435E00623
> > 
> > > 22F00
> > 
> > > IE: Unknown:
> > 
> > > DD1E00904C33AC011BFFFF0000000000000000000000000
> > 
> > > 00000000000000000
> > 
> > > IE: Unknown:
> > 
> > > DD1A00904C340B080000000000000000000000000000000
> > 
> > > 000000000
> > 
> > > IE: Unknown: DD0900037F01010000FF7F
> > 
> > > Cell 03 - Address: 00:FE:F4:59:01:A0
> > 
> > > ESSID:"BTHub3-JJCH"
> > 
> > > Protocol:IEEE 802.11 BG
> > 
> > > Mode:Managed
> > 
> > > Frequency:2.437 MHz
> > 
> > > Signal level=-88 dBm
> > 
> > > Encryption key:on
> > 
> > > Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> > 
> > > 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
> > 
> > > 48 Mb/s; 54 Mb/s; 6.5 Mb/s; 13 Mb/s; 19.5
> > 
> > > Mb/s
> > 
> > > 26 Mb/s; 39 Mb/s; 52 Mb/s; 58.5 Mb/s; 65
> > 
> > > Mb/s
> > 
> > > Extra:Bcn int = 100 ms
> > 
> > > IE: Unknown: 000B4254487562332D4A4A4348
> > 
> > > IE: Unknown: 010882848B960C121824
> > 
> > > IE: Unknown: 030106
> > 
> > > IE: Unknown: 050402030000
> > 
> > > IE: Unknown: 2A0100
> > 
> > > IE: IEEE 802.11i/WPA2 Version 1
> > 
> > > Group Cipher : TKIP
> > 
> > > Pairwise Ciphers (2) : CCMP TKIP
> > 
> > > Authentication Suites (1) : PSK
> > 
> > > IE: WPA Version 1
> > 
> > > Group Cipher : TKIP
> > 
> > > Pairwise Ciphers (2) : CCMP TKIP
> > 
> > > Authentication Suites (1) : PSK
> > 
> > > IE: Unknown: 32043048606C
> > 
> > > IE: Unknown:
> > 
> > > 2D1AAC011BFFFF000000000000000000000000000000000
> > 
> > > 000000000
> > 
> > > IE: Unknown:
> > 
> > > 3D160608000000000000000000000000000000000000000
> > 
> > > 0
> > 
> > > IE: Unknown: 4A0E14000A002C01C800140005001900
> > 
> > > IE: Unknown: 7F0101
> > 
> > > IE: Unknown:
> > 
> > > DD180050F2020101870003A4000027A4000042435E00623
> > 
> > > 22F00
> > 
> > > IE: Unknown:
> > 
> > > DD1E00904C33AC011BFFFF0000000000000000000000000
> > 
> > > 00000000000000000
> > 
> > > IE: Unknown:
> > 
> > > DD1A00904C3406080000000000000000000000000000000
> > 
> > > 000000000
> > 
> > > IE: Unknown:
> > 
> > > DD2C0050F204104A0001101044000102105700010010470
> > 
> > > 010565AA94967C14C0EAA8FF349E6F59311103C000101
> > 
> > > Cell 04 - Address: 00:FE:F4:50:A9:50
> > 
> > > ESSID:"BTHub3-3M94"
> > 
> > > Protocol:IEEE 802.11 BG
> > 
> > > Mode:Managed
> > 
> > > Frequency:2.462 MHz
> > 
> > > Signal level=-55 dBm
> > 
> > > Encryption key:on
> > 
> > > Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> > 
> > > 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
> > 
> > > 48 Mb/s; 54 Mb/s; 6.5 Mb/s; 13 Mb/s; 19.5
> > 
> > > Mb/s
> > 
> > > 26 Mb/s; 39 Mb/s; 52 Mb/s; 58.5 Mb/s; 65
> > 
> > > Mb/s
> > 
> > > Extra:Bcn int = 100 ms
> > 
> > > IE: Unknown: 000B4254487562332D334D3934
> > 
> > > IE: Unknown: 010882848B960C121824
> > 
> > > IE: Unknown: 03010B
> > 
> > > IE: Unknown: 050402030000
> > 
> > > IE: Unknown: 2A0100
> > 
> > > IE: IEEE 802.11i/WPA2 Version 1
> > 
> > > Group Cipher : TKIP
> > 
> > > Pairwise Ciphers (2) : CCMP TKIP
> > 
> > > Authentication Suites (1) : PSK
> > 
> > > IE: WPA Version 1
> > 
> > > Group Cipher : TKIP
> > 
> > > Pairwise Ciphers (2) : CCMP TKIP
> > 
> > > Authentication Suites (1) : PSK
> > 
> > > IE: Unknown: 32043048606C
> > 
> > > IE: Unknown:
> > 
> > > 2D1AAC011BFFFF000000000000000000000000000000000
> > 
> > > 000000000
> > 
> > > IE: Unknown:
> > 
> > > 3D160B08000000000000000000000000000000000000000
> > 
> > > 0
> > 
> > > IE: Unknown: 4A0E14000A002C01C800140005001900
> > 
> > > IE: Unknown: 7F0101
> > 
> > > IE: Unknown:
> > 
> > > DD180050F2020101890003A4000027A4000042435E00623
> > 
> > > 22F00
> > 
> > > IE: Unknown:
> > 
> > > DD1E00904C33AC011BFFFF0000000000000000000000000
> > 
> > > 00000000000000000
> > 
> > > IE: Unknown:
> > 
> > > DD1A00904C340B080000000000000000000000000000000
> > 
> > > 000000000
> > 
> > > IE: Unknown:
> > 
> > > DD2C0050F204104A0001101044000102105700010010470
> > 
> > > 010565AA94967C14C0EAA8FF349E6F59311103C000101
> > 
> > > 
> > 
> > > Does anyone have any ideas on how to debug this further? I've
> > added some
> > 
> > > debugging to wpa_supplicant to print out the SSIDs that it knows
> > about
> > 
> > > as they appear in the scans and it appears that its getting them
> > wrong
> > 
> > > as well, either they just contain garbage or they are empty, but
> > as for
> > 
> > > what to look further at, I'm somewhat at a loss.
> > 
> > > 
> > 
> > > iain
> > 
> > > 
> > 
> > > _______________________________________________
> > 
> > > networkmanager-list mailing list
> > 
> > > networkmanager-list gnome org
> > 
> > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > 
> >  
> > 
> >  
> > 
> > -- 
> > 
> > Lamarque V. Souza
> > 
> > http://www.geographicguide.com/brazil.htm
> > 
> > Linux User #57137 - http://counter.li.org/
> > 
> > http://planetkde.org/pt-br
> > 
> 
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




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