You are not logged in.

#1 2010-10-12 20:42:01

John
Member
Registered: 2010-10-12
Posts: 2

[rtl8187] association to AP fail

Hello all,

I have a problem with my wifi usb card (AWUS036H) wich use rtl8187 driver included into the kernel ...
I referred to the wiki http://wiki.archlinux.org/index.php/Rtl8187_wireless. But the two firsts methods don't resolves my problem.

The problem is to connect to my access point, wpa_supplicant fail to associate my wifi card with the AP.
I'll post the various logs below you can see by yourself.

If anyone has an idea how to solve this problem, I'm open!
Thank you.

PS: it's normal that the MAC addresses are 00:00:00:00:00, I'll changed it before paste.

Dmesg output :

Oct 12 19:46:25 localhost kernel: wlan1: direct probe to 00:00:00:00:00:00 (try 1)
Oct 12 19:46:25 localhost kernel: wlan1: direct probe to 00:00:00:00:00:00 (try 2)
Oct 12 19:46:26 localhost kernel: wlan1: direct probe to 00:00:00:00:00:00 (try 3)
Oct 12 19:46:26 localhost kernel: wlan1: direct probe to 00:00:00:00:00:00 timed out
.....

wpa_supplicant (# wpa_supplicant -c/etc/wpa_supplicant.conf -Dwext -iwlan1 -d):

Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Priority group 0
   id=0 ssid='MYAP_XXXX'
WEXT: cfg80211-based driver detected
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 00:00:00:00:00:00
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): ba ........................... 13
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
Added interface wlan1
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Wireless event: cmd=0x8b1a len=8
State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Wireless event: cmd=0x8b19 len=8
Received 1768 bytes of scan results (5 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID 00:00:00:00:00:00 SSID 'XXXXXX'
BSS: Add new id 1 BSSID 00:00:00:00:00:00 SSID 'XXXXXX'
BSS: Add new id 2 BSSID 00:00:00:00:00:00 SSID 'MYAP_XXXX'
BSS: Add new id 3 BSSID 00:00:00:00:00:00 SSID 'XXXXXX'
BSS: Add new id 4 BSSID 00:00:00:00:00:00 SSID 'XXXXXX'
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:00:00:00:00:00 ssid='XXXXXX' wpa_ie_len=28 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 00:00:00:00:00:00 ssid='XXXXXX' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
2: 00:00:00:00:00:00 ssid='XXXXXX' wpa_ie_len=28 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
   selected WPA AP 00:00:00:00:00:00 ssid='MYAP_XXXX'
Trying to associate with 00:00:00:00:00:00 (SSID='MYAP_XXXX' freq=2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=30): dd ........... 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd .......... 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP fail=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portControl=Auto
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Wireless event: cmd=0x8b1a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Wireless event: cmd=0x8b1a len=17
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist // concerned BSSID ! (My AP) :/
..................

Offline

#2 2010-10-13 07:22:32

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: [rtl8187] association to AP fail

I also have an alfa and problems

Use this

iwconfig wlan1 rate 1M

and see if it associates after that. That works with me... Don't know if you tried that rate

Last edited by TigTex (2010-10-13 07:23:22)


.::. TigTex @ Portugal .::.

Offline

#3 2010-10-13 16:49:29

John
Member
Registered: 2010-10-12
Posts: 2

Re: [rtl8187] association to AP fail

I also tried to put the rate to 5.5M but it didn't worked hmm

Edit:
Just tested with 1M, same result hmm

Last edited by John (2010-10-13 16:52:21)

Offline

Board footer

Powered by FluxBB