You are not logged in.
Hello,
I have a profile for netctl working if i use it manually with netctl, but it's not working using netctl-auto.
The wiki says "Note that automatic selection of a WPA profile by netctl-auto is not possible with option Security=wpa-config, use Security=wpa-configsection instead."
And so i changed this line in my config file but it still fails to work properly.
Here is the content of my config file :
Description='Automatically generated profile by wifi-menu'
Interface=wlp3s0
Connection=wireless
Security=wpa-configsection
ESSID=NetworkP
IP=dhcp
NETCTL_DEBUG=yes
WPAConfigFile=/etc/wpa_supplicant/wpa_supplicant_networkp.conf
Here is the content of wpa_supplcant_networkp.conf :
ctrl_interface=/run/wpa_supplicant
update_config=1
network={
ssid="NetworkP"
scan_ssid=1
key_mgmt=WPA-EAP
eap=PEAP
identity="mylogin"
password="mypass"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
When i run the switch-to command
$ sudo netctl-auto switch-to wlp3s0-NetworkP
WPA association/authentication failed for interface 'wlp3s0'
Somehow something fails with the association but it works with no issue using manual netctl.
Thanks.
Last edited by Quardah (2016-02-07 17:08:50)
ThinkPad P16s AMD / KDE
Offline
@Quardah,
edit your post and use code tags for the code output.
Offline
@Quardah,
edit your post and use code tags for the code output.
Done!
Now do you have any idea about what i could be doing wrong in my case?
Thanks.
ThinkPad P16s AMD / KDE
Offline
Now do you have any idea about what i could be doing wrong in my case?
Sorry, I don't have any experience with netctl-auto + wireless.
Offline
Quardah wrote:Now do you have any idea about what i could be doing wrong in my case?
Sorry, I don't have any experience with netctl-auto + wireless.
I tried it again today at school and the behavior is consistent, for some reason it still fails to associate itself using netctl-auto but netctl works with no issues.
I have asked some other students to review my infos and to witness the behavior and no one has an idea what to try next.
I do not know where to head next. This problem is very specific. Is there any way i can get in touch with the netctl dev team to report this bug?
ThinkPad P16s AMD / KDE
Offline
Is there any way i can get in touch with the netctl dev team to report this bug?
Open a bug report on the Arch Linux bug tracker.
Offline
The wiki says "Note that automatic selection of a WPA profile by netctl-auto is not possible with option Security=wpa-config, use Security=wpa-configsection instead."
And so i changed this line in my config file but it still fails to work properly.
I don't use netctl-auto, but I believe the wiki statement you quote may be misleading. What it probably intends to say is that you should base your profile on the /etc/netctl/wireless-wpa-configsection example.
Switching to Security=wpa-configsection likely implies the profile itself must include a WPAConfigSection=() block, which yours has not.
Offline
as Strike0 says take a look at the /etc/netctl/examples/wireless-wpa-configsection which shows conf inline though you may be able to point to a config file never tried it yet it may work depends on what it looks for.
"WPAConfigSection=" is normal and may be a way to source it.
I have needed this on some wifi devices(trial and error and then configuration to apply correctly) that have not had full kernel emplementation yet worked when done right.
Last edited by bleach (2016-02-10 05:00:34)
Offline