You are not logged in.

#1 2014-01-28 23:04:49

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

netctl connects to access points I've never seen before

On my laptop using netcl and auto switching profiles as described in https://wiki.archlinux.org/index.php/Netctl.

Recently, and more than once, I'm connected at a public cafe and I'm suddenly no longer able to reach the internet.

When I investigate, I find that I'm no longer connected to the cafe's wifi, but I am connected to some other essid that I've never seen before.  This is disconcerting for possible security reasons but also annoying to get disconnected in the middle of whatever I'm doing.

The essids that my box connects to I've never seen before.  (I'm assuming the come from nearby computers.)  There is no corresponding profile in /etc/netctl.

To work around the problem, I run

sudo systemctl stop netctl-auto@wlp3s0.service; sudo wifi-menu

then reconnect to the access point I was originally connected to.

  I really don't want netctl-auto to change a connection that is working.  How can I prevent this from ever happening?

Offline

#2 2014-02-13 15:59:42

seletskiy
Member
Registered: 2012-08-31
Posts: 14

Re: netctl connects to access points I've never seen before

I've found similar behaviour after some of recent update.

It is quite disconcerting...

Dave, did you find solution for this issue?

Offline

#3 2014-02-13 17:46:56

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

Re: netctl connects to access points I've never seen before

Nope.  Unfortunately I have not.

Offline

#4 2014-02-13 18:17:10

progandy
Member
Registered: 2012-05-17
Posts: 2,146

Re: netctl connects to access points I've never seen before

What networks are in the wpa_supplicant configuration after you started the netctl-auto service?

/run/network/wpa_supplicant_wlp3s0.conf

Offline

#5 2014-02-14 17:01:13

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

Re: netctl connects to access points I've never seen before

That file has a long list of every wireless router I've connected to!  I didn't know that was there.  It duplicates a lot of information thats in /etc/netctl/...   It has passwords, too.  I'm not going to post it here.

But I don't see the mysterious routers in that file.  The ones I find myself connected to, that I never connected to myself.

... Looking over that file again, I see a strange entry:

network={
key_mgmt=NONE
ssid=""
id_str="wlp3s0-none"
}

I'm going to delete that.  I believe it comes from a time I connected to an essid without a name.  But I'm not sure if that's the culprit.

Last edited by Dave Cohen (2014-02-14 17:03:32)

Offline

#6 2014-02-14 17:16:39

progandy
Member
Registered: 2012-05-17
Posts: 2,146

Re: netctl connects to access points I've never seen before

The file /run/network/wpa_supplicant_wlp3s0.conf gets created by netctl-auto. It reads all wifi profiles and combines them into this one configuration file for wpa_supplicant.
If you have the netctl-profile /etc/netctl/wlp3s0-none or another with an empty ssid, then delete it or add ExcludeAuto=yes.

Last edited by progandy (2014-02-14 17:17:23)

Offline

#7 2014-02-14 18:09:13

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

Re: netctl connects to access points I've never seen before

I've deleted it from /etc/netctl/, but haven't had time yet to try to reproduce this problem.

Do you happen to know, can I somehow make ExcludeAuto=yes the default when wifi-menu connects to a new router?

Last edited by Dave Cohen (2014-02-14 18:09:37)

Offline

Board footer

Powered by FluxBB