wicd+wpa_supplicant+iwl3945+WPA(EAP-TTLS+PAP)/TKIP problem

Asked by ougu

Hello and sorry for my english.

I want to connect to the wireless netwoork in my university (eduroam).

I have Ubuntu 9.10, wicd 1.6.1-3ubuntu1 and wpasupplicant 0.6.9-3ubuntu1. My wireless card is Intel 3945 (iwl3945 kernel module).

My wicd config file is:

name = eduroam: EAP-TTLS + PAP
author = Ana
version = 1
require identity *Usuario password *Clave
-----
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="$_ESSID"
scan_ssid=$_SCAN
proto= WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=TTLS
phase2="auth=PAP"
ca_cert="/etc/ssl/certs/GTE_CyberTrust_Global_Root.pem"
<email address hidden>"
identity="$_IDENTITY"
password="$_PASSWORD"
}

The wpasupplicant config file generated by wicd is:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="eduroam"
scan_ssid=0
proto= WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=TTLS
phase2="auth=PAP"
ca_cert="/etc/ssl/certs/GTE_CyberTrust_Global_Root.pem"
<email address hidden>"
<email address hidden>"
password="YYY"
}

The log in /var/log/wicd/wicd.log when I try to connect is:

2009/12/18 09:44:55 :: Connecting to wireless network eduroam
2009/12/18 09:44:55 :: Putting interface down
2009/12/18 09:44:55 :: Releasing DHCP leases...
2009/12/18 09:44:55 :: Setting false IP...
2009/12/18 09:44:55 :: Stopping wpa_supplicant
2009/12/18 09:44:55 :: Flushing the routing table...
2009/12/18 09:44:55 :: Putting interface up...
2009/12/18 09:44:55 :: Attempting to authenticate...
2009/12/18 09:45:01 :: wpa_supplicant rescan forced...
2009/12/18 09:45:36 :: wpa_supplicant authentication may have failed.
2009/12/18 09:45:36 :: Running DHCP
2009/12/18 09:45:36 :: Internet Systems Consortium DHCP Client V3.1.2
2009/12/18 09:45:36 :: Copyright 2004-2008 Internet Systems Consortium.
2009/12/18 09:45:36 :: All rights reserved.
2009/12/18 09:45:36 :: For info, please visit http://www.isc.org/sw/dhcp/
2009/12/18 09:45:36 ::
2009/12/18 09:45:37 :: Listening on LPF/wlan0/xx:18:yy:8c:a8x
2009/12/18 09:45:37 :: Sending on LPF/wlan0/xx:18:yy:8c:a8x
2009/12/18 09:45:37 :: Sending on Socket/fallback
2009/12/18 09:45:38 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
2009/12/18 09:45:43 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
2009/12/18 09:45:55 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
2009/12/18 09:46:16 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
2009/12/18 09:46:27 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
2009/12/18 09:46:39 :: No DHCPOFFERS received.
2009/12/18 09:46:39 :: No working leases in persistent database - sleeping.
2009/12/18 09:46:39 :: DHCP connection failed
2009/12/18 09:46:39 :: exiting connection thread
2009/12/18 09:46:39 :: Sending connection attempt result dhcp_failed
2009/12/18 09:46:39 :: Autoconnecting...
2009/12/18 09:46:39 :: Putting interface down
2009/12/18 09:46:39 :: Attempting to autoconnect with wired interface...
2009/12/18 09:46:39 :: Releasing DHCP leases...
2009/12/18 09:46:39 :: Setting false IP...
2009/12/18 09:46:39 :: Flushing the routing table...
2009/12/18 09:46:39 :: Putting interface up...
2009/12/18 09:46:39 :: Running DHCP
2009/12/18 09:46:39 :: Internet Systems Consortium DHCP Client V3.1.2
2009/12/18 09:46:39 :: Copyright 2004-2008 Internet Systems Consortium.
2009/12/18 09:46:39 :: All rights reserved.
2009/12/18 09:46:39 :: For info, please visit http://www.isc.org/sw/dhcp/
2009/12/18 09:46:39 ::
2009/12/18 09:46:40 :: Listening on LPF/eth0/xx:17:yy:42:46:zz
2009/12/18 09:46:40 :: Sending on LPF/eth0/xx:17:yy:42:46:zz
2009/12/18 09:46:40 :: Sending on Socket/fallback
2009/12/18 09:46:44 :: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
2009/12/18 09:46:44 :: DHCPOFFER of 10.10.10.10 from 158.49.247.3
2009/12/18 09:46:44 :: DHCPREQUEST of 10.10.10.10 on eth0 to 255.255.255.255 port 67
2009/12/18 09:46:44 :: DHCPACK of 10.10.10.10 from 10.10.10.1
2009/12/18 09:46:45 :: bound to 10.10.10.10 -- renewal in 42635 seconds.
2009/12/18 09:46:45 :: DHCP connection successful
2009/12/18 09:46:45 :: Connecting thread exiting.
2009/12/18 09:46:45 :: Sending connection attempt result Success

If I run wpasupplicant:

