Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to use wpa_suppliant with WPA authentication?
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
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Tue Jun 06, 2006 6:20 pm    Post subject: How to use wpa_suppliant with WPA authentication? Reply with quote

Hello. I am in an wireless network with WPA authentication environment.

Here is the summary of output of iwlist wlan0 scan:

Code:
essid: "foo"
Encryption key: on
IE: WPA version 1280
    Group Cipher:  Propretary
    Pairwise ciphers ( 42019 )

IE: WPA version 257
    Group Cipher:  Propretary
    Pairwise ciphers ( 0 )
    Authentication Suites ( 4023 ): .......



I have emerged wpa_suppliant, and made the following modification of the defaut wpa_suppliant.conf:
Code:
ap_scan=2
network={
  ssid="foo"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP
  group=TKIP
  psk="i don't want to tell you"
  priority=2
}



And I got the following output, using ndiswrapper and Dell TruMobile 1350:
Code:

sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -D ndiswrapper
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 machine



Looks like some shared library is broken. I just upgraed to gcc 4.1, but does not emerge -e world. the wpa_supplicant is built with gcc-4.1.1, does this make trouble ?

Thanks for any replay.
_________________
Refactor the life
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Tue Jun 06, 2006 6:33 pm    Post subject: Reply with quote

Yes. I re-emerge the openssl and wpa_supplicant and tried again:

Code:
sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -D ndiswrapper
ENGINE: Can not find engine dynamic [ error: 2606A074: engine routines: ENGINE_by_id: no such engine]
SSL: failed to initialize TLS context
Failed to initialize EAPOL state machine


Any ideas ?
_________________
Refactor the life
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Tue Jun 06, 2006 9:39 pm    Post subject: Reply with quote

bookstack wrote:


Any ideas ?


Yes. Try the Wiki

http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup

It's under the Q&A bit.
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Tue Aug 15, 2006 2:42 am    Post subject: Reply with quote

Fixed, just disable the ssl.
it works.
_________________
Refactor the life
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