Package Details: rtl88xxau-aircrack-dkms-git r1298.b44d288-1

Git Clone URL: https://aur.archlinux.org/rtl88xxau-aircrack-dkms-git.git (read-only, click to copy)
Package Base: rtl88xxau-aircrack-dkms-git
Description: Aircrack-ng kernel module for Realtek 88XXau (USB adapters only) network cards (8811au, 8812au and 8821au chipsets) with monitor mode and injection support
Upstream URL: https://github.com/aircrack-ng/rtl8812au
Keywords: 8811au 8812au 8821au aircrack dkms driver injection rtl8811au rtl8812au rtl8821au rtl88xx wireless
Licenses: GPL-2.0-only
Conflicts: rtl8812au-aircrack-dkms-git, rtl8812au-dkms-git, rtl8812au-inject-dkms-git, rtl8814au-dkms-git, rtl8821au-dkms-git
Submitter: iyanmv
Maintainer: iyanmv
Last Packager: iyanmv
Votes: 46
Popularity: 0.31
First Submitted: 2019-01-29 20:43 (UTC)
Last Updated: 2024-05-21 09:00 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Pinned Comments

iyanmv commented on 2020-01-10 16:02 (UTC)

This package now forces to use the branch v5.6.4.2 (the one that works better for me), which is the default one in the remote repository although they still mention branch v5.3.4 as the stable one. If you have any issues, please leave a comment, and also tried to change the branch in the source array. For example, change it to:

source=('rtl88xxau::git+https://github.com/aircrack-ng/rtl8812au.git#branch=v5.3.4'

Read the README.me to learn how to set your interface in monitor mode (and other things).

Important: Use ip and iw instead of ifconfig and iwconfig

Latest Comments

1 2 3 4 5 6 .. 22 Next › Last »

dreieck commented on 2024-11-14 13:09 (UTC) (edited on 2024-11-14 13:09 (UTC) by dreieck)

Ahoj,

a few issues:

  • For a clang compiled kernel, this currently fails with clang: error: unsupported option '-mhard-float' for target 'x86_64-linux-gnu' and error: error: unknown warning option '-Wno-stringop-overread'. (See ↗ upstream issue report).
    For now, a possible fix is to apply ↗ this patch.
  • You need to add rtl88xxau-aircrack-dkms to the provides and conflicts arrays.
  • Consider adding also the other specific modules this provides to the provides array.

Here is a diff of your PKGBUILD and a modification that includes above fixes:

--- PKGBUILD.org    2024-11-14 13:29:52.193360125 +0100
+++ PKGBUILD    2024-11-14 14:03:19.680046081 +0100
@@ -11,3 +11,3 @@
 license=(GPL-2.0-only)
-arch=(x86_64)
+arch=(x86_64 'i686')
 makedepends=(git)
@@ -15,2 +15,3 @@
 conflicts=(
+    "rtl88xxau-aircrack-dkms"
     rtl8812au-aircrack-dkms-git
@@ -21,2 +22,10 @@
 )
+provides=(
+    "rtl88xxau-aircrack-dkms=${pkgver}"
+    "rtl88xxau-dkms=${pkgver}"
+    "rtl8812au-dkms=${pkgver}"
+    "rtl8812au-inject-dkms=${pkgver}"
+    "rtl8814au-dkms=${pkgver}"
+    "rtl8821au-dkms=${pkgver}"
+)

@@ -24,2 +33,3 @@
     rtl88xxau::git+https://github.com/aircrack-ng/rtl8812au.git#branch=v5.6.4.2
+    "fix_clang_build.patch::https://github.com/user-attachments/files/17748908/fix_clang_build.patch.txt"
     dkms.conf
@@ -29,2 +39,3 @@
     'SKIP'
+    '1e30dd1d770425212464561129fa1eafa103d1a9da9fe5e44e19d738054885c0'
     '1ac36b3713d6b719b8c5f820653bbe30ead8323165d52e6ad95d56da627fde88'
@@ -32,2 +43,11 @@

+prepare() {
+    cd $_name
+
+    for _patch in "fix_clang_build.patch"; do
+        plain "Applying patch '${_patch}'"
+        patch -Np1 --follow-symlinks -i "${srcdir}/${_patch}"
+    done
+}
+
 pkgver() {

Regards and thanks for the package!

ipaqmaster commented on 2024-11-02 01:46 (UTC)

Please add aarch64 to the arch=() array. This builds just fine for that architecture but gets stopped because it is not mentioned in the $arch array.

iyanmv commented on 2024-10-17 09:09 (UTC)

renfbatista: Maybe you should read the DKMS article in the wiki (https://wiki.archlinux.org/title/Dynamic_Kernel_Module_Support). It is obvious that you need to install a headers package to make this work. dkms package only lists those as optional dependencies because you are free to install the kernel package you want. Other people using linux-lts need to install linux-lts-headers, for example, not the one you installed.

renfbatista commented on 2024-10-16 21:45 (UTC) (edited on 2024-10-16 21:47 (UTC) by renfbatista)

I am currently on 6.10.13-3-MANJARO. It took me a lot of time and pain to make it work, but after installing the linux header 6.10 it worked just fine with version 5.6.4.2 of this package. To install the linux headers run:

sudo pacman -S linux-headers

thelena commented on 2024-09-07 06:00 (UTC)

Re: https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git#comment-989703/

What was in the system journal for the hard lockup? Tbh the problem sounds just like the issue others have had - select a different revision or branch in the PKGBUILD?

concatenate commented on 2024-09-07 01:00 (UTC)

I am currently on 6.6.49-1-lts kernel and I'm using the Alfa AWUS036ACS AC600 USB Wireless Adapter and WikiDevi says that this adapter uses the rtl8812au driver. When I use this driver, the LED turns on but the driver somehow messes with my kernel and hangs my PC. I can't use Wireshark on the interface. I have tried rtl8821au from morrownr from GitHub and it still does not work well (crashes and unresponsive). I believe the driver is not updated to the latest kernel and it's breaking something in the background. If anyone has an updated driver/kernel that I can use or a workaround to get it working, please let me know. I am devastated. :/

thelena commented on 2024-08-14 09:02 (UTC) (edited on 2024-08-14 09:03 (UTC) by thelena)

I'm on kernel 6.9.12-1, rtl8811au based wifi (TP-Link Archer 600 usb). Spent some time looking into the source of pain and v5.6.4.2 has a bunch of refactoring on the most recent revision, leading to hal_itf.c chip ID functions mismatching, unfortunately. https://github.com/aircrack-ng/rtl8812au/commit/c7f8f6e As @iyanmv suggested, changing the git source at pkgbuild to point to the commit just prior to c7f8f6e on branch v5.6.4.2 worked fine:

source=('rtl88xxau::git+https://github.com/aircrack-ng/rtl8812au.git#commit=63cf0b4'

PiousMinion commented on 2024-05-24 04:49 (UTC)

This works in kernel 6.8.9, but fails to build with kernel 6.9.1 Something about: ioctl_cfg80211.c:464:17: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’

The full build log can be found https://gist.github.com/piousminion/a408ada1c8c9b1f6eed320566025e683

ec22583 commented on 2024-03-17 21:11 (UTC)

Hi, i used yay -aSyu --devel to update the driver and it works now, thanks very much