$ sudo wpa_supplicant -i wlan0 -c /var/lib/wicd/configurations/xx18yycfzz82 -D wext -ddd
Initializing interface 'wlan0' conf '/var/lib/wicd/configurations/xx18yycfzz82' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/var/lib/wicd/configurations/xx18yycfzz82' -> '/var/lib/wicd/configurations/xx18yycfzz82'
Reading configuration file '/var/lib/wicd/configurations/xx18yycfzz82'
ap_scan=1
ctrl_interface='/var/run/wpa_supplicant'
Line: 3 - start of a new network block
ssid - hexdump_ascii(len=7):
65 64 75 72 6f 61 6d eduroam
scan_ssid=0 (0x0)
proto: 0x1
key_mgmt: 0x1
pairwise: 0x8
group: 0x8
eap methods - hexdump(len=16): 00 00 00 00 15 00 00 00 00 00 00 00 00 00 00 00
phase2 - hexdump_ascii(len=:
61 75 74 68 3d 50 41 50 auth=PAP
ca_cert - hexdump_ascii(len=45):
2f 65 74 63 2f 73 73 6c 2f 63 65 72 74 73 2f 47 /etc/ssl/certs/G
54 45 5f 43 79 62 65 72 54 72 75 73 74 5f 47 6c TE_CyberTrust_Gl
6f 62 61 6c 5f 52 6f 6f 74 2e 70 65 6d obal_Root.pem
anonymous_identity - hexdump_ascii(len=:
40 75 6e 65 76 2e 33 73 @universidad.es
identity - hexdump_ascii(len=16):
39 36 31 22 32 31 51 42 40 11 6e 65 88 2e 65 73 <email address hidden>
password - hexdump_ascii(len=4): [REMOVED]
Priority group 0
id=0 ssid='eduroam'
Interface wlan0 set UP - waiting a second for the driver to complete initialization
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: xx:18:yy:8c:zz:fa
wpa_driver_wext_set_wpa
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
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): 59 6d b0 e7 22 58 54 bf a4 49 08 31 bb ae 7b c4
WPS: Build Beacon and Probe Response IEs
WPS: * Version
WPS: * Wi-Fi Protected Setup State (0)
WPS: * Version
WPS: * Wi-Fi Protected Setup State (0)
WPS: * Response Type (2)
WPS: * UUID-E
WPS: * Manufacturer
WPS: * Model Name
WPS: * Model Number
WPS: * Serial Number
WPS: * Primary Device Type
WPS: * Device Name
WPS: * Config Methods (0)
WPS: * RF Bands (3)
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Ignore event for foreign ifindex 4
Ignore event for foreign ifindex 4
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 1022 bytes of scan results (3 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: xx:18:yy:cf:zz:82 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip WPA IE - GTK cipher mismatch
1: 00:14:78:65:28:18 ssid='qdswireless' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: xx:18:yy:cf:zz:84 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
Try to find non-WPA AP
0: xx:18:yy:cf:zz:82 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - non-WPA network not allowed
1: 00:14:78:65:28:18 ssid='qdswireless' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: xx:18:yy:cf:zz:84 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 5 seconds
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
EAPOL: disable timer tick
Scan timeout - try to get results
Received 1925 bytes of scan results (6 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: xx:18:yy:cf:zz:82 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip WPA IE - GTK cipher mismatch
1: 00:14:78:65:28:18 ssid='qdswireless' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: xx:18:yy:d0:zz:42 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip WPA IE - GTK cipher mismatch
3: 00:a0:c5:75:f7:ac ssid='arcoswlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
4: xx:18:yy:cf:zz:84 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
5: xx:18:yy:d0:zz:44 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
Try to find non-WPA AP
0: xx:18:yy:cf:zz:82 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - non-WPA network not allowed
1: 00:14:78:65:28:18 ssid='qdswireless' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: xx:18:yy:d0:zz:42 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - non-WPA network not allowed
3: 00:a0:c5:75:f7:ac ssid='arcoswlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
4: xx:18:yy:cf:zz:84 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
5: xx:18:yy:d0:zz:44 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 5 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=8
Received 1635 bytes of scan results (5 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: xx:18:yy:cf:zz:82 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip WPA IE - GTK cipher mismatch
1: 00:14:78:65:28:18 ssid='qdswireless' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: xx:18:yy:d0:zz:42 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip WPA IE - GTK cipher mismatch
3: xx:18:yy:cf:zz:84 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
4: xx:18:yy:d0:zz:44 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
Try to find non-WPA AP
0: xx:18:yy:cf:zz:82 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - non-WPA network not allowed
1: 00:14:78:65:28:18 ssid='qdswireless' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: xx:18:yy:d0:zz:42 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - non-WPA network not allowed
3: xx:18:yy:cf:zz:84 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
4: xx:18:yy:d0:zz:44 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=8
Received 1224 bytes of scan results (4 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: xx:18:yy:cf:zz:82 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip WPA IE - GTK cipher mismatch
1: xx:18:yy:d0:zz:42 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip WPA IE - GTK cipher mismatch
2: xx:18:yy:cf:zz:84 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
3: xx:18:yy:d0:zz:44 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
Try to find non-WPA AP
0: xx:18:yy:cf:zz:82 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - non-WPA network not allowed
1: xx:18:yy:d0:zz:42 ssid='eduroam' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - non-WPA network not allowed
2: xx:18:yy:cf:zz:84 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
3: xx:18:yy:d0:zz:44 ssid='rinuex' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec

I don't know what is the problem. Can somebody help me??

Thank you very much.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu wicd Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

little note
Not all wireless cards can use WPA under Linux

Can you help with this problem?

Provide an answer of your own, or ask ougu for more information if necessary.

To post a message you must log in.