Realtek rtl8812bu driver linux

Step-by-step – Realtek Rtl8812BU Linux Mint 20 Driver Installation

GNU/Linux Mint 20 Realtek rtl8812BU Driver Setup Guide

Hi! The Tutorial shows you Step-by-Step How to Install Realtek rtl8812BU WiFi Driver in Mint 20.x Ulyana/Ulyssa/Uma/Una LTS GNU/Linux Desktop.

And this Mint 20 Realtek rtl8812BU Driver could be supporting all the rtl88x2BU Chipset equipped Devices, as for instance the rtl8822BU one.

Moreover, this Realtek rtl88x2BU Driver Linux Mint 20 Setup should be working also after a Kernel Upgrade with the Dkms integration.

This Realtek rtl88x2BU Driver has been successfully tested with a Linux Kernel 4.4+.

Especially relevant: as an Alternative, you may see also the Realtek rtl88x2BU Linux Driver Setup Guide.

And following the Realtek Driver Suppor Documentation it may be working also for all the following Chipsets:

  • rtl8192EU
  • rtl8811AU
  • rtl8811CU
  • rtl8812AU
  • rtl8812BU
  • rtl8814AU
  • rtl8822BU

Please be aware of how this Driver is Not supporting all the Linux Kernels range, so in case of issue consult the available Online Documentation.

So as a possible Solution, then you may also see: How to Install New Kernel Guide.

Again, in case of Issue for preventing any possible Driver loading Interference you should also take into account: How to Blacklist Kernel Modules.

How to Install Realtek rtl8812BU Driver in Linux Mint 20 - Featured

1. Launching Shell Emulator

How to Install Realtek rtl8812BU Driver in Linux Mint 20 - Open Terminal Shell Emulator

2. Installing Requirements

Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.
And if a New Kernel is installed then restart with:

sudo apt install build-essential linux-headers-$(uname -r) dkms git

Источник

Linux support for RTL8812BU based products

There should be a file in search result if driver was successfully installed.

Remember to plug the dongle out and in once to get the driver reloaded.

Читайте также:  Linux использование памяти приложениями

Ubuntu

STEP 1 : Open Terminal Emulator

sudo apt update which dkms || sudo apt install dkms 

STEP 3 : Download driver source

git clone https://github.com/morrownr/88x2bu-20210702.git 

STEP 4 : Compile and install

cd 88x2bu-20210702 sudo ./install-driver.sh 

STEP 5 (Optional): Check driver existance

find /lib/modules/`uname -r`/ -name "88x2bu.ko" 

There should be a file in search result if driver was successfully installed.

Remember to plug the dongle out and in once to get the driver reloaded.

Debian

STEP 1 : Open Terminal Emulator

sudo apt update which dkms || sudo apt install dkms which rfkill || sudo apt install rfkill which git || sudo apt install git 

STEP 3 : Download driver source

git clone https://github.com/morrownr/88x2bu-20210702.git 

STEP 4 : Compile and install

cd 88x2bu-20210702 sudo ./install-driver.sh 

STEP 5 (Optional): Check driver existance

find /lib/modules/`uname -r`/ -name "88x2bu.ko" 

There should be a file in search result if driver was successfully installed.

Remember to plug the dongle out and in once to get the driver reloaded.

Raspberry Pi OS

STEP 1 : Open Terminal

sudo apt update sudo apt upgrade sudo apt install raspberrypi-kernel-headers sudo apt install bc build-essential dkms git 

Reboot after commands above finish to have new updates applied.

STEP 3 : Download driver source

git clone https://github.com/morrownr/88x2bu-20210702.git 

STEP 4 : Compile and install

Enter source directory and run commands below:

cd 88x2bu-20210702 ./ARM_RPI.sh sudo ./install-driver.sh 

STEP 5 (Optional): Check driver existance

find /lib/modules/`uname -r`/ -name "88x2bu.ko" 

There should be a file in search result if driver was successfully installed.

Remember to plug the dongle out and in once to get the driver reloaded.

References

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Realtek RTL8812BU Driver for Linux

fastoe/RTL8812BU

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Читайте также:  Создать efi разделы linux

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Realtek RTL8812BU Driver for Linux

Driver for 802.11ac USB adapter with RTL8812BU chipset, only STA/Monitor mode is supported, no AP mode.

A few known wireless cards that use this driver include:

  • Fastoe AC1200 USB Wi-Fi Adapter
  • Cudy WU1200 AC1200 High Gain USB Wi-Fi Adapter
  • TP-Link Archer T3U
  • TP-Link Archer T3U Plus
  • TP-Link Archer T4U V3
  • Linksys WUSB6400M
  • Dlink DWA-181
  • Dlink DWA-182

Currently tested with Linux kernel 4.12.14/4.15.0/5.3.0/5.15.0 on X86_64 platform only.

For kernel 5.11 or later, please clone the v5.13.1 branch:

sudo apt update sudo apt install -y build-essential dkms git bc git clone -b v5.13.1 https://github.com/fastoe/RTL8812BU.git cd RTL8812BU make sudo make install sudo reboot

For 5.10 kernel, please clone the v5.6.1 branch:

sudo apt update sudo apt install -y build-essential dkms git bc git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU.git cd RTL8812BU make sudo make install sudo reboot

For 5.9 and previous versions:

sudo apt update sudo apt install -y build-essential dkms git bc git clone https://github.com/fastoe/RTL8812BU.git cd RTL8812BU make sudo make install sudo reboot
# configure for monitor mode sed -i 's/CONFIG_80211W = n/CONFIG_80211W = y/' Makefile sed -i 's/CONFIG_WIFI_MONITOR = n/CONFIG_WIFI_MONITOR = y/' Makefile make sudo make install sudo ip link set wlx1cbfcea97791 down sudo iw wlx1cbfcea97791 set monitor none sudo ip link set wlx1cbfcea97791 up

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

RTL8812BU Driver for Raspbian

fastoe/RTL8812BU_for_Raspbian

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Читайте также:  Linux полностью удалить пользователя

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Realtek 8812BU Driver for Raspbian

Driver for 802.11ac USB adapter with RTL8812BU chipset, only STA/Monitor mode is supported, no AP mode.

A few known wireless cards that use this driver include:

  • Fastoe AC1200 USB Wi-Fi Adapter
  • Cudy WU1200 AC1200 High Gain USB Wi-Fi Adapter
  • TP-Link Archer T3U
  • TP-Link Archer T3U Plus
  • TP-Link Archer T4U V3
  • Linksys WUSB6400M
  • Dlink DWA-181
  • Dlink DWA-182

Currently tested with Linux RaspberryPi 5.10.17-v7l+/5.4.51-v7l+/4.19.118-v7+/4.19.97-v7+ on:

  • Raspberry Pi 400
  • Raspberry Pi 4 B
  • Raspberry Pi Zero W
  • Raspberry Pi 3 B+
  • Raspberry Pi 2 B

To build, you have to retrieve source and run make , do following:

For Raspberry Pi OS kernel 5.10.17, please clone the v5.6.1 branch:

sudo apt update sudo apt install -y bc git dkms build-essential raspberrypi-kernel-headers git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU_for_Raspbian cd RTL8812BU_for_Raspbian make sudo make install sudo reboot 

For Raspberry Pi OS kernel 5.4 & previous versions:

sudo apt update sudo apt install -y bc git dkms build-essential raspberrypi-kernel-headers git clone https://github.com/fastoe/RTL8812BU_for_Raspbian cd RTL8812BU_for_Raspbian make sudo make install sudo reboot

If fails to compile like /lib/modules/5.x.x-v7+/build: No such file or directory. Stop :

pi@raspberrypi:~/RTL8812BU_for_Raspbian $ make make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.4.51-v7+/build M=/home/pi/RTL8812BU_for_Raspbian modules make[1]: *** /lib/modules/5.4.51-v7+/build: No such file or directory. Stop. make: *** [Makefile:2284: modules] Error 2 

please run the rpi-source command to install the kernel headers for kernel:

sudo apt install -y bc git flex bison libssl-dev libncurses5-dev sudo wget https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update rpi-source 

Below are a few known bugs,

  • Always required authentication without connect on 5GHz band
  • Short disconnects every few seconds on 5GHz band

the above problems are caused by power saving. First, make sure that the power supply of your Raspberry Pi can provide 3A current, then we can disable the 8812bu WiFi adapter power saving.

modprobe -r 88x2bu modprobe 88x2bu rtw_power_mgnt=0 rtw_ips_mode=0 rtw_enusbss=0 echo "options 88x2bu rtw_power_mgnt=0 rtw_ips_mode=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/88x2bu.conf 

When the current is around 100mA, it never disconnects.

image

144mA @ full speed download (22MB/s).

Источник

Оцените статью
Adblock
detector