Realtek RTL88x2bu (wifi)

0bda:b812 wifi Adapter 802.11ac (867Mpbs) - AC1200 / Teardown

caption

Linux / Raspbian install

Compiling driver

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

# Reboot just in case there were any kernel updates
sudo reboot

# Pull down the driver source
git clone https://github.com/cilynx/rtl88x2bu
cd rtl88x2bu/

# Configure for RasPi (skip for x86/amd linux)
sed -i 's/I386_PC = y/I386_PC = n/' Makefile
sed -i 's/ARM_RPI = n/ARM_RPI = y/' Makefile

# DKMS as above
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} # Takes ~3-minutes on a 3B+
sudo dkms install -m rtl88x2bu -v ${VER}

# Unplug/Plug in your adapter then confirm your new interface name
ip addr

Linux Mint install (DKMS)

After adding cilynx/rtl88x2bu driver as described above Works perfectly.

$ inxi -Fxz
Network:   
           Device-3: Realtek USB3.0 802.11ac 1200M Adapter type: USB driver: rtl88x2bu bus ID: 3-4:8 
           IF: wlx1cbfce03f4ea state: down mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 

First Identification

$ hwinfo --usb
13: USB 00.0: 0000 Unclassified device
  [Created at usb.122]
  Unique ID: n8KV.2IcWyDScHM3
  Parent ID: 2UT6.xvTGa+XkbXF
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.0
  SysFS BusID: 1-3.3:1.0
  Hardware Class: unknown
  Model: "Realtek USB3.0 802.11ac 1200M Adapter"
  Hotplug: USB
  Vendor: usb 0x0bda "Realtek Semiconductor Corp."
  Device: usb 0xb812 "USB3.0 802.11ac 1200M Adapter"
  Revision: "2.10"
  Serial ID: "123456"
  Speed: 480 Mbps
  Module Alias: "usb:v0BDApB812d0210dc00dsc00dp00icFFiscFFipFFin00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #11 (Hub)

OpenWRT driver

Access point configuration

Written on May 23, 2021, Last update on January 9, 2022
wifi usb hardware driver