RinCat / RTL88x2BU-Linux-Driver

Realtek RTL88x2BU WiFi USB Driver for Linux
GNU General Public License v2.0
1.26k stars 197 forks source link

Device 0bda:b812 not in whitelist? #101

Open pauek opened 3 years ago

pauek commented 3 years ago

I have a KagoLing Adapter (https://www.amazon.es/gp/product/B0894F897C/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) and the driver compiles but it does not detect the hardware. As you mention in the README, maybe its the hardware ID missing in the whitelist. This is the relevant line in the "lsusb" output:

Bus 001 Device 003: ID 0bda:b812 Realtek Semiconductor Corp. USB3.0 802.11ac 1200M Adapter

Using an older driver, I've managed to use it under Linux 5.4.0 but the sources for that driver are not compiling anymore on 5.8.0 and 5.11.0. Your driver seems to work but no WiFi adapter shows up.

Thanks in advance.

RinCat commented 3 years ago

0bda:b812 is in the list. Could you try use modprobe 88x2bu and see what is the error in dmesg?

nextyang commented 2 years ago

0bda:b812 is in the list. Could you try use modprobe 88x2bu and see what is the error in dmesg?

After 'dmesg' ,88x2bu: disagrees about version of symbol module_layout

RinCat commented 2 years ago

0bda:b812在列表中。 你能试试用吗 modprobe 88x2bu看看有什么错误 dmesg?

After 'dmesg' ,88x2bu: disagrees about version of symbol module_layout

The version of the kernel you are using and the version you compiled do not match. Try reboot and install again?

nextyang commented 2 years ago

okay,I'll have a try.

nextyang commented 2 years ago

您使用的内核版本和您编译的版本不匹配。 尝试重新启动并重新安装?

I tried again, but the problem still exists.

RinCat commented 2 years ago

您使用的内核版本和您编译的版本不匹配。 尝试重新启动并重新安装?

I tried again, but the problem still exists.

Can you post your make log and your kernel version uname -a?

nextyang commented 2 years ago

My version number is 'Linux kali 5.14.0-kali4-amd64 #1 SMP Debian 5.14.16-1kali1 (2021-11-05) x86_64 GNU/Linux' But what is the make log (I just started learning it).

RinCat commented 2 years ago

My version number is ’Linux kali 5.14.0-kali4-amd64 #1 SMP Debian 5.14.16-1kali1 (2021-11-05) x86_64 GNU/Linux‘ But what is the make log (I just touched it).

The output when you run make in this driver directory. You may need run make clean first.

RinCat commented 2 years ago

You are building for kernel 5.15.0-kali2, but your running kernel is 5.14.0-kali4. Either update your current kernel or use make KSRC=/usr/src/linux-headers-5.14.0-kali4-amd64/build/ to build for your current kernel. But you need 5.14.0-kali4 linux headers installed.

RinCat commented 2 years ago

Short answer, you can't. 5.14 kernel headers no longer exists in kali linux repository. Unless you can find it somewhere else.

nextyang commented 2 years ago

I'm still wondering why I can't find the header file.So what now? Reinstall the system?

RinCat commented 2 years ago

I'm still wondering why I can't find the header file.So what now? Reinstall the system?

Update your kernel, apt update && apt upgrade, then reboot.

nextyang commented 2 years ago

I succeeded.Thank you very much!