You are not logged in.
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
I've found similar behaviour after some of recent update.
It is quite disconcerting...
Dave, did you find solution for this issue?
Offline
Nope. Unfortunately I have not.
Offline
What networks are in the wpa_supplicant configuration after you started the netctl-auto service?
/run/network/wpa_supplicant_wlp3s0.conf
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
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
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)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
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