No wifi and confused about mhwd and Arch

Hello everyone,

I’ve achieved my installation and started to modify some stuff with the help of the wiki. Sounds nice.

But for now I’m connected to the net through ethernet and I’d like to use a usb wifi connector. Nhwd does not find it and I am not used to Arch linux…

The driver I need is 8812bu. How can I install it?

Always check Linux support before buying an USB WiFi device.

Short version - you cannot.

Long version download source and compile the driver from scratch

If you feel you are up for the challenge - read on

Hi @kartable, and welcome!

As per this page in thee wiki mhwd does not support USB devices yet.

Wrong driver, please ignore.

However, the dkms driver is in the AUR:

$ pamac search 8812
rtl8812au-dkms-git                                                                                                                                                                                                        5.13.6.r73.g55a4c22-1         AUR
rtl8812AU chipset driver with firmware v5.13.6

So can be easily installed with:

pamac build rtl8812au-dkms-git

I don’t think the au driver can be substituted for the bu driver.

Just saw. Misread the descripon that it was for thee -bu device as well.

Wow! Thanks to you all for these quick replies.

@linux-aarhus I started with the tutorial till the driver install itself…

` Running version 20220108
Operating System: Manjaro Linux
Starting installation...
Copying source files to: /usr/src/rtl88x2bu-5.13.1
Copying 88x2bu.conf to: /etc/modprobe.d
Creating symlink /var/lib/dkms/rtl88x2bu/5.13.1/source -> /usr/src/rtl88x2bu-5.13.1
Error! Your kernel headers for kernel 5.15.16-1-MANJARO cannot be found at /usr/lib/modules/5.15.16-1-MANJARO/
build or /usr/lib/modules/5.15.16-1-MANJARO/source.
Please install the linux-headers-5.15.16-1-MANJARO package or use the --kernelsourcedir option to tell DKMS wh
ere it's located.
An error occurred. dkms build error = 1
Please report this error.
You will need to run the following before reattempting installation.
$ sudo ./`

Now if I want to install the linux-headers-5.15.16-1-MANJARO, should I try with pacman? I prefer to ask at this stage. Thanks again.

Either pacman or pamac

pamac install linux515-headers

@kartable Just install the rtl88x2bu-dkms-git from the AUR. It supports the RTL8812BU wifi chipset. Enable the AUR in pamac-gui’s preferences, install the headers package for your kernel as stated above (example for kernel 5.15 → linux515-headers and use these command:

sudo pacman -S dkms git base-devel --needed
sudo pacman -S $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ') #if not sure which kernel headers to install
pamac build rtl88x2bu-dkms-git

Reboot for changes to take effect.

1 Like

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