Skip to main content
Topic: How do I use the USB Wireless (Wi-Fi) Adapter (ath9k)? (Read 2185 times) previous topic - next topic
0 Members and 5 Guests are viewing this topic.

Re: How do I use the USB Wireless (Wi-Fi) Adapter (ath9k)?

Reply #15
From the link I posted:

"You can prevent connman from configuring a network interface at all, by adding it to the comma-separated NetworkInterfaceBlacklist= list in the [General] section of /etc/connman/main.conf"

I am not using connman to test this, and you might need to alter the name or remove the spaces around the = sign, but it looks like you simply add a line to /etc/connman/main.conf like this:
Code: [Select]
NetworkInterfaceBlacklist = wlan0
Then reboot and connman should use wlan1 instead, you might need to have the USB adapter plugged in before you start the computer because hotplugging later may not work. Even if wlan1 doesn't work it should stop wlan0 from working, which you can check.

If it doesn't work, change that line and reboot again.


Thank you very much for your answer and advice.
 I think I could use this option, thanks for writing. But I would like to be able not to blacklist the PC's network interface, but to use switching between interfaces, that is, if I want I use a PC network card, if I want to use a USB Wireless (Wi-Fi) Adapter I use it without blacklisting, insert, enable and use.
And it is advisable to do this using a GUI.

Please tell me what options do I have?

I also wanted to inform you that your recommendation works . I put wlan0 in the black list, rebooted the computer, everything works.