liquizell
Posts: 5
Joined: Thu May 31, 2018 7:25 pm

Looking for Driver RTL8812BU for RPI 3B+

Wed Jul 18, 2018 9:17 pm

Hey i Need two WLAN Adapters on my RPI 3B+, i buyed an SoataSoa WLan usb Stick whit an Realtek RTL8812BU Chip.
How can i install the driver and use two wlan Adapters wlan0 & wlan1!

Please Full Description!

Sorry i‘m german 🤭

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2312
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Looking for Driver RTL8812BU for RPI 3B+

Thu Jul 19, 2018 9:29 am

Moved to Add-ons - the adaptor is a USB device so Device Tree should be irrelevant.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2312
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Looking for Driver RTL8812BU for RPI 3B+

Thu Jul 19, 2018 9:36 am

MrEngman's set of out-of-tree WiFi driver builds includes the RTL8812au, which may work. See these instructions for how to download them: viewtopic.php?t=178405

User avatar
B.Goode
Posts: 8240
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Looking for Driver RTL8812BU for RPI 3B+

Thu Jul 19, 2018 9:44 am

liquizell wrote:
Wed Jul 18, 2018 9:17 pm
Hey i Need two WLAN Adapters on my RPI 3B+, i buyed an SoataSoa WLan usb Stick whit an Realtek RTL8812BU Chip.
How can i install the driver and use two wlan Adapters wlan0 & wlan1!


Given that there are known to be usb WiFi adaptors that are supported for use with the RPi and Raspbian (like this one https://www.raspberrypi.org/products/ra ... fi-dongle/) it seems odd that you would choose to buy one that is not natively supported.

There is an extensive prior discussion of this device in these forums, here: viewtopic.php?p=1168797

(The principal helper in that thread, @MrEngman, probably knows more about WiFi support in Raspbian than anyone else - if your problem is not solved there you may be out of trying to use this adaptor.)

MrEngman
Posts: 3841
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Looking for Driver RTL8812BU for RPI 3B+

Thu Jul 19, 2018 10:34 am

Hi liquizell,

I have 8822bu drivers available compiled for Raspbian OS.

Install the script as described here viewtopic.php?t=178405#p1136676 then run the script and it should automatically determine the driver version you need and install it.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

liquizell
Posts: 5
Joined: Thu May 31, 2018 7:25 pm

Re: Looking for Driver RTL8812BU for RPI 3B+

Fri Jul 20, 2018 11:17 pm

Thanks for all the Answers,

Before you wrote the answers, I found the following options...


------------- Updates ----------

sudo apt-get update
reboot
sudo apt-get upgrade
reboot
sudo apt --purge autoremove
sudo reboot

------------ Install kernel headers ----------------

sudo apt install raspberrypi-kernel-headers
ls /lib/modules/$(uname -r)


----------- Instal git -----------------

sudo apt-get install git


----------- Install Driver ---------------

____________________RTL8822BU__________________

git clone https://github.com/jackfan108/rtl8822bu.git/
cd rtl8822bu

nano Makefile

---> Change line #969 to
ARCH := arm

make

sudo make install

sudo reboot


________________________________________________

sbarthelmess
Posts: 1
Joined: Tue Jul 30, 2019 6:17 pm

Re: Looking for Driver RTL8812BU for RPI 3B+

Tue Jul 30, 2019 6:26 pm

I cleaned up and forked the recent driver base for my RPI 3b, source is here:
https://github.com/sbarthelmess/rtl88x2 ... 80427-5959

Prebuilt .ko for latest buster kernel - 4.19.58-v7+.

Enjoy!

MrMas
Posts: 3
Joined: Wed Aug 28, 2019 6:45 pm

Re: Looking for Driver RTL8812BU for RPI 3B+

Wed Aug 28, 2019 10:05 pm

To get this working for the 4B, I had to build from scratch. To get that working, I also had to install

Code: Select all

bc
, a basic calculator for Linux which was as simple as:

Code: Select all

# clone as above
sudo apt install bc
sudo make
sudo make install
reboot

Return to “HATs and other add-ons”