Realtek 8812bu linux driver

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 забыть wifi сеть

How to Install RTL8812BU USB WiFi Dongle on Linux

NOTE: Install USB Wi-Fi Adapters(RTL8812BU chipset) on GUN/Linux, a few known wireless cards that use this driver include:

Installing the Driver(RTL8812BU Chipset) on Your System:

Open a terminal window. Copy & paste the following into the terminal window and hit Return. You may be prompted to enter your password.

# Ubuntu/Mint/Kali (tested)
sudo apt update sudo apt -y install dkms git bc git clone https://github.com/fastoe/RTL8812BU.git cd RTL8812BU VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf) sudo rsync -rvhP ./ /usr/src/rtl88x2bu-$ sudo dkms add -m rtl88x2bu -v $ sudo dkms build -m rtl88x2bu -v $ sudo dkms install -m rtl88x2bu -v $ sudo modprobe 88x2bu sudo reboot

# openSUSE Leap 15.1/Debian 10 (tested)
sudo apt update sudo apt -y install dkms git bc git clone https://github.com/fastoe/RTL8812BU.git cd RTL8812BU VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf) sudo rsync -rvhP ./ /usr/src/rtl88x2bu-$ sudo dkms add -m rtl88x2bu -v $ sudo dkms build -m rtl88x2bu -v $ sudo dkms install -m rtl88x2bu -v $ sudo modprobe 88x2bu sudo reboot

# For setting monitor mode
# 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 ifconfig wlx1cbfcea97791 down sudo iwconfig wlx1cbfcea97791 mode monitor sudo ifconfig wlx1cbfcea97791 up

# Raspbian (Raspberry Pi OS)

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

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

For Raspberry Pi OS 5.10 kernel, 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 5.4 kernel:

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 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

Known Issues

Below are a few known bugs,

  • Always required autenthication without connect on 5GHz band
  • Short disconnects every few seconds on 5GHz band
Читайте также:  Аналог parallels для linux

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.

sudo modprobe -r 88x2bu sudo modprobe 88x2bu rtw_power_mgnt=0 rtw_ips_mode=0 rtw_enusbss=0 sudo 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.

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

Installation video

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.

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.

Читайте также:  Настройка dhcp linux virtualbox

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

Источник

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