You are not logged in.

#1 2018-12-04 09:05:33

chrisdb
Member
Registered: 2018-05-16
Posts: 14

netctl WPAConfigFile

hello,

I've got a problem with my wireless and netctl, but I'm not sure what it is.

My actions:
- copied example 'wireless-wpa' to /etc/netctl
- adjusted the example to fit my needs:
    Interface = wlp1s0
    ESSID = myESSID
    Security = wpa-config
    WPAConfigFile='/etc/wpa_supplicant/wpa_supplicant.conf'
- enabled this profile on boot

The 'wpa_supplicant.conf' file was created with wpa_passphrase and it works when I'm using wpa_supplicant with this configuration file.
But for some reason, it won't work with netctl...

I got the following errors:

Failed to connect to non-global ctrl_ifname: wlp1s0 error: no such file or directory
WPA association/authentication failed for interface 'wlp1s0'
Failed to bring the network up for profile 'wireless-wpa'

thx

Offline

#2 2018-12-04 09:16:36

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 124

Re: netctl WPAConfigFile

Try adding

ctrl_interface=/var/run/wpa_supplicant

to your /etc/wpa_supplicant/wpa_supplicant.conf.

Offline

#3 2018-12-05 09:51:07

chrisdb
Member
Registered: 2018-05-16
Posts: 14

Re: netctl WPAConfigFile

Thank you, now it works!

Could it be I forgot something, or is this not specifically mentioned in the Wiki?

Offline

Board footer

Powered by FluxBB