Re: WPA: problems connecting to wpa_supplicant



Hi Michael,

Sorry I cannot give a solution but I have precisely the same problem.
I've tried running the latest wpa_supplicant tarball (0.5.1) and even
the head of the cvs tree.  Both give me the same result.

I noticed that when I tried running wpa_supplicant interactively with
something like:
 wpa_supplicant -iwlan0 -Dwext -g /var/run/wpa_supplicant_global -dddd

(try with less "d"s for less debug info) and in another terminal I do:
 wpa_cli -g /var/run/wpa_supplicant_global

The first message the client reports is something about failing to connect
BUT... Unlike the case that wpa_supplicant is simply not present it does this
time present a prompt and accepts commands.  No matter what command I
give however I get an invalid command error.

Do you get the something like that?

I wonder if this is a driver issue and wpa_supplicant is actually failing to talk
to the card.  Should this work with ndiswrapper or have I got to use wext
drivers (ie. Windows divers vs. open source bcm43xx)? (I have a Broadcom 4306 card)

Hopefully someone on the list can shed some light on this,

tOnY

Michael Biebl wrote:

Hi,

I'm trying to get NM up and running on a Debian unstable box.
NM is a current CVS snapshot (because I want to get WPA1) and it
compiles and installs fine.
I used the following configure flag:
--with-wpa_supplicant=/usr/sbin/wpa_supplicant
but when I run NM and try to connect to a WPA enabled access point I get
the following error message (the complete log is attached):
<WARNING>  real_act_stage2_config (): Activation (wlan0/wireless):
couldn't connect to the supplicant.
And the connection fails of course.
wpa_supplicant is version 0.5.1. Is there anything else I have to do?
Has anybody an idea what is going wrong?

Cheers,
Michael
------------------------------------------------------------------------

Feb  3 07:12:48 pluto NetworkManager: <information>     Device wlan0 activation scheduled...
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0) started...
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0) Stage 1 (Device Prepare) scheduled...
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0) Stage 1 (Device Prepare) started...
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0) Stage 2 (Device Configure) scheduled...
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0) Stage 1 (Device Prepare) complete.
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0) Stage 2 (Device Configure) starting...
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0/wireless): access point 'wgrouter' is encrypted, but NO valid key exists.  New key needed.
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0) New wireless user key requested for network 'wgrouter'.
Feb  3 07:12:48 pluto NetworkManager: <information>     Activation (wlan0) Stage 2 (Device Configure) complete.
Feb  3 07:12:49 pluto kernel: ipw2100: Fatal interrupt. Scheduling firmware restart.
Feb  3 07:13:09 pluto NetworkManager: <information>     Activation (wlan0) New wireless user key for network 'wgrouter' received.
Feb  3 07:13:09 pluto NetworkManager: <information>     Activation (wlan0) Stage 1 (Device Prepare) scheduled...
Feb  3 07:13:09 pluto NetworkManager: <information>     Activation (wlan0) Stage 1 (Device Prepare) started...
Feb  3 07:13:09 pluto NetworkManager: <information>     Activation (wlan0) Stage 2 (Device Configure) scheduled...
Feb  3 07:13:09 pluto NetworkManager: <information>     Activation (wlan0) Stage 1 (Device Prepare) complete.
Feb  3 07:13:09 pluto NetworkManager: <information>     Activation (wlan0) Stage 2 (Device Configure) starting...
Feb  3 07:13:09 pluto NetworkManager: <information>     Activation (wlan0/wireless): access point 'wgrouter' is encrypted, and a key exists.  No new key needed.
Feb  3 07:13:10 pluto NetworkManager: <WARNING>  real_act_stage2_config (): Activation (wlan0/wireless): couldn't connect to the supplicant.
Feb  3 07:13:10 pluto NetworkManager: <information>     Activation (wlan0) failure scheduled...
Feb  3 07:13:10 pluto NetworkManager: <information>     Activation (wlan0) Stage 2 (Device Configure) complete.
Feb  3 07:13:10 pluto NetworkManager: <information>     Activation (wlan0) failed for access point (wgrouter)
Feb  3 07:13:10 pluto NetworkManager: <information>     Activation (wlan0) failed.
Feb  3 07:13:10 pluto NetworkManager: <information>     Deactivating device wlan0.
------------------------------------------------------------------------

_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]