On Sun, 31 Jul 2011 15:24:11 +0300, Volkan YAZICI wrote: > On Sun, 31 Jul 2011 12:02:02 +0000 (UTC), Camaleón writes:
(...) >> But when I try to connect, both of my wifi cards fail: >> >> wlan0 → broadcom 4313+brcmsmac (...) >> Authentication with 00:26:44:df:60:91 timed out. >> wlan2 → ralink+rt2870 (note that this card can connect to the AP using >> NM) (...) >> 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. Yes, that's what happens. NM can make the connection with wlan2 but "wpa_assintant" fails. > 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. Hey, that did it! At least for wlan2 card :-) By stopping NM now wpa_assintant runs fine for wlan2 while wlan0 (the one with broadcom chipset) fails in the same way it did. 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 WPA: Key negotiation completed with 00:26:44:df:60:91 [PTK=TKIP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:26:44:df:60:91 completed (auth) [id=0 id_str=] >> "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--- root@stt300:/var/run/wpa_supplicant# iwconfig wlan0 essid WLAN_6D chan 9 ap 00:26:44:df:60:91 > What does last "iwconfig wlan0" output? root@stt300:/var/run/wpa_supplicant# iwconfig wlan0 wlan0 IEEE 802.11bgn ESSID:"WLAN_6D" Mode:Managed Frequency:2.452 GHz Access Point: Not-Associated Tx-Power=19 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off > - Did you try updating the firmware files? I fetched the latest available for testing (0.32). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.07.31.13.22...@gmail.com