Computer/How to install RTL8812BU USB WiFi Dongle on Linux
Jump to navigation
Jump to search
How to Install RTL8812BU USB WiFi Dongle on Linux (Memo)[edit | edit source]
Main_Page > Computer > How to Install RTL8812BU USB WiFi Dongle on Linux (Ubuntu)
Make some directory (example: src). And compile and install the driver.
/home/administ# mkdir src /home/administ/src# cd src /home/administ/src# git clone https://github.com/morrownr/88x2bu-20210702.git
Then it's automatically downloaded.
Cloning into '88x2bu-20210702'... remote: Enumerating objects: 1290, done. remote: Counting objects: 100% (309/309), done. remote: Compressing objects: 100% (150/150), done. remote: Total 1290 (delta 190), reused 224 (delta 157), pack-reused 981 Receiving objects: 100% (1290/1290), 4.50 MiB | 1.58 MiB/s, done. Resolving deltas: 100% (605/605), done.
Check the files.
/home/administ/src# ls
You may see like the below directory (folder).
88x2bu-20210702
Then enter to the directory.
/home/administ/src# cd 88x2bu-20210702/
If you check the files, then you can see "install-driver.sh".
/home/administ/src/88x2bu-20210702# ls
88x2bu.conf core halmac.mk Makefile rtl8822b.mk ARM64_RPI.sh dkms.conf include os_dep rtw88_8822bu.conf ARM_RPI.sh docs install-driver.sh platform save-log.sh cmode-off.sh edit-options.sh Kconfig README.md start-mon.sh cmode-on.sh hal LICENSE remove-driver.sh supported-device-IDs
You can install using "install-driver.sh" script.
/home/administ/src/88x2bu-20210702# ./install-driver.sh
Running install-driver.sh version 20221205 Linux Kernel=5.15.0-56-generic CPU Architecture=x86_64 gcc --version=gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Country Code==country 00: DFS-UNSET country CA: DFS-UNSET Installing rtw88_8822bu.conf to: /etc/modprobe.d Installing 88x2bu.conf to: /etc/modprobe.d The dkms installation routines are in use. Copying source files to: /usr/src/rtl88x2bu-5.13.1 Creating symlink /var/lib/dkms/rtl88x2bu/5.13.1/source -> /usr/src/rtl88x2bu-5.13.1 The driver was added successfully. Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... 'make' -j8 KVER=5.15.0-56-generic KSRC=/lib/modules/5.15.0-56-generic/build....................... Signing module: - /var/lib/dkms/rtl88x2bu/5.13.1/5.15.0-56-generic/x86_64/module/88x2bu.ko Nothing to do. cleaning build area... The driver was built successfully. 88x2bu.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.15.0-56-generic/updates/dkms/ depmod... The driver was installed successfully. Do you want to edit the driver options file now? [y/N] n Do you want to reboot now? (recommended) [y/N] n Reboot manually
Then you can reboot computers after double check or/and cleaning up.
Good luck! ;)
Reference[edit | edit source]
https://github.com/fastoe/RTL8812BU
https://www.fastoe.com/blog/install-rtl8812bu-usb-wifi-dongle-on-linux