Git Product home page Git Product logo

Comments (11)

kimocoder avatar kimocoder commented on June 27, 2024 7

https://github.com/aircrack-ng/rtl8812au supports monitor mode + injection

from rtl8812au.

amadeuspzs avatar amadeuspzs commented on June 27, 2024 5

I've managed to get monitor mode working for an ALFA AC1200 running RTL8812au using https://github.com/Grawp/rtl8812au_rtl8821au on Kali Linux.

from rtl8812au.

AaronMcHale avatar AaronMcHale commented on June 27, 2024

It is supported but the rtl8812au driver doesn't communicate well with tools like iw, as they use nl80211, take a look at this repo https://github.com/jekader/hostapd-rtl, it adds support for this type of RealTek driver to hostapd which I'm assuming you are ultimately looking to use.

from rtl8812au.

yangjunfei123 avatar yangjunfei123 commented on June 27, 2024

Hi AaronMcHale
when I run "airmon start enp0s29u1u8 " I got this error, got any idea with this ?

[root@localhost neil.yang]# airmon-ng start enp0s29u1u8
Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!

PID Name
683 avahi-daemon
715 avahi-daemon
811 NetworkManager
1187 wpa_supplicant
1584 dhclient

PHY Interface Driver Chipset

null enp0s29u1u8 rtl8812au
[root@localhost neil.yang]# airodump-ng --ivs enp0s29u1u8
ioctl(SIOCSIWMODE) failed: Invalid argument

ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211,
ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
sure RFMON is enabled: run 'airmon-ng start enp0s29u1u8 <#>'
Sysfs injection support was not found either.

[root@localhost neil.yang]#

from rtl8812au.

nikicat avatar nikicat commented on June 27, 2024

Monitor mode is supported in 4.3.22 version of driver.

from rtl8812au.

curtiszimmerman avatar curtiszimmerman commented on June 27, 2024

If you're looking for monitor mode support that will compile on Ubuntu/LM, this version will get you what you want without updating kernel or gcc as required by other drivers that support monitor mode.

from rtl8812au.

keralo avatar keralo commented on June 27, 2024

tell us how please

from rtl8812au.

amadeuspzs avatar amadeuspzs commented on June 27, 2024
git clone https://github.com/Grawp/rtl8812au_rtl8821au.git
cd rtl8812au_rtl8821au
make && sudo make install
sudo reboot

from rtl8812au.

Florianwall avatar Florianwall commented on June 27, 2024

hey amadeuspzs,
when i tried to install the driver it always gives me some errors.. I am using Kali linux on a virtual machine and i tried to install several drivers but most of them seem to get me errors. The first one I installed worked but this version doesn't support the monitor mode ..
Can you tell me what i am doing wrong?
Getting these errors:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-kali1-amd64/build M=/root/rtl8812au_rtl8821au modules
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-kali1-amd64'
CC [M] /root/rtl8812au_rtl8821au/core/rtw_cmd.o
In file included from /root/rtl8812au_rtl8821au/include/drv_types.h:32:0,
from /root/rtl8812au_rtl8821au/core/rtw_cmd.c:22:
/root/rtl8812au_rtl8821au/include/osdep_service.h: In function ‘thread_enter’:
/root/rtl8812au_rtl8821au/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
/root/rtl8812au_rtl8821au/include/osdep_service.h: In function ‘flush_signals_thread’:
/root/rtl8812au_rtl8821au/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending (current))
^~~~~~~~~~~~~~
/root/rtl8812au_rtl8821au/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.13.0-kali1-common/scripts/Makefile.build:307: recipe for target '/root/rtl8812au_rtl8821au/core/rtw_cmd.o' failed
make[4]: *** [/root/rtl8812au_rtl8821au/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.13.0-kali1-common/Makefile:1529: recipe for target 'module/root/rtl8812au_rtl8821au' failed
make[3]: *** [module/root/rtl8812au_rtl8821au] Error 2
Makefile:145: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-kali1-amd64'
Makefile:1670: recipe for target 'modules' failed
make: *** [modules] Error 2

from rtl8812au.

rikichiman avatar rikichiman commented on June 27, 2024

i have the same problem as ( Florianwall ) :/
exactly the same errors..
ps: my adapter is TL-WN821N V5 ( TP-LINK)

from rtl8812au.

curtiszimmerman avatar curtiszimmerman commented on June 27, 2024

Very nice! Thanks @kimocoder for the PR against the official repo and @astsam for the monitor mode support!

from rtl8812au.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.