its-izhar / rtl88x2bu-driver Goto Github PK
View Code? Open in Web Editor NEWLinux Kernel 4.15 and above compatible realtek driver for RTL8812BU/RTL8822BU chipset (Inamax/Edimax USB Wifi Adapters)
Linux Kernel 4.15 and above compatible realtek driver for RTL8812BU/RTL8822BU chipset (Inamax/Edimax USB Wifi Adapters)
I am following along with the build/installation steps in this github however once I get to the sudo insmod 88x2bu.ko portion I get this error: "insmod: ERROR: could not load module 88x2bu.ko: No such file or directory". Should I be in a certain directory before running this command.
Having to reinstall with every reboot. Is there a way to make the installation permanent?
Linux kernel:
Linux user-comp 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I cloned it first:
git clone https://github.com/its-izhar/rtl88x2bu-driver.git
Here are the messages:
/home/user/rtl88x2bu-driver/os_dep/linux/os_intfs.c:1433:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/home/user/rtl88x2bu-driver/os_dep/linux/os_intfs.c:1433:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
CC [M] /home/user/rtl88x2bu-driver/os_dep/linux/ioctl_cfg80211.o
cc1: some warnings being treated as errors
scripts/Makefile.build:330: recipe for target '/home/user/rtl88x2bu-driver/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/user/rtl88x2bu-driver/os_dep/linux/os_intfs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1577: recipe for target 'module/home/user/rtl88x2bu-driver' failed
make[1]: *** [module/home/user/rtl88x2bu-driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-66-generic'
Makefile:1986: recipe for target 'modules' failed
make: *** [modules] Error 2
Here's the complete error output followed by a web link to another bug report, with an included fix, that might be relevant.
~/rtl88x2bu-driver/os_dep/linux/os_intfs.c:1429:22: error: initialization of ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device , u16 ()(struct net_device *, struct sk_buff *, struct net_device ))’ {aka ‘short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device , short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device ))’} from incompatible pointer type ‘u16 ()(struct net_device *, struct sk_buff *, void , u16 ()(struct net_device *, struct sk_buff *, struct net_device ))’ {aka ‘short unsigned int ()(struct net_device *, struct sk_buff *, void , short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device *))’} [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
"The interface of ndo_select_queue callback has changed.":
smlinux/rtl8723de#27
replace get_ds() in rtl88x2bu-driver/os_dep/osdep_service.c with KERNEL_DS
I used your driver to install on my Raspberry Pi 4 (Kernel 4.19). I had to change some flags to allow this, however. Here's my Makefile with a couple changes (defining CONFIG_PLATFORM_ARM_RPI)
feel free to update with this if you'd like.
Regards,
Dave
Please Help
Rtl8812BU supports
monitor mode?
Packet Injection?
Ad-hoc for Hostpad?
evil-Twin Attack?
Kali Linux supported or not?
Hello, i successful installed two TPLINK T4U AC 1300, in two different computers. I created a hostpot in one computer and the other is connected to it. My problem is that when i test the speed using iperf3, the maximum value that i obtain is 13MB/S. I switch to different channels, different bands (2.4 GHz and 5GHz), but changes were worst, i have never got more than 13MB/S. Please, i need some help to solving this. Thank you very much.
For the device
TRENDnet TEW-808UBM Micro AC1200 Wireless USB Adapter
20f4:808a, see notes cilynx/rtl88x2bu#73
Please add support to this driver for the above device, thank you.
Hi,
I'm using lubuntu 18.04 64 bit with kernel 5.0.x. With the previous kernel 4.15.x, the devices worked perfectly. Now I have many compilation errors. I solved some of them, but it still does not compile.
Can you help me?
Thank you
Compiling with Ubuntu 20.10 gives these errors:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-26-generic/build M=/usr/src/rtl88x2bu-driver modules
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-26-generic'
CC [M] /usr/src/rtl88x2bu-driver/core/rtw_cmd.o
In file included from /usr/src/rtl88x2bu-driver/include/drv_types.h:78,
from /usr/src/rtl88x2bu-driver/core/rtw_cmd.c:17:
/usr/src/rtl88x2bu-driver/include/rtw_security.h:252:8: error: redefinition of ‘struct sha256_state’
252 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:23,
from ./include/net/sock.h:59,
from ./include/linux/tcp.h:19,
from ./include/linux/ipv6.h:88,
from ./include/net/addrconf.h:50,
from /usr/src/rtl88x2bu-driver/include/osdep_service_linux.h:48,
from /usr/src/rtl88x2bu-driver/include/osdep_service.h:50,
from /usr/src/rtl88x2bu-driver/include/drv_types.h:27,
from /usr/src/rtl88x2bu-driver/core/rtw_cmd.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:290: /usr/src/rtl88x2bu-driver/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1780: /usr/src/rtl88x2bu-driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-26-generic'
make: *** [Makefile:1986: modules] Error 2
rtw_android.c:660:62
: error: macro "access_ok" passed 3 arguments, but takes just 2
if (!access_ok(VERIFY_READ, priv_cmd.buf, priv_cmd.total_len)) {
^
ubuntu 19.4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.