You are not logged in.

#1 2008-08-12 23:23:25

redefine
Member
Registered: 2008-07-17
Posts: 35

wpa not connecting

i'm trying to get my wireless set up at uni.

i currently use wicd with the tray applet to manage my wireless networks (i currently have it set up to autoconnect to my wep network at home)

but i'm having trouble trying to connect the the uni network. they use WPA-enterprise, and supply a swinwifi.conf file and a .cer ca certificate file. i tried wicd, but it dosent connect. it dosent get past the obtaining ip address. so i tried from the terminal using:

 sudo wpa_supplicant -d -w -i wlan0 -c /path/to/swinwifi.conf -D wext

and it associates with the access point, but dosent authenticate, returning an error like ssl cant load the root certificate. i also get a whole lot of errors saying something like ioctl [some-letters-i-cant-remember] command not found

i would post the exact thing, but i had trouble getting wpa_supplicant to output to a log file of my choice, and ext2fs dosent seem to like my arch install.

do i need to convert the certificate file to another format or is there something else going on?

Offline

#2 2008-08-13 05:09:48

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: wpa not connecting

Swinburne Uni wifi?

Check the patch in the swinwifi.conf to the cert file. Maybe try an absolute (full) path to the file.

If you can post more details, that'd be good.

Last edited by iphitus (2008-08-13 05:09:57)

Offline

#3 2008-08-13 07:00:40

redefine
Member
Registered: 2008-07-17
Posts: 35

Re: wpa not connecting

that'd be it. swinburne.
i checked my swinwifi.conf and make sure it pointed to the full path of the cert file. i'll see if i can get the log file.

EDIT:
heres the output of the above command. i managed to get it into windows (where the wifi works)

[nathan@theMachine ~]$ sudo wpa_supplicant -iwlan0 -c/home/nathan/swinwifi-linux/swinwifi.conf -Dwext -w 
ioctl[SIOCSIWAUTH]: Operation not supported 
WEXT auth param 4 value 0x0 - Trying to associate with 00:0f:24:00:23:75 (SSID='swinwifi' freq=2412 MHz) 
Associated with 00:0f:24:00:23:75 
CTRL-EVENT-EAP-STARTED EAP authentication started 
CTRL-EVENT-EAP-FAILURE EAP authentication failed 
CTRL-EVENT-EAP-STARTED EAP authentication started 
CTRL-EVENT-EAP-FAILURE EAP authentication failed 
CTRL-EVENT-EAP-STARTED EAP authentication started 
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected 
OpenSSL: tls_connection_ca_cert - Failed to load root certificates error:00000000:lib(0):func(0):reason(0) 
CTRL-EVENT-EAP-FAILURE EAP authentication failed 
CTRL-EVENT-EAP-STARTED EAP authentication started 
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected 
OpenSSL: tls_connection_ca_cert - Failed to load root certificates error:00000000:lib(0):func(0):reason(0) 
CTRL-EVENT-EAP-FAILURE EAP authentication failed 
Associated with 00:0f:24:00:23:75 
CTRL-EVENT-EAP-STARTED EAP authentication started 
CTRL-EVENT-EAP-FAILURE EAP authentication failed 
CTRL-EVENT-EAP-STARTED EAP authentication started 
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected 
OpenSSL: tls_connection_ca_cert - Failed to load root certificates error:00000000:lib(0):func(0):reason(0) 
CTRL-EVENT-EAP-FAILURE EAP authentication failed 
CTRL-EVENT-EAP-STARTED EAP authentication started 
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected 
OpenSSL: tls_connection_ca_cert - Failed to load root certificates error:00000000:lib(0):func(0):reason(0) 
CTRL-EVENT-EAP-FAILURE EAP authentication failed 
^CCTRL-EVENT-TERMINATING - signal 2 received 
ioctl[SIOCSIWAUTH]: Operation not supported

after that i used ctrl-c because it was going in a loop. any ideas?

Last edited by redefine (2008-08-13 07:16:19)

Offline

Board footer

Powered by FluxBB