wingpanel-indicator-network icon indicating copy to clipboard operation
wingpanel-indicator-network copied to clipboard

If I have two wireless adaptors, I cannot selectively enable/disable them

Open elementaryBot opened this issue 8 years ago • 6 comments

If I have two wireless adaptors I am using, I can see both in the list just fine. The problem is I cannot selectively enable/disable them. If I disable one of them, it disables both. If I enable one of them, it enables both.

Launchpad Details: #LP1594329 Zisu Andrei - 2016-06-20 11:17:00 +0000


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

elementaryBot avatar Apr 24 '17 20:04 elementaryBot

I have the same problem. If no one's working on this, I'd like to.

briangzimmerman avatar Sep 14 '17 03:09 briangzimmerman

O think nobody is at the moment. Get in touch on IRC or the community slack if you have questions

matzipan avatar Sep 14 '17 16:09 matzipan

So, I've been looking at it and I found: rfkill.set_software_lock (RFKillDeviceType.WLAN, !active); which I think rfkills all WLAN devices. I wrote a function to replace that call where you can pass in an index, and only rfkill that device. I'm having a couple problems that I haven't been able to find an answer to. I tried slack, askubuntu, and reddit.

  1. How do I find the index of a device with vala?
  2. When I run rfkill block <index> in my terminal, it doesn't just block that device. It blocks all wifi adapters. So does giving an index even matter?

briangzimmerman avatar Sep 20 '17 23:09 briangzimmerman

I also have this problem when I only wan't one my adapters to connect. The worst part is that since I cannot disable them individually I need to wait for the undesired one to actually connect, go into settings and hit "disconnect" (since this is also not possible from the menu). Maybe if individual rfkill is not possible, at least disconnecting the device (or putting down the corresponding device interface) is a better option.

protobits avatar Mar 04 '18 14:03 protobits

Yeah, apparently it's not possible with rfkill. For now, you can try what I did: https://askubuntu.com/questions/168032/how-to-disable-built-in-wifi-and-use-only-usb-wifi-card

briangzimmerman avatar Mar 09 '18 22:03 briangzimmerman