Installing a driver for USB internet adapter (rtl88x2bu)

I’ve switched to Manjaro from Windows and I have very little clue as to what I need to do to install the driver I need to get my USB internet adapter to work. I intend on installing this one: GitHub - cilynx/rtl88x2bu: rtl88x2bu driver updated for current kernels.
Sorry if this is a dumb thing to ask.

There are quite a few topics, in the forum, about installing that driver …
Considering you still have an internet connection on your machine, either via LAN or via Phone Tethering, you first have to install the linux headers for your installed/running kernels. To do that run this command:

sudo pacman -S $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')

then you build/install the driver with:
pamac build rtl88x2bu-dkms-git

Reboot the system and your adapter should work.

3 Likes

Thank you, this worked with no troubles.

don’t forget to mark @bogdancovaciu as solution

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.