On Sun, Nov 28, 2010 at 7:49 PM, Matthias Bernges <matthiasbern...@gmx.de> wrote: > ,Hello, > > 2010/11/26 Mohammed Shafi <shafi.at...@gmail.com>: >> On Fri, Nov 26, 2010 at 12:17 AM, Matthias Bernges >> <matthiasbern...@gmx.de> wrote: >>> Hello, >>> >>> I've a TP-Link TL-WN422G using Atheros AR9271 chipset. I have >>> downloaded and installed compat-wireless-2.6.36-4 and copied the >>> newest ar9271.fw to /lib/firmware. >> Can you please try with the latest compat-wrieless from >> http://wireless.kernel.org/download/compat-wireless-2.6/ >>> >>> The driver recognizes the stick and I am able to scan using "iwlist >>> wlan0 scan". But I am not able to connect to a network. >>> >>> I have tried unencrypted und WEP-encrypted networks using iwconfig. No >>> error occurs but when I do iwconfig it says: >>> "Access Point: Not-Associated" >>> >> while using commands to connect to a AP please disable the Network Manager > > Good point. This helped for connecting to WPA networks using wpa_supplicant. > But the behavior of iwconfig, while connecting to unencrypted or > WEP-encrypted networks, didn't change.
Ideally it should be working.Can you just send me the iwconfig commands you use to connect to WEP-encrypted networks or open-networks. > > Best, > Matthias > >>> I also tried to connect to a WPA2-encrypted network. I copied the >>> config-file from a working machine so the key is definitely correct. >>> [vortexbox.localdomain ~]# wpa_supplicant -i wlan0 -c wpa.conf -Dwext >>> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable >>> ioctl[SIOCSIWSCAN]: Device or resource busy >>> Failed to initiate AP scan. >>> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable >>> Trying to associate with 00:1c:f0:cf:e5:ce (SSID='Pasta' freq=2462 MHz) >>> Associated with 00:1c:f0:cf:e5:ce >>> WPA: 4-Way Handshake failed - pre-shared key may be incorrect >>> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys >>> ioctl[SIOCSIWSCAN]: Device or resource busy >>> Failed to initiate AP scan. >>> Trying to associate with 00:1c:f0:cf:e5:ce (SSID='Pasta' freq=2462 MHz) >>> Associated with 00:1c:f0:cf:e5:ce >>> WPA: 4-Way Handshake failed - pre-shared key may be incorrect >>> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys >>> ioctl[SIOCSIWSCAN]: Device or resource busy >>> Failed to initiate AP scan. >>> Trying to associate with 00:1c:f0:cf:e5:ce (SSID='Pasta' freq=2462 MHz) >>> Associated with 00:00:00:00:00:00 >>> CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys >>> ioctl[SIOCSIWSCAN]: Device or resource busy >>> Failed to initiate AP scan. >>> Trying to associate with 00:1c:f0:cf:e5:ce (SSID='Pasta' freq=2462 MHz) >>> Associated with 00:00:00:00:00:00 >>> >>> I don't know if it is relevant, but please mind that the "Associated >>> with" line switches between 00:1c:f0:cf:e5:ce and 00:00:00:00:00:00. >>> >>> My modinfo: >>> [vortexbox.localdomain ~]# modinfo ath9k_htc >>> filename: >>> /lib/modules/2.6.35.6-99.fc14.i686.PAE/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko >>> description: Atheros driver 802.11n HTC based wireless devices >>> license: Dual BSD/GPL >>> author: Atheros Communications >>> srcversion: D567C77238F6355D88D836E >>> alias: usb:v0CF3p1006d*dc*dsc*dp*ic*isc*ip* >>> alias: usb:v0CF3p9271d*dc*dsc*dp*ic*isc*ip* >>> depends: ath9k_hw,mac80211,ath9k_common,ath,cfg80211 >>> vermagic: 2.6.35.6-99.fc14.i686.PAE SMP mod_unload 686 >>> parm: debug:Debugging mask (uint) >>> parm: nohwcrypt:Disable hardware encryption (int) >>> >>> >>> Best, >>> >>> Matthias >>> _______________________________________________ >>> ath9k-devel mailing list >>> ath9k-devel@lists.ath9k.org >>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >>> >> > _______________________________________________ > ath9k-devel mailing list > ath9k-devel@lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel