View Single Post
Old 12-08-2012, 08:59 PM   #9
ryanthejuggler
Junior Member
ryanthejuggler began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2012
Device: Kobo Touch
Difficulty connecting using TLS

This may be a bit off-topic, but I'm having trouble with wpa-supplicant connecting to my university's wireless. It uses WPA-EAP TLS.

Here's my conf file:

Code:
ctrl_interface=/var/run/wpa_supplicant
update_config=1
ap_scan=1
fast_reauth=1
eapol_version=1 
network={
	ssid="WPI-Wireless"
	scan_ssid=0
	key_mgmt=WPA-EAP
	pairwise=CCMP TKIP
	group=CCMP TKIP
	eap=TLS
	mode=0
	auth_alg=OPEN
	identity="Wireless User 12-13"
	anonymous_identity="Wireless User 12-13"
	ca_cert="/home/certs/netops-ca.pem"
	ca_path="/home/certs"
	private_key="/home/certs/Wireless-User.pem"
	client_cert="/home/certs/Wireless-User.pem"
	private_key_passwd="--------"
}
When I try wpa_supplicant, I get the following:

Code:
# wpa_supplicant -dd -i wlan0 -c /home/wpa_supplicant.conf 
Initializing interface 'wlan0' conf '/home/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/home/wpa_supplicant.conf' -> '/home/wpa_supplicant.conf'
Reading configuration file '/home/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
update_config=1
ap_scan=1
fast_reauth=1
eapol_version=1
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=12):
     57 50 49 2d 57 69 72 65 6c 65 73 73               WPI-Wireless    
scan_ssid=0 (0x0)
key_mgmt: 0x1
pairwise: 0x18
group: 0x18
eap methods - hexdump(len=16): 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00
mode=0 (0x0)
auth_alg: 0x1
identity - hexdump_ascii(len=19):
     57 69 72 65 6c 65 73 73 20 55 73 65 72 20 31 32   Wireless User 12
     2d 31 33                                          -13             
anonymous_identity - hexdump_ascii(len=19):
     57 69 72 65 6c 65 73 73 20 55 73 65 72 20 31 32   Wireless User 12
     2d 31 33                                          -13             
ca_cert - hexdump_ascii(len=25):
     2f 68 6f 6d 65 2f 63 65 72 74 73 2f 6e 65 74 6f   /home/certs/neto
     70 73 2d 63 61 2e 70 65 6d                        ps-ca.pem       
ca_path - hexdump_ascii(len=11):
     2f 68 6f 6d 65 2f 63 65 72 74 73                  /home/certs     
private_key - hexdump_ascii(len=29):
     2f 68 6f 6d 65 2f 63 65 72 74 73 2f 57 69 72 65   /home/certs/Wire
     6c 65 73 73 2d 55 73 65 72 2e 70 65 6d            less-User.pem   
client_cert - hexdump_ascii(len=29):
     2f 68 6f 6d 65 2f 63 65 72 74 73 2f 57 69 72 65   /home/certs/Wire
     6c 65 73 73 2d 55 73 65 72 2e 70 65 6d            less-User.pem   
private_key_passwd - hexdump_ascii(len=8): [REMOVED]
Priority group 0
   id=0 ssid='WPI-Wireless'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=13 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3 flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: a0:0b:ba:6c:e4:48
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): b1 7d 94 e4 f5 d4 58 7e 96 91 fc c6 c2 5a 51 2f
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 wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 4096 bytes of scan results (8 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID 78:19:f7:77:8b:82 SSID 'WPI-Wireless'
BSS: Add new id 1 BSSID 78:19:f7:78:42:82 SSID 'WPI-Wireless'
BSS: Add new id 2 BSSID 78:19:f7:73:44:c2 SSID 'WPI-Wireless'
BSS: Add new id 3 BSSID 00:16:ca:32:7f:c0 SSID 'WPI-Wireless'
BSS: Add new id 4 BSSID 66:6d:57:68:63:57 SSID 'Connectify-wxs'
BSS: Add new id 5 BSSID 78:19:f7:77:8b:80 SSID 'WPI-Guest'
BSS: Add new id 6 BSSID 78:19:f7:78:42:80 SSID 'WPI-Guest'
BSS: Add new id 7 BSSID 78:19:f7:73:44:c0 SSID 'WPI-Guest'
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 78:19:f7:77:8b:82 ssid='WPI-Wireless' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   selected based on RSN IE
   selected WPA AP 78:19:f7:77:8b:82 ssid='WPI-Wireless'
Trying to associate with 78:19:f7:77:8b:82 (SSID='WPI-Wireless' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 1 proto 2
WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 01 00 00
WPA: using GTK CCMP
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 04 01 00 00 0f ac 04 01 00 00 0f ac 01 00 00
No keys have been configured - skip key clearing
State: DISCONNECTED -> 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
^Cioctl[SIOCSIWESSID]: Interrupted system call
Association request to the driver failed
Setting authentication timeout: 5 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
CTRL-EVENT-TERMINATING - signal 2 received
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b04 len=12
Removing interface wlan0
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
BSS: Remove id 0 BSSID 78:19:f7:77:8b:82 SSID 'WPI-Wireless'
BSS: Remove id 1 BSSID 78:19:f7:78:42:82 SSID 'WPI-Wireless'
BSS: Remove id 2 BSSID 78:19:f7:73:44:c2 SSID 'WPI-Wireless'
BSS: Remove id 3 BSSID 00:16:ca:32:7f:c0 SSID 'WPI-Wireless'
BSS: Remove id 4 BSSID 66:6d:57:68:63:57 SSID 'Connectify-wxs'
BSS: Remove id 5 BSSID 78:19:f7:77:8b:80 SSID 'WPI-Guest'
BSS: Remove id 6 BSSID 78:19:f7:78:42:80 SSID 'WPI-Guest'
BSS: Remove id 7 BSSID 78:19:f7:73:44:c0 SSID 'WPI-Guest'
Cancelling scan request
Cancelling authentication timeout
netlink: Operstate: linkmode=0, operstate=6

Last edited by ryanthejuggler; 12-08-2012 at 08:59 PM. Reason: removed password
ryanthejuggler is offline   Reply With Quote