Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant ipw2200 ctrl cmd_string failed [SOLVED]
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
ubik15
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2005
Posts: 90

PostPosted: Tue Dec 06, 2005 2:09 pm    Post subject: wpa_supplicant ipw2200 ctrl cmd_string failed [SOLVED] Reply with quote

Hi all,

I've recently changed my wireless configuration, switching from wireless-tools (that worked great) to wpa_supplicant, 'cause I need to use WPA.

I followed all the guides provided by the gentoo staff and the wiki, but my wpa_supplicant won't work.
Every time I try to execute:
Code:
# wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf

I've got this error msg:
Code:
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.


My kernel is 2.6.14-r2 and I have the latest drivers and firmware for the ipw2200.
wpa_supplicant is 0.4.7 (because of the gui).

Any suggestions?
Tnx


Last edited by ubik15 on Tue Dec 06, 2005 7:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Dec 06, 2005 2:17 pm    Post subject: Reply with quote

Try to comment out the lines following "OpenSSL Engine support" in /etc/wpa_supplicant.conf. BTW, if ipw is the latest you've to use -Dwext instead of -Dipw
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
ubik15
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2005
Posts: 90

PostPosted: Tue Dec 06, 2005 7:01 pm    Post subject: Reply with quote

Ok, thank you, now almost everything is working.

Well, net.eth1 won't start during the bootstrap, but I can make it run with:
Code:
# /etc/init.d/net.eth1 restart


Another question: is wpa_supplicant the best choiche?
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Dec 06, 2005 7:10 pm    Post subject: Reply with quote

ubik15 wrote:
Well, net.eth1 won't start during the bootstrap, but I can make it run with:
Code:
# /etc/init.d/net.eth1 restart

This happened to me too, at least until this morning. Now I've changed something but I don't know what. Look at this topic I just marked solved, but don't expect to find a solution. In fact I changed the net.conf a little, and I'm using the last baselayout (unstable). I'm not sure because in the meantime I used iwconfig at home and plugged eth0 at work.

ubik15 wrote:
Another question: is wpa_supplicant the best choiche?

AFAIK yes, look also at last Gentoo Weekly Newsletter
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
ubik15
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2005
Posts: 90

PostPosted: Tue Dec 06, 2005 8:22 pm    Post subject: Reply with quote

Well, thank you very much!

(to be honest, the first link you suggested points directly to this same post!)
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Dec 06, 2005 9:58 pm    Post subject: Reply with quote

ubik15 wrote:
(to be honest, the first link you suggested points directly to this same post!)

Oops, I meant this one.
But, did you solved?
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
ubik15
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2005
Posts: 90

PostPosted: Wed Dec 07, 2005 2:53 pm    Post subject: Reply with quote

Maybe I've solved.
I've edited my /etc/conf.d/net, reordering the lines in this way:
Code:

modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
associate_timeout_eth1=5
config_MyESSID=( "dhcp" )
dhcpcd_MyESSID="-t 7"
fallback_MyESSID=( "default via 192.168.0.1" )

config_eth0=( "192.168.0.15/24" )
routes_eth0=( "default gw 192.168.0.1" )


During the boot, I can't see the eth1 interface going up (eth0 is shown), but the connection works.
Instead, when I shutdown eth1 script is stopped.
Mah!
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Wed Dec 07, 2005 5:23 pm    Post subject: Reply with quote

Glad to know.
ubik15 wrote:
During the boot, I can't see the eth1 interface going up (eth0 is shown), but the connection works.
Instead, when I shutdown eth1 script is stopped.
Mah!

It's because eth1 is started by hotplug in the background as soon as it's detected. If you want to change this behaviour add hotplug_eth1="no" to /etc/conf.d/net.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
ubik15
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2005
Posts: 90

PostPosted: Thu Dec 08, 2005 10:53 am    Post subject: Reply with quote

Thank you very much!
Bye
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