You are not logged in.

#1 2013-04-21 18:30:39

liepumartins
Member
Registered: 2013-02-28
Posts: 4

[SOLVED} netctl and wpa_supplicant persistant configuration

Hello,

Yesterday switched to netctl. Wired connection with netctl-ifplugd@eth0 works flawlessly, however I cannot say the same about wireless.

  • netctl-auto@wlan0 is enabled.

  • All my wireless network settings are in /etc/wpa_supplicant/wpa_supplicant.conf

  • dhcpcd is enabled (and works, for wired)

I can start wpa_gui, it works, but config is blank. I have to enter data manually each time and then can connect.

"ps aux|ack wpa" reveals that wpa_supplicant is started with "-c /run/network/wpa_supplicant_wlan0.conf", which, of course, does not contain any of my network information.


Went reading man pages.


I created profile /etc/netctl/wireless-wpa-config (based on provided example), that points to my wpa_supplicant.conf:

Description='wireless blah blah blah'
Interface=wlan0
Connection=wireless
Security=wpa-config
WPAConfigFile='/etc/wpa_supplicant/wpa_supplicant.conf'
IP=dhcp

No change.


Where did I go wrong?


EDIT: Better late than never.
Wiki update states:

Warning: Automatic selection of a WPA-enabled profile by netctl-auto is not possible with option Security=wpa-config, please use
Security=wpa-configsection instead.

Changed my config files accordingly.
I will mark this as solved.

Last edited by liepumartins (2013-11-06 18:02:46)

Offline

Board footer

Powered by FluxBB