LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wpa_supplicant ipw2200 unsupported dirver (http://www.linuxquestions.org/questions/linux-wireless-networking-41/wpa_supplicant-ipw2200-unsupported-dirver-866248/)

cfabio 03-03-2011 12:19 PM

wpa_supplicant ipw2200 unsupported dirver
 
Hi

I'm trying to connect to my wireless network with wpa_supplicant client.
I give the command:
wpa_supplicant -c wpa_supplicant.conf -i eth1 -D wext

I obtain:
Trying to associate with 00:03:52:93:46:28 (SSID='eduroam' freq=2417 MHz)
Association request to the driver failed
Associated with 00:03:52:93:46:20
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:03:52:93:46:28 (SSID='eduroam' freq=2417 MHz)
Association request to the driver failed
Associated with 00:03:52:93:46:20
CTRL-EVENT-TERMINATING - signal 2 received


Any ideas?


kernell version: 2.6.32-28
wpa_supplicant version: 0.6.9
lshw -C network
*-network:0 DISABLED
description: Wireless interface
product: PRO/Wireless 2200BG [Calexico2] Network Connection
vendor: Intel Corporation
physical id: 5
bus info: pci@0000:06:05.0
logical name: eth1
version: 05
serial: 00:15:00:49:6d:75
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ipw2200 driverversion=1.2.2kmprq firmware=ABG:9.0.5.27 (Dec 12 2007) latency=128 link=no maxlatency=24 mingnt=3 multicast=yes wireless=unassociated
resources: irq:20 memory:c8206000-c8206fff



Bye

jlinkels 03-04-2011 09:46 PM

Quote:

Originally Posted by cfabio (Post 4277883)
Hi
wpa_supplicant -c wpa_supplicant.conf -i eth1 -D wext

Try -D ipw instead of -D wext

jlinkels

cfabio 03-05-2011 05:23 AM

Hi, jlinkels

Thanks for your reply.
I have already tried it. I obtain the error message "Unsupported driver" for -D ipw or -D ipw2200.
So, I've searched in internet and I've found that linux has moved from ipw to general wext driver...but it doesn't work also with this option as you can see from my first post.

cfabio

jlinkels 03-05-2011 09:07 AM

Nope, then I am out of ideas as well.

On my laptops I recently installed cowardly Networkmanager to connect to WPA networks. Since then the number of problems with networks greatly reduced. It is called KNetworkmanager in KDE.

I have one laptop with the ipw2200, which does NOT run Networkmanager yet. Whenever I want to use that driver I must unload (rmmod) and reload (modprobe) the driver after booting if I want to make it work anyway. But that installation is 3-4 years old and ipw2200 might have been improved.

jlinkels

cfabio 03-08-2011 05:31 AM

Hi

I've recompiled wpa_supplicant and the problem with the driver isn't present anymore.
Unfortunately the authentication doesn't work yet.

Now I start wpa_supplicant with:
wpa_supplicant -i eth1 -c wpa_supplicant.conf -D wext -d

My wpa_supplicant.conf file is:

network={
ssid="eduroam"
scan_ssid=1
key_mgmt=WPA-EAP
eap=TTLS
identity="user@domain.it"
anonymous_identity="anonymous@domain.it"
password="password"
#ca_cert="/etc/cert/ca.pem"
phase2="auth=PAP"
}



This is the debug report:
Initializing interface 'eth1' conf '/home/fabio/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/home/fabio/wpa_supplicant.conf' -> '/home/fabio/wpa_supplicant.conf'
Reading configuration file '/home/fabio/wpa_supplicant.conf'
Priority group 0
id=0 ssid='eduroam'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 00:15:00:49:6d:75
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
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 eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=7):
65 64 75 72 6f 61 6d eduroam
Starting AP scan for specific SSID(s)
Scan requested (ret=0) - scan timeout 5 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8b19 len=8
Received 3722 bytes of scan results (15 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID 00:03:52:93:46:28 SSID 'eduroam'
BSS: Add new id 1 BSSID 00:03:52:e3:85:18 SSID 'eduroam'
BSS: Add new id 2 BSSID 00:03:52:2b:8a:08 SSID 'eduroam'
BSS: Add new id 3 BSSID 00:03:52:e3:85:08 SSID 'eduroam'
BSS: Add new id 4 BSSID 00:03:52:2b:8a:18 SSID 'eduroam'
BSS: Add new id 5 BSSID 00:19:a9:40:54:34 SSID 'ftgm'
BSS: Add new id 6 BSSID 00:15:6d:63:d0:88 SSID ''
BSS: Add new id 7 BSSID 00:19:a9:40:54:31 SSID 'fgm'
BSS: Add new id 8 BSSID 00:19:a9:40:54:35 SSID 'guest-wpa'
BSS: Add new id 9 BSSID 00:19:a9:40:54:32 SSID 'eduroam'
BSS: Add new id 10 BSSID 00:19:a9:40:54:33 SSID 'area-cnr'
BSS: Add new id 11 BSSID 00:03:52:93:46:20 SSID 'visitors'
BSS: Add new id 12 BSSID 00:0f:b5:b3:91:76 SSID 'NETGEAR'
BSS: Add new id 13 BSSID 00:03:52:e3:85:10 SSID 'visitors'
BSS: Add new id 14 BSSID 00:03:52:2b:8a:00 SSID 'visitors'
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:03:52:93:46:28 ssid='eduroam' wpa_ie_len=22 rsn_ie_len=20 caps=0x11
selected based on RSN IE
selected WPA AP 00:03:52:93:46:28 ssid='eduroam'
Trying to associate with 00:03:52:93:46:28 (SSID='eduroam' freq=2417 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 8 pairwise 16 key_mgmt 1 proto 2
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 01
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 01 08 00
WPA: using GTK TKIP
WPA: using PTK CCMP
WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 01 00 00
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 'eth1' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:03:52:93:46:28
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=00:03:52:93:46:28
No keys have been configured - skip key clearing
Associated with 00:03:52:93:46:28
WPA: Association event - clear replay counter
WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Disassociation notification
Setting scan request: 0 sec 100000 usec
Added BSSID 00:03:52:93:46:28 into blacklist
CTRL-EVENT-DISCONNECTED bssid=00:03:52:93:46:28 reason=0
Disconnect event - remove keys
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_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: ASSOCIATED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED




Any ideas?
cfabio


All times are GMT -5. The time now is 09:01 PM.