I've reworked this slightly to support building on any platform (tested on x86_64 and aarch64).
The patch is at https://www.disavowed.jp/arch/rtl88xxau-aircrack-dkms-git_anyarch.diff ... if the patch is acceptable to the maintainer, please merge.
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: | 45 |
Popularity: | 0.019134 |
First Submitted: | 2019-01-29 20:43 (UTC) |
Last Updated: | 2024-05-21 09:00 (UTC) |
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 22 Next › Last »
I've reworked this slightly to support building on any platform (tested on x86_64 and aarch64).
The patch is at https://www.disavowed.jp/arch/rtl88xxau-aircrack-dkms-git_anyarch.diff ... if the patch is acceptable to the maintainer, please merge.
@peterpan4, It can be handled in the PKGBUILD conditionally with an ARCH variable or something. But indeed I've basically been using your way up until now
Here is how I build this package under Arch Linux ARM disabling the randomized MAC address. Not sure if the process can be streamlined somehow.
wget https://aur.archlinux.org/cgit/aur.git/snapshot/rtl88xxau-aircrack-dkms-git.tar.gz
tar xzfv rtl88xxau-aircrack-dkms-git.tar.gz
cd rtl88xxau-aircrack-dkms-git
makepkg -Aos # fetch sources and deps without installing
vim src/rtl88xxau*/Makefile # change the following lines:
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y
vim src/rtl88xxau/core/rtw_ieee80211.c # change this line:
#define DEFAULT_RANDOM_MACADDR 0
makepkg -Aeif # compile and install without re-downloading the source
There is a new branch (v5.6.4): https://github.com/aircrack-ng/rtl8812au/issues/358
But still a lot of work to do... I'll keep an eye on it!
Upstream they have changed the default branch to v5.3.4. I'll edit PKGBUILD so it uses that from now on. If you have any issues, please leave a comment. You can use previous branch by editing line 18 in the PKGBUILD.
Sorry, this is not the correct driver, my mistake. I finally found out that the ID is 0bda:b812, which, according to this site (https://wiki.ubuntuusers.de/WLAN/Karten/Realtek/) means that the chipset is RTL8812bu.
@matthjes try first to use the branch I suggest, it is still more active in the repo. Be sure that you are using this driver and not the previous one you installed. If it fails, then try the other branch.
Also, be sure to connect your card to a USB 3 port. My card, for example, also fails if I connect it to a USB 2 port.
@iyanmv Hm, interesting. I've first used this package: https://aur.archlinux.org/packages/rtl88x2bu-dkms-git/. As I was experiencing problems with my adapter, I uninstalled this package and installed the one from aircrack. This did not help, so I followed the advice from jgegxguy and used yay -G to download the package, then changed the branch and installed this version, without luck. It seems like I'm still using the other driver, which is strange. I have to look into this.
@matthjes Are you sure you are using this PKGBUILD? In the logs I read "rtl88x2bu v5.3.1_27678.20180430_COEX20180427-5959" :S
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 branchv5.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:Read the README.me to learn how to set your interface in monitor mode (and other things).
Important: Use
ip
andiw
instead ofifconfig
andiwconfig