Page 1 of 1

Looking for Driver RTL8812BU for RPI 3B+

Posted: Wed Jul 18, 2018 9:17 pm
by liquizell
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 🤭

Re: Looking for Driver RTL8812BU for RPI 3B+

Posted: Thu Jul 19, 2018 9:29 am
by PhilE
Moved to Add-ons - the adaptor is a USB device so Device Tree should be irrelevant.

Re: Looking for Driver RTL8812BU for RPI 3B+

Posted: Thu Jul 19, 2018 9:36 am
by PhilE
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

Re: Looking for Driver RTL8812BU for RPI 3B+

Posted: Thu Jul 19, 2018 9:44 am
by B.Goode
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.)

Re: Looking for Driver RTL8812BU for RPI 3B+

Posted: Thu Jul 19, 2018 10:34 am
by MrEngman
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.

Re: Looking for Driver RTL8812BU for RPI 3B+

Posted: Fri Jul 20, 2018 11:17 pm
by liquizell
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


________________________________________________

Re: Looking for Driver RTL8812BU for RPI 3B+

Posted: Tue Jul 30, 2019 6:26 pm
by sbarthelmess
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!

Re: Looking for Driver RTL8812BU for RPI 3B+

Posted: Wed Aug 28, 2019 10:05 pm
by MrMas
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