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

Re: [Feedback needed] "brcmsmac" wifi driver in testing



On Sun, 31 Jul 2011 12:02:02 +0000 (UTC), Camaleón writes:
> In testing I have "2.6.39-2686-pae"
> [...]
>
> Good idea. Done...
>
> /etc/wpa_supplicant/wpa_supplicant.conf
>
> # WPA-PSK/TKIP
>
> ctrl_interface=/var/run/wpa_supplicant
>
> network={
>     ssid="WLAN_6D"
>     key_mgmt=WPA-PSK
>     proto=WPA
>     pairwise=TKIP
>     group=TKIP
>     psk="my_pass"
> }
>
> But when I try to connect, both of my wifi cards fail:
>
> wlan0 → broadcom 4313+brcmsmac 
>
> root@stt300:/var/run/wpa_supplicant# wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0
> ioctl[SIOCSIWENCODEEXT]: Invalid argument
> ioctl[SIOCSIWENCODEEXT]: Invalid argument
> Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)
> Authentication with 00:26:44:df:60:91 timed out.
> Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)
> Authentication with 00:26:44:df:60:91 timed out.
> Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)
>
> wlan2 →  ralink+rt2870 (note that this card can connect to the AP using NM)
>
> root@stt300:/var/run/wpa_supplicant# wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan2
> ioctl[SIOCSIWENCODEEXT]: Invalid argument
> ioctl[SIOCSIWENCODEEXT]: Invalid argument
> Trying to associate with 00:26:44:df:60:91 (SSID='WLAN_6D' freq=2452 MHz)
> Associated with 00:26:44:df:60:91
> CTRL-EVENT-DISCONNECTED bssid=00:26:44:df:60:91 reason=0

You say that wlan2 doesn't work manually, but with nm. Did I get it
right? If so, that's pretty strange.

Oh, and I forgot to say in the previous mail: Turn everything fiddling
with the wifi interfaces off, that is, nm, hostapd, etc., before trying
any manual method.

>> Now check the wpa_supplicant debug outputs. Moreover, if you can see a
>> valid mac addr in the "Access Point" field of the "iwconfig wlan0"
>> output, Wi-Fi assoc is ok and you're struggling with the encryption
>> part.
>
> "iwconfig" shows no MAC on both cards :-/

Here are my other 2cents.

- Are you able to connect to an AP, where encryption is turned off?
  (Hence, no wpa needed.) Again, try this manually. That is,

--8<---------------cut here---------------start------------->8---
# ifconfig wlan0 up
# iwconfig wlan0 essid <ESSID> chan <CHANNEL> ap <MACADDR>
# iwconfig wlan0
# dhclient wlan0
--8<---------------cut here---------------end--------------->8---

  What does last "iwconfig wlan0" output?

- Did you try updating the firmware files?


Best.


Reply to: