You are not logged in.

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

chrisdb
Member
From: Belgium
Registered: 2018-05-16
Posts: 155

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


Failure is success in progress.
A.E.

Offline

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

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,933
Website

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
From: Belgium
Registered: 2018-05-16
Posts: 155

Re: netctl WPAConfigFile

Thank you, now it works!

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


Failure is success in progress.
A.E.

Offline

Board footer

Powered by FluxBB