Re: Could not connect to the supplicant



When starting it says:

NetworkManager: <information>   starting...
NetworkManager: <WARNING>        nm_system_device_get_system_config ():
data good :-)
NetworkManager: nm_ip4_config_set_address: assertion `config != NULL'
failed
NetworkManager: nm_ip4_config_set_gateway: assertion `config != NULL'
failed
NetworkManager: nm_ip4_config_set_netmask: assertion `config != NULL'
failed

The rest is all information  messages while its connecting to the wired
network. Then I switch in the applet to  a wireless network, and this
happens:

NetworkManager: <debug info>    [1142224189.345729]
nm_device_802_11_wireless_get_activation_ap (): Forcing AP
'HB1-02-02-14'
NetworkManager: <information>   User
Switch: /org/freedesktop/NetworkManager/Devices/wlan0 / HB1-02-02-14
NetworkManager: <information>   Deactivating device wlan0.
NetworkManager: <information>   Device wlan0 activation scheduled...
NetworkManager: <information>   Deactivating device eth0.
NetworkManager: <information>   Activation (wlan0) started...
NetworkManager: <information>   Activation (wlan0) Stage 1 of 5 (Device
Prepare) scheduled...
NetworkManager: <information>   Activation (wlan0) Stage 1 of 5 (Device
Prepare) started...
NetworkManager: <information>   Activation (wlan0) Stage 2 of 5 (Device
Configure) scheduled...
NetworkManager: <information>   Activation (wlan0) Stage 1 of 5 (Device
Prepare) complete.
NetworkManager: <information>   Activation (wlan0) Stage 2 of 5 (Device
Configure) starting...
NetworkManager: <information>   Activation (wlan0/wireless): access
point 'HB1-02-02-14' is unencrypted, no key needed.
NetworkManager: <WARNING>        real_act_stage2_config (): Activation
(wlan0/wireless): couldn't connect to the supplicant.
NetworkManager: <information>   Activation (wlan0) failure scheduled...
NetworkManager: <information>   Activation (wlan0) Stage 2 of 5 (Device
Configure) complete.
NetworkManager: <information>   Activation (wlan0) failed for access
point (HB1-02-02-14)
NetworkManager: <information>   Activation (wlan0) failed.
NetworkManager: <information>   Deactivating device wlan0.
NetworkManager: <information>   SWITCH: no current connection, found
better connection 'eth0'.
NetworkManager: <information>   Will activate connection 'eth0'.
NetworkManager: <information>   Device eth0 activation scheduled...
NetworkManager: <information>   Activation (eth0) started...

And it starts connecting my wired again.... :(

Jeroen


On Sun, 2006-03-12 at 23:25 -0500, Darren Albers wrote:
> Sorry I did not see that you stated that starting wpa_supplicant by
> hand works earlier.
> 
> If you run NetworkManager --no-daemon does any other error kick back
> and are you able to connect to an open wireless network?
> 
> On 3/12/06, Jeroen Roeper <jeroen roeper xs4all nl> wrote:
> > Yes it is. When I dont start NM and start wpa_supplicant by hand its
> > working and I can connect to wireless networks. That tells me that its
> > not a wpa_supplicant issue.
> >
> > I suspect its in between NM and wpa_supplicant. NM does see the wireless
> > networks available. But as soon as it starts talking to wpa_suppliclant
> > it fails.
> >
> > Jeroen
> >
> > On Sun, 2006-03-12 at 23:06 -0500, Darren Albers wrote:
> > > Stupid question, but when you built wpasupplicant did you set
> > > CONFIG_DRIVER_NDISWRAPPER=y in the .config?
> > >
> > > On 3/12/06, Jeroen Roeper <jeroen roeper xs4all nl> wrote:
> > > > Yes, I have applied that. It did not make any difference. It gave me the
> > > > same error as before the patch.
> > > >
> > > > Jeroen
> > > >
> > > > On Sun, 2006-03-12 at 22:54 -0500, Darren Albers wrote:
> > > > > Have you tried the patches posted here:
> > > > > http://mail.gnome.org/archives/networkmanager-list/2006-March/msg00068.html
> > > > >
> > > > > Robert Love posted a patch that contains some driver specific
> > > > > workarounds that are needed for a number of drivers that do not
> > > > > support WEXT completely or have some other issue.  His post mentions
> > > > > NDISWrapper specifically.
> > > > >
> > > > > On 3/12/06, Jeroen Roeper <jeroen roeper xs4all nl> wrote:
> > > > > > Oh, and I forgot to mention that I am using ndiswrapper with a broadcom
> > > > > > BCM4318 wireless adapter.
> > > > > >
> > > > > > On Mon, 2006-03-13 at 11:26 +0800, Jeroen Roeper wrote:
> > > > > > > Well,
> > > > > > >
> > > > > > > After a long time trying and tweaking its time for me to post to the
> > > > > > > list. I have NetworkManager up and running on my laptop. For my wired
> > > > > > > network its doing what its supposed to do but it does not connect to any
> > > > > > > wireless network. I keep getting the following line in my logs:
> > > > > > >
> > > > > > > NetworkManager: <WARNING>  real_act_stage2_config (): Activation
> > > > > > > (wlan0/wireless): couldn't connect to the supplicant.
> > > > > > >
> > > > > > > I assume that NM tries to connect to the supplicant using the dirs
> > > > > > > in /var/run/ which are all there... wpa_supplicant &
> > > > > > > wpa_supplicant-global. Both are empty though.
> > > > > > >
> > > > > > > When I try to start wpa_supplicant by hand it works fine... via NM it
> > > > > > > does not seem to do anything.
> > > > > > >
> > > > > > > I am running the following versions although I tried various other
> > > > > > > versions and combinations. All the same problem.
> > > > > > >
> > > > > > > NetworkManager 0.6.0
> > > > > > > wpa_supplicant 0.5.1
> > > > > > >
> > > > > > > If anyone has any idea let me know. Because at the moment I believe NM
> > > > > > > is making networking only more difficult then easier :)
> > > > > > >
> > > > > > > Jeroen
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > NetworkManager-list mailing list
> > > > > > > NetworkManager-list gnome org
> > > > > > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > NetworkManager-list mailing list
> > > > > > NetworkManager-list gnome org
> > > > > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > > > > >
> > > > > _______________________________________________
> > > > > NetworkManager-list mailing list
> > > > > NetworkManager-list gnome org
> > > > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > > > >
> > > > >
> > > >
> > > > _______________________________________________
> > > > NetworkManager-list mailing list
> > > > NetworkManager-list gnome org
> > > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > > >
> > > _______________________________________________
> > > NetworkManager-list mailing list
> > > NetworkManager-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > >
> > >
> >
> > _______________________________________________
> > NetworkManager-list mailing list
> > NetworkManager-list gnome org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> >
> _______________________________________________
> 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]