View previous topic :: View next topic |
Author |
Message |
bookstack Apprentice
Joined: 27 Feb 2004 Posts: 245
|
Posted: Tue Jun 06, 2006 6:20 pm Post subject: How to use wpa_suppliant with WPA authentication? |
|
|
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 |
|
|
bookstack Apprentice
Joined: 27 Feb 2004 Posts: 245
|
Posted: Tue Jun 06, 2006 6:33 pm Post subject: |
|
|
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 |
|
|
magic919 Advocate
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
|
Back to top |
|
|
bookstack Apprentice
Joined: 27 Feb 2004 Posts: 245
|
Posted: Tue Aug 15, 2006 2:42 am Post subject: |
|
|
Fixed, just disable the ssl.
it works. _________________ Refactor the life |
|
Back to top |
|
|
|