You are not logged in.

#1 2014-03-26 17:27:37

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

netctl-auto cannot connect after unblocking wifi

Hello,

I'm using netctl as a connection manager. Systemd automatically starts "netctl-auto@wlp1s0" and if I boot system with wifi unblocked (rfkill) it is working fine. But when I boot my system with wifi blocked (from previous session) and after boot I manually unblock it (using rfkill unblock wifi), it doesn't pick up network. And when I try "sudo netctl-auto swtich-to <network_name> it prints out:

WPA association/authentication failed for interface 'wlp1s0'

It also happens when I'm working without connection with blocked wifi (for saving the battery) and then I turn wifi on - it also doesn't pick up a network.

I have to first do:

systemctl restart netctl-auto@wlp1s0

which blocks wifi (when I try rfkill list, I can see that this restart blocked it) and only if I immediately switch wifi on (also using rfkill), it connect as usual.

Does anyone experience same issue? Is it normal behaviour? Thanks

Offline

#2 2014-03-26 17:32:56

henriqueleng
Member
Registered: 2014-02-18
Posts: 77

Re: netctl-auto cannot connect after unblocking wifi

try wifi-menu its communicate with netctl


Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....

Offline

#3 2014-03-27 08:31:21

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

Re: netctl-auto cannot connect after unblocking wifi

wifi-menu doesn't work when there is netctl-auto started/enabled.

Last edited by Kotrfa (2014-03-27 08:31:30)

Offline

#4 2014-03-27 15:01:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: netctl-auto cannot connect after unblocking wifi

I think you are seeing a manifestation of this bug.
Note that I wrote that report.

Last edited by ewaller (2014-03-27 15:01:50)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2014-03-27 15:57:01

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

Re: netctl-auto cannot connect after unblocking wifi

Ahh I see... So "live with it" or "write it yourself" big_smile . Thank you

Offline

Board footer

Powered by FluxBB