Re: How do I use the USB Wireless (Wi-Fi) Adapter (ath9k)? Reply #15 – Yesterday at 21:06:04 Quote from: ####### – on Yesterday at 04:00:34From 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 = wlan0Then 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. Quote Selected Last Edit: Yesterday at 21:48:22 by tom-a 1 Likes
Re: How do I use the USB Wireless (Wi-Fi) Adapter (ath9k)? Reply #16 – Today at 02:24:05 That is good, it is helpful to verify that wlan1 is working. You could simply edit that file whenever you want to change to the other adapter, it is only one line - if you had two lines for wlan0 and wlan1 with one commented out by putting a # sign at the start, you would only need to change the # from one line to the other.However, if you want a GUI method, then install networkmanager, network-manager-applet and networkmanager-openrc - if you are using OpenRC which you seem to be. This is kind of the standard Linux wifi gui app which can be configured to deal with most situations including handling 2 cards. You might need to look up how to use it correctly though, for example here:https://wiki.archlinux.org/title/NetworkManager Make sure you uninstall connman and it's related packages, if you want to keep them to hand in case of problems copy the packages from the cache somewhere so you could reinstate them easily using pacman -U to make things easier to recover if you lose wifi. These network manager type apps often conflict with each other and you should only have one installed.Network Manager is a large and complex program and it's not unknown for bugs to appear in the long term I should add, which is why many use simpler solutions even if they do have more basic setup, but it's OK and usually works fine if you set up the connections correctly. Quote Selected
Re: How do I use the USB Wireless (Wi-Fi) Adapter (ath9k)? Reply #17 – Today at 21:44:39 Thank you for your answer. I understand well how Network Manager works, I wanted to get away from it since I like minimalistic programs (not bloated), so I installed connman-gtk. Network Manager has 476 thousand lines of code))https://openhub.net/p?query=networkmanager&sort=relevanceI'll try to find a fork, maybe I can find something...https://github.com/OSSystems/qconnman-ui Quote Selected