Realtek RTL8812BU AC1200M Wireless NIC - Install for Mint 19.1 .

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
BretAB
Level 1
Level 1
Posts: 9
Joined: Tue Feb 05, 2019 1:56 pm

Realtek RTL8812BU AC1200M Wireless NIC - Install for Mint 19.1 .

Post by BretAB »

Hi,

I have one of the inexpensive AC1200M USB 3.0 NICs (aka Realtek RTL8812BU Wireless 802.11ac), as seen here:
https://www.ebay.com/itm/AC1200Mbps-USB ... 23a7f0375d > The NIC is plugged into a USB 2.0 port on my trusty old Dell 1501 Inspiron Laptop (upgraded to Samsung 840 SSD and AMD 2.3Ghz TL-66 x2). OS is Linux Mint 19.1 Tessa 64-bit, Kernel Linux 4.14.0-45-generic x86_64, MATE 1.20.1 .

I was able to get it to work relatively easily via cut and paste into Terminal of this code by chili555 that he posted at https://ubuntuforums.org/showthread.php?t=2394372 :
Code:

Code: Select all

sudo apt-get update 
sudo apt-get install build-essential git 
git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.2.4.4_25643.20171212_COEX20171012-5044.git 
cd rtl88x2BU_WiFi_linux_v5.2.4.4_25643.20171212_COEX20171012-5044
VER=$(cat ./version) 
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER} 
sudo dkms add -m rtl88x2bu -v ${VER} 
sudo dkms build -m rtl88x2bu -v ${VER} 
sudo dkms install -m rtl88x2bu -v ${VER} 
sudo modprobe 88x2bu
After applying the code:
1) Reboot.
2) Open Control Center and the Network Connections.
3) Click the + sign, dropdown and select Wi-fi:
4) When the form opens, enter a descriptive Connection Name at the top.
5) On Wi-Fi tab add your SSID,
6) On Security tab select WPA2 Personal (or whatever security you're wireless router/gateway is using) and enter the wireless network's password.
7) Reboot

As a Linux n00b, that worked for me straight out of the box (after a reboot). Somewhere I also read that this code will need to be reapplied whenever the Kernel is updated: Not sure about that as it's above my paygrade :->

HTH . . .
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Marcoose81

Re: Realtek RTL8812BU AC1200M Wireless NIC - Install for Mint 19.1 .

Post by Marcoose81 »

Oh you're an angel!
Worked for me. I have internet!!

:twisted:
LRBMT

Re: Realtek RTL8812BU AC1200M Wireless NIC - Install for Mint 19.1 .

Post by LRBMT »

Did not work on my system: Desktop, Intel I7-4771, Linux Mint 19.3 -

Did get it to work by using the latest github version 5.6.1 by cilynx https://github.com/cilynx/rtl88x2bu -
went to that github webpage and on the right there is a green clone or download button and chose "download zip" which downloaded it to the Downloads folder
and then unzipped it in Downloads folder by using the Nemo file manager (default file manager for 19.3) (highlight the zip file, right click, chose "extract here")
cd to that directory
cd rtl88x2bu-5.6.1_30362.20181109_COEX20180928-6a6a

and then followed the README.md on DKMS installation starting from VER= which is

## DKMS installation

```bash

VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
```
kelebek333
Level 4
Level 4
Posts: 419
Joined: Sat Jun 25, 2011 11:57 am

Re: Realtek RTL8812BU AC1200M Wireless NIC - Install for Mint 19.1 .

Post by kelebek333 »

LRBMT wrote: Thu Feb 13, 2020 12:26 pm Did not work on my system: Desktop, Intel I7-4771, Linux Mint 19.3 -
You can try to install same version from PPA.

1. Remove manually installed driver with following command.

Code: Select all

sudo dkms remove rtl88x2bu/5.6.1 --all
2. Install from PPA with following commands.

Code: Select all

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install rtl8822bu-dkms
Reboot your PC after installation. You must disable secureboot from BIOS/EFI settings.
vinnie

Re: Realtek RTL8812BU AC1200M Wireless NIC - Install for Mint 19.1 .

Post by vinnie »

LRBMT wrote: Thu Feb 13, 2020 12:26 pm Did not work on my system: Desktop, Intel I7-4771, Linux Mint 19.3 -

Did get it to work by using the latest github version 5.6.1 by cilynx https://github.com/cilynx/rtl88x2bu -
went to that github webpage and on the right there is a green clone or download button and chose "download zip" which downloaded it to the Downloads folder
and then unzipped it in Downloads folder by using the Nemo file manager (default file manager for 19.3) (highlight the zip file, right click, chose "extract here")
cd to that directory
cd rtl88x2bu-5.6.1_30362.20181109_COEX20180928-6a6a

and then followed the README.md on DKMS installation starting from VER= which is

## DKMS installation

```bash

VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
```
Thanks! It worked!
Amusedtodeath

Re: Realtek RTL8812BU AC1200M Wireless NIC - Install for Mint 19.1 .

Post by Amusedtodeath »

kelebek333 wrote: Thu Feb 13, 2020 7:24 pm
LRBMT wrote: Thu Feb 13, 2020 12:26 pm Did not work on my system: Desktop, Intel I7-4771, Linux Mint 19.3 -
You can try to install same version from PPA.

1. Remove manually installed driver with following command.

Code: Select all

sudo dkms remove rtl88x2bu/5.6.1 --all
2. Install from PPA with following commands.

Code: Select all

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install rtl8822bu-dkms
Reboot your PC after installation. You must disable secureboot from BIOS/EFI settings.
You sir deserve a medal. I just got one of these cheap so called dual band adaptors with this very chip and couldn't make it work. Thank you so very much now it is working.
gcmc_3488
Level 1
Level 1
Posts: 2
Joined: Wed Aug 12, 2020 9:00 pm

Re: Realtek RTL8812BU AC1200M Wireless NIC - Install for Mint 19.1 .

Post by gcmc_3488 »

I found out mine only works with v5.3.1 and not V5.4.4. I had setup at first v5.3.1, and an update made some changes; it stopped working. So I used the dkms script above and it gave me error. After many trials, I decided it must have to do with the version. So I delete the DKMS contents in /var/lib/dkms and re-ran the script but with the v5.3.1 fille from github, and my adapter lighted up!

If the above doesn't work for you, you can try using a different version of the rtl88x2bu_Wifi.

Cheers.
Locked

Return to “Networking”