Skip to content

Instantly share code, notes, and snippets.

@barbixxxa
Last active March 8, 2022 15:13
Show Gist options
  • Save barbixxxa/ae3a6e3d745aecdfea8631a8cd2163fa to your computer and use it in GitHub Desktop.
Save barbixxxa/ae3a6e3d745aecdfea8631a8cd2163fa to your computer and use it in GitHub Desktop.
How to install driver wifi 5ghz 0bda:b812 Realtek RTL8812AU/RTL8812BU Dual Band 1200mbps Wireless USB Wifi Network Adapter Antenna Laptop Ethernet 1000M Ethernet External
  1. sudo apt install linux-headers-generic build-essential make git dkms
  2. git clone https://github.com/cilynx/rtl88x2bu
  3. cd rtl88x2bu
  4. VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
  5. sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
  6. get the version at PACKAGE_VERSION= by executing cat dkms.conf
  7. create an alias for the version obtained VER=XPTO
  8. check the version ${VER}
  9. sudo dkms add -m rtl88x2bu -v ${VER}
  10. sudo dkms build -m rtl88x2bu -v ${VER}
  11. sudo dkms install -m rtl88x2bu -v ${VER}
  12. sudo modprobe rtl88x2bu or sudo modprobe 88x2bu

References:

Driver - https://github.com/cilynx/rtl88x2bu

Youtube video tutorial - https://www.youtube.com/watch?v=4MhEvLHh6kA

Aliexpres product link - https://www.aliexpress.com/item/1005003144719191.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment