Problem with RTL8812AU (AirCrack-NG)


Hi, I have been trying to install the driver for my WiFi adapter but I have some problems.

Here is my output using make dkms_install:

❯ sudo make dkms_install
cp -r * /usr/src/8812au-
dkms add -m 8812au -v
Error! DKMS tree already contains: 8812au-
You cannot add the same module/version combo more than once.
make: *** [Makefile:1789: dkms_install] Error 3

Here is my output using make:

❯ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.1.7-200.fc37.x86_64/build M=/home/chunchoc/Downloads/rtl8812au  modules
make[1]: *** /lib/modules/6.1.7-200.fc37.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:1730: modules] Error 2

I would appreciate your help. :slight_smile:

It looks like you’re trying to compile a module that already exists for that version/kernel? Can you sudo modprobe 8812au?

1 Like

It show me this:

❯ sudo modprobe 8812au
modprobe: FATAL: Module 8812au not found in directory /lib/modules/6.1.7-200.fc37.x86_64

Hmmm, looks like you might not have the kernel-devel installed for that kernel.