Package Details: rtl8821au-dkms-git 5.12.5.2.r148.g0bfe654-1

Git Clone URL: https://aur.archlinux.org/rtl8821au-dkms-git.git (read-only, click to copy)
Package Base: rtl8821au-dkms-git
Description: rtl8821AU and rtl8811AU chipset driver with firmware v5.12.5.2
Upstream URL: https://github.com/morrownr/8821au-20210708
Licenses: GPL2
Conflicts: 8821au
Submitter: zebulon
Maintainer: zebulon
Last Packager: zebulon
Votes: 48
Popularity: 0.85
First Submitted: 2017-09-12 06:28 (UTC)
Last Updated: 2022-09-02 13:23 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Pinned Comments

zebulon commented on 2019-10-01 06:18 (UTC) (edited on 2025-02-12 07:26 (UTC) by zebulon)

To all having an issue with this driver: please try these alternate packages: https://aur.archlinux.org/packages/rtw88-dkms-git or https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git.

solsticedhiver commented on 2019-03-17 10:59 (UTC) (edited on 2019-03-17 21:10 (UTC) by solsticedhiver)

a patch to make it work for rpi and may be other ARM device:

--- PKGBUILD.old    2019-03-15 20:08:05.345042676 +0100
+++ PKGBUILD    2019-03-15 20:04:24.390294977 +0100
@@ -32,4 +32,10 @@
         sed -e "s/@_PKGBASE@/${_pkgbase}-dkms/" \
                         -e "s/@PKGVER@/${pkgver}/" \
                         -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
+
+   # patch Makefile for RPI
+   sed -i '/^CONFIG_PLATFORM_I386_PC/s/y/n/' ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/Makefile
+   sed -i '/^CONFIG_PLATFORM_ARM_RPI/s/n/y/' ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/Makefile
+   # disable debug code with __DATE__ macro (TODO: proper fix ?)
+   sed -i '/__DATE__/s/^/\/\//' ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/core/rtw_debug.c
 }

Note: I am seeing the interface of the usb wifi key marketed as DEEPOW dongle (from amazon) changing MAC address at every boot even though I have not set up anything like that in netctl, here.

I don't know if it's a hardware problem or driver problem. However, it's the same with rtl88xxau-aircrack-dkms-git driver

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 15 Next › Last »

zebulon commented on 2019-01-03 05:34 (UTC)

I just merged the patch for kernel 4.20, please let me know if that works.

archixx commented on 2019-01-02 19:06 (UTC)

Looks like for kernel 4.20.x there is a patch needed: https://github.com/MilhouseVH/RTL8812AU/pull/1 Just tested it and it worked for me.

HiImTye commented on 2018-12-31 23:12 (UTC)

it builds with today's kernel 4.20.0 ARCH and zen, however, when installing the dkms module it returns the error

==> dkms install rtl8821au/5.1.5.r72.ga2bcd1b -k 4.20.0-arch1-1-ARCH Error! Bad return status for module build on kernel: 4.20.0-arch1-1-ARCH (x86_64) Consult /var/lib/dkms/rtl8821au/5.1.5.r72.ga2bcd1b/build/make.log for more information.

https://justpaste.it/3r6m7

zebulon commented on 2018-11-14 15:42 (UTC)

@Terence: thanks for the info. That may mean that due to the excellent work from the aircrack-ng contributors and associates, we could have a unified 5.3.4 driver for rtl8812/14/21au. This would be so nice! I will check with my own 8812au device (but this may take a bit of time due to personal reasons). One other way would be to have a new PKGBUILD, e.g. rtl8812_14_21au-dkms-git but I am not fan of such naming scheme.

Terence commented on 2018-11-14 15:16 (UTC)

@zebulon I'm using the 5.3.4 branch of the aircrack-ng repo with no problem since a week.

zebulon commented on 2018-11-14 15:11 (UTC)

Today I received an out-of-date notification due to an issue with kernel 4.19, but now the flag has been removed. Was it an error? Anyway, I think this package should now be refreshed and possibly updated to the aircrack-ng rtl8812au repo, which contains the most up-to-date patches. That said, I wonder if I should stay on branch 5.1.5 or use the later one (5.2.xx or 5.3.4). Has anyone tried aircrack-ng repo by any chance? (I have no rtl8814au hardware to test this...)

instance commented on 2018-05-31 09:21 (UTC)

If anyone has issues regarding the MAC constantly changing: Given that the mod is called 8812au, put "options 8812au rtw_initmac=YOUR_MAC_ADDR" into /etc/modprobe.d/8812au.conf

Replace YOUR_MAC_ADDR with your desired MAC address.

zebulon commented on 2018-03-16 07:24 (UTC)

@jaylittle: thanks for reporting. I do not know where the problem came from since this number is automatically generated with makepkg. Anyway, this is fixed now. Users may need to force upgrade due to a lower pkgver number.

jaylittle commented on 2018-03-15 22:59 (UTC)

The pkgver variable in the PKGBUILD file is inaccurate which results in this package always being recompiled during a system wide upgrade using pacaur.

The correct value according to the upstream git repo should be:

5.1.5.r57.g386f345

Thanks!

weiti commented on 2018-02-02 15:59 (UTC)

@remy.grunblatt: I use this driver on an WPA2 Network with EAP-TLS Auth without any issues ... HTH