Error: "failed to connect to wpa_supplicant - wpa_ctrl_open no such file or directory" using netcfg with wpa_supplicant

Posted by user1576628 on Super User See other posts from Super User or by user1576628
Published on 2012-09-09T17:37:10Z Indexed on 2012/09/20 3:40 UTC
Read the original article Hit count: 767

Filed under:
|
|

I'm trying to set up netcfg so that I can finish installing Arch Linux (using the instructions from the Beginners' Guide and netcfg) and I passed over what was meant to be a short step. Open wifi-menu, select network, enter password. After multiple attempts, I decided to edit the profile manually, which yielded no improvement. Eventually I decided to use netfcg with the more familiar wpa_supplicant. My /etc/wpa_supplicant.conf file is as follows:

network={
    ssid="my_ssid"
    #psk="my_wireless_passcode"
    psk="my_wireless_passcode_hex"
}

(Replacing generic names with my actual ssid and psk.)

And my /etc/network.d/wpa_suppl file reads:

CONNECTION='wireless'
DESCRIPTION='A wpa_supplicant configuration based wireless connection'
INTERFACE='wlan0'
SECURITY='wpa-config'
WPA_CONF='/etc/wpa_supplicant.conf'
IP='dhcp'

My ssid is not hidden, wlan0 is the proper interface, and wpa_supplicant works fine on its own, but using netcfg wpa_suppl, it returns failed to connect to wpa_supplicant - wpa_ctrl_open no such file or directory about twelve times before finally telling me the authentication failed. What can I do to fix this?

© Super User or respective owner

Related posts about linux

Related posts about arch-linux