-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to control 2 or more wifi adapters at the same time single usb hub. #79
Comments
This issue is in the FAQ at the end of README. Quote: "It seems to me that this can be fixed driver side to read that multiple adapters..." No doubt about it. Trying plugging in two identical adapters with MT7612u chipsets and you will get two interfaces ready to go. https://github.com/morrownr/USB-WiFi Back on topic: I haven't tested this but I think there is a work around:
PACKAGE_NAME="rtl88x2bu-2"
My thoughts on this issue: Why on earth can Realtek not support us with good in-kernel drivers that don't need basic functionality fixed or added? Most of my time is taken up keeping this and the other drivers I support up with kernel dev as well as fixing some basic functionality. It could be a while before I have time to look at a real fix but you and others are welcome work on it, document it and submit it. Lastly, if you need really dependable identical AC1200 usb adapters, get a couple of adapters based on the MT7612u chipset. You won't even have to find and compile a driver. |
Thanks for the quick feedback and sorry I missed that ending of the readme. I agree, it is crazy that they sell so many of these chipsets and have no care for bettering or simply stabilizing it's functionality. I'll check out the MT7612u. Way back when i first ran into this issue with the multiple 8812bu adapters, i tried that workaround with compiling the driver under the -2/-3 name but when loaded it would still name itself 88xbu if I ran an lsmod. and the two adapters will still load the same driver. it's one that i gave up on, but when i saw this repo somewhat active and making progress on making it a more stable, I thought maybe let me ask if anyone ever did figure it out. thanks again! |
My memory is bad. Here is copy and paste from a guy in the repo that says this works: There are these things to change: /include/autoconf.h: DRV_NAME (I'm not sure if changing it is necessary. It's not the kernel module name for the kernel, but the usb driver name for usbcore) currently my lsmod output is showing both drivers: $ lsmod | grep cfg80211 I haven't tested this but in another later msg he reported stable operation. I realize his documentation is not totally complete and I have not tested this myself. |
Edit: I am sorry, I did not see your comment posted under #73 when I wrote this reply. If your WiFi dongles have identical
|
The virtual machine method I mentioned under #73 may work for you, but unfortunately letting the virtual machine to control USB devices consumes a lot of CPU resources. If you do not mind you can have a try |
I cannot believe it works this way! I did not even realize USB hubs has something to do with this problem. If one driver can handle multiple devices in this setup, then just use a hub and do not mess with the driver. |
Hey Everyone,
i've had an issue for these 8812BU adapters. If i plug in two or more to the same usb hub, wpa_supplicant is only able to control the last one plugged in.
I reproduced the same using ubuntu 20.04 arm64-5,4.0-1041raspi and centos 7 arm64-5.10.xx.
To reproduce:
- or run raspi64.sh and then
- make
- cp 88xbu.ko /lib/modules/uname -r/kernel/drivers/net/wireless/realtek/rtl88xbu/
- depmod -a
- modprobe 88xbu
if i unbind and bind the usb port for the adapter that is not working, i can return functionality as it will now be the last one plugged in, and so on for the previous one that no longer works if i need to change ssid i can bind and unbind it to regain control.
It seems to me that this can be fixed driver side to read that multiple adapters are on a single hub using the same root usb address: i.e if adapters are plugged in such that their usb assignment is: 1-1.1.1. 1-1.1.2 then issue arises and only last plugged in adapter is able to be controlled. If adapters are plugged in such that they get 1-1.1.1, 1-1.3 then it works.
Another case tested:
on the same usb hub, if you plug in two wifi adapters that load different wifi-drivers: plug in a RTL8812AU and a RTL8812BU adapter, there is no issue to control each of them via wpa_supplicant/nmtui only happens when same driver module 88xbu is loaded with two identical adapters on the hub.
The text was updated successfully, but these errors were encountered: