You are not logged in.
After being so frustrated with NetworkManager and Wicd, I decided to come back to netcfg, but this time I have an encrypted WPA.
I have been trying to figure out how to configure netcfg with wpa_supplicant but so far I haven't been able to have any success.
Following this wiki page, I am able to successfully connect to my ESSID, with the following commands:
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
dhcpcd wlan0
However with the following netcfg profile I am unable to connect:
CONNECTION="wireless"
DESCRIPTION="Home connection"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa-config"
ESSID="myessid"
IP="dhcp"
WPA_OPTS="-Dwext"
WPA_CONF="/etc/wpa_supplicant.conf"
DHCP_TIMEOUT=10
Before failing, it spits an error:
Failed to connect to wpa_supplicant - wpa_ctrl_open: Success
If I put SECURITY="wpa" instead, it fails without the above error (and I don't know which one is better ).
My wireless card is an Intel BCM4312, using the ndiswrapper driver.
Thanks for your time
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Offline
I tried with those tweaks as you suggested, but it didn't work.
Also, as I said, either wpa or wpa-config do not work... perhaps the only change I could see was this:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Offline
I did that: if I leave the profile with the QUIRKS enabled, I get this error:
:: home up - wpa_supplicant did not start, possible configuration err
Else, I get the usual:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
> ls /var/run | grep wpa_supplicant
So it's not created (I had created it manually before, noticing the weird behaviour, but what is weirder is that the folder has disappeared now).
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
finferflu have you seen moljac024's post? Might be relevant to your issue.
Offline
Finferflu: please post the ENTIRE output, not just the pieces you believe are relevant.
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
This message is totally harmless.
To check for association netcfg keeps checking wpa_cli status until it get's the state "COMPLETED". Occassionally wpa_supplicant takes a bit longer to start up and isn't ready for wpa_cli, so wpa_cli fails with the above message. The loop ignores this and keeps going as usually the second time around wpa_supplicant is ready to be interrogated by wpa_cli.
Also, WPA_OPTS="-Dwext" is redundant, that's already passed by netcfg, so remove the variable.
Last edited by iphitus (2008-10-26 05:03:04)
Offline
Apparently it was a driver issue. I have ditched ndiswrapper for broadcom-wl, and it worked straight away.
Iphitus, the output I posted was the whole output (I just skipped the prompt).
Thank you all for your support
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline