Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
turboedvo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 87

PostPosted: Sun Jun 04, 2006 1:59 am    Post subject: wpa_supplicant problem Reply with quote

I'm trying to configure wpa_supplicant and I keep getting the following error message:

Quote:
localhost portage # wpa_supplicant -c/etc/wpa_supplicant.conf -Dipw -ieth1
ENGINE: ctrl cmd_string failed: LOAD (null) [error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library]
SSL: Failed to initialize TLS context.
Failed to initialize EAPOL state machines.


I tried running it with -Dwext and the error message didn't change, so I don't think that is the problem.

Here is my wpa_supplicant.conf

Quote:
update_config=1


ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=wheel


eapol_version=1


ap_scan=1
fast_reauth=1

opensc_engine_path=/usr/lib/opensc/engine_opensc.so
pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so

# Maximum lifetime for PMKSA in seconds; default 43200
#dot11RSNAConfigPMKLifetime=43200
# Threshold for reauthentication (percentage of PMK lifetime); default 70
#dot11RSNAConfigPMKReauthThreshold=70
# Timeout for security association negotiation in seconds; default 60
#dot11RSNAConfigSATimeout=60

#network={
# ssid="NOTWIRED"
# proto=WPA
# key_mgmt=WPA-PSK
# pairwise=CCMP TKIP
# group=CCMP TKIP WEP104 WEP40
# psk=[omitted]
# priority=2
#}

network={
ssid="NOTWIRED"
#psk="[omitted]"
proto=WPA
key_mgmt=WPA-PSK
psk=[omitted]
}


Thanks for any help. I have tried reading the Gentoo wireless guide unsuccessfully.

Eamon
Back to top
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Mon Jun 05, 2006 7:34 pm    Post subject: Reply with quote

Did you try to comment out the OpenSC lines?

Thomas
Back to top
View user's profile Send private message
turboedvo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 87

PostPosted: Wed Jun 07, 2006 2:15 am    Post subject: Reply with quote

Yeah, and it gave me another large error message. I'll go ahead and do it and then post the error.

Eamon
Back to top
View user's profile Send private message
turboedvo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 87

PostPosted: Fri Jun 09, 2006 5:03 am    Post subject: Reply with quote

I suppose that I did something other than comment that line out, because it seems to be working now (sort of, I haven't quite figured out how it works but I'm using KWLan to see if I can find an easy way to get onto WPA protected networks and it seems that with that line commented out, the program is talking with wpa_supplicant. Thus, I figure something is going right. I'll see if I can't get it working.

Eamon
Back to top
View user's profile Send private message
turboedvo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 87

PostPosted: Fri Jun 09, 2006 5:16 am    Post subject: Reply with quote

Quote:
Trying to associate with 00:0f:66:49:4b:10 (SSID='NOTWIRED' freq=0 MHz)
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported

Here's what it gives me when I try to run wpa_supplicant, if that means anything.

Eamon
Back to top
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Fri Jun 09, 2006 10:22 am    Post subject: Reply with quote

Try "-Dwext"!

Thomas
Back to top
View user's profile Send private message
turboedvo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 87

PostPosted: Fri Jun 09, 2006 10:46 pm    Post subject: Reply with quote

Awesome, it worked. Why is it that I need to use wext instead of ipw?

Eamon
Back to top
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Sat Jun 10, 2006 2:43 am    Post subject: Reply with quote

The Wireless EXTension API was integerated into the driver to make it more compatible with other drivers and to make the combination of ipw driver, ieee802 driver and the kernel more or less a reference for similar drivers.

Thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum