Comments (19)
👍
from rtl8812au.
👍
from rtl8812au.
Hey all, hoping to bring this request back to life, monitor mode support for this driver would make ALOT of people happy, as you can see here in the wireless scanning community there are a lot of good newer cards that require this. Like this Great Netis and this Awesome new Alfa adapter.
I'm positive the chipset of the Alfa supports it and can quickly test as I have a couple with me.
from rtl8812au.
I agree we need monitor mode on this one^^
from rtl8812au.
Is there any support for monitor mode with this driver yet?
from rtl8812au.
No
from rtl8812au.
There is monitor mode support in 4.3.22 version of the driver.
from rtl8812au.
have you tried it?
and how do i install it on a kali or ubuntu
from rtl8812au.
When I try to install 4.3.22 using the same directions for the 4.0.0 driver here (https://wiki.gentoo.org/wiki/AC1200_Wireless_Adapters) the make command fails. Am I missing something?
from rtl8812au.
4.3.22 has introduced new errors or reintroduced old errors when one attempts compilation with gcc-4.9.3 and other current Gentoo build tools. May work fine with other build tool setups.
I see: "make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.3.0-rc7/build M=/root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta modules
make[1]: Entering directory '/usr/src/linux-4.3-rc7'
CC [M] /root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_cmd.o
In file included from /root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/include/drv_types.h:95:0,
from /root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_cmd.c:22:
/root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/include/hal_com.h:519:13: error: ‘file_path’ redeclared as different kind of symbol
extern char file_path[PATH_LENGTH_MAX];
^
In file included from include/linux/compat.h:15:0,
from include/linux/ethtool.h:15,
from include/linux/netdevice.h:42,
from /root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/include/osdep_service_linux.h:35,
from /root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/include/osdep_service.h:41,
from /root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/include/drv_types.h:32,
from /root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_cmd.c:22:
include/linux/fs.h:2552:14: note: previous declaration of ‘file_path’ was here
extern char file_path(struct file *, char *, int);
^
scripts/Makefile.build:258: recipe for target '/root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_cmd.o' failed
make[2]: ** [/root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_cmd.o] Error 1
Makefile:1378: recipe for target 'module/root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta' failed
make[1]: *** [module/root/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta] Error 2
make[1]: Leaving directory '/usr/src/linux-4.3-rc7'
Makefile:1669: recipe for target 'modules' failed
make: *** [modules] Error 2"
https://github.com/Grawp/rtl8812au_rtl8821au/tree/4.3.22 may correct this and other errors or may be work in progress.
from rtl8812au.
https://github.com/Grawp/rtl8812au_rtl8821au/tree/4.3.22 fails with "make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.3.0-rc7/build M=/root/rtl8812au_rtl8821au-4.3.22 modules
make[1]: Entering directory '/usr/src/linux-4.3-rc7'
CC [M] /root/rtl8812au_rtl8821au-4.3.22/core/rtw_cmd.o
cc1: error: -Werror=incompatible-pointer-types: no option -Wincompatible-pointer-types
scripts/Makefile.build:258: recipe for target '/root/rtl8812au_rtl8821au-4.3.22/core/rtw_cmd.o' failed
make[2]: *** [/root/rtl8812au_rtl8821au-4.3.22/core/rtw_cmd.o] Error 1
Makefile:1378: recipe for target 'module/root/rtl8812au_rtl8821au-4.3.22' failed
make[1]: *** [module/root/rtl8812au_rtl8821au-4.3.22] Error 2
make[1]: Leaving directory '/usr/src/linux-4.3-rc7'
Makefile:1682: recipe for target 'modules' failed
make: *** [modules] Error 2
from rtl8812au.
It compiles fine on Archlinux (but with a lot of warnings), but after loading the driver my system is unstable (may hang after certain commands).
After several trial-and-errors I've finally can monitor wireless traffic using it.
from rtl8812au.
Hello.
Some good news with this driver: https://github.com/Grawp/rtl8812au_rtl8821au/tree/4.3.22
I have D-Link DWA-171 rev A1 USB-dongle
# lsusb
Bus 001 Device 002: ID 2001:3314 D-Link Corp.
Commented out this line in Makefile (otherwise it fails with error which was mentioned by donahue95):
#EXTRA_CFLAGS += -Werror=incompatible-pointer-types
and then it builds fine.
It's working in monitor mode but only when i set it up with iwconfig, not airmon-ng / iw:
# uname -a
Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux
# iwconfig wlan0 mode monitor
# iwconfig wlan0
wlan0 unassociated Nickname:"WIFI@REALTEK"
Mode:Monitor Frequency=2.412 GHz Access Point: Not-Associated
[...]
Airodump-ng works (not stable thou, some troubles with channel rotation, but I still can get some wpa handshakes from my network).
from rtl8812au.
@litew My WiFi device is TL-WDN6200 . Follow your way the monitor mode is On but airodump-ng crash in a minute.
lsusb
Bus 002 Device 003: ID 2357:0101 but no manufacture info.
dmesg | grep -i usb
2.156562] usb 1-2: Product: VMware Virtual USB Hub
[ 2.160292] usb 2-2: New USB device found, idVendor=2357, idProduct=0101
[ 2.160295] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.160296] usb 2-2: Product: 802.11n NIC
[ 2.160297] usb 2-2: Manufacturer: Realtek
[ 2.160298] usb 2-2: SerialNumber: 123456
iwconfig wlan0
wlan0 unassociated Nickname:"WIFI@REALTEK"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I thought the driver for TL-WDN6200 is not so stable.
I wonder that bully and reaver is good to use?
from rtl8812au.
@litew airmon-ng start wlan0 is not working. Setting channels also failed.
cat: /sys/class/ieee80211/phy0/device/net/wlan0mon/type: No such file or directory
If any drivers could fix this, please let me know :)
QUOTE:
airmon-ng start wlan0
PHY Interface Driver Chipset
phy0 wlan0 ??????
Error setting channel: command failed: Operation not supported (-95)
(mac80211 monitor mode already enabled for [phy0]wlan0 on [phy0]10)
from rtl8812au.
Finally find a workaround way to put this device into monitor mode and set desired channel. It's enough to sniff wireless packets by wireshark.
- Compile driver from https://github.com/Grawp/rtl8812au_rtl8821au and install it.
- run rmmod 8812au
- modprobe 8812au rtw_channel=CHANNEL_YOU_WANT_TO_SET
- ifconfig wlan0 up
- iwconfig wlan0 mode monitor
- run iwconfig and check if it's set to monitor mode and desired channel.
from rtl8812au.
Does this driver support 80211 sniffer capture?
https://github.com/Grawp/rtl8812au_rtl8821au
from rtl8812au.
@bigfeng12
Working but difficult to change channel.
There is a command to change wifi frequency so called "iw"
ex) iw dev $interface set freq 2417
but it doesn't support. and also iwconfig.
ex) iwconfig $interface channel 6
Set it, if trying to modprobe ... rtw_channel=CHANNEL_YOU_WANT_TO_SET
- if try to change manged mode to monitor, but generated by auto mode not monitor mode.**
from rtl8812au.
- yes, that 8812au wlan driver sniffer mode works on linux platform, but only HT20 bandwidth OK,
and how to make it work on HT40 work? even VHT40 VHT80?
from rtl8812au.
Related Issues (20)
- Strange behaviour after sometime HOT 1
- Cannot install on a raspberry pi 3B (octopi)
- datasheet for hardware registers? HOT 3
- Error HOT 1
- can't set tx power
- user name and passord now required?
- insmod error "Operation not permitted" with secure boot enabled
- Will not compile because of net/ipx.h HOT 4
- No monitor mode support ??
- Cannot compile driver HOT 3
- kthread_complete_and_exit HOT 1
- ubuntu 22.04 compile error: control reaches end of non-void function [-Werror=return-type] HOT 1
- kthread_complete_and_exit undefined (Ubuntu 22.04 latest update) HOT 3
- Line 557 in rtl8812au/core/rtw_cmd.c i get the following error: control reaches end of non-void function HOT 7
- "Skipping BTF generation for /home/kali/Downloads/rtl8812au/8812au.ko due to unavailability of vmlinux" HOT 2
- UBSAN: array-index-out-of-bounds HOT 2
- Error modpost: wireless_send_event [rtl8812au/8812au.ko] undefined! HOT 1
- too few arguments to function ‘cfg80211_ch_switch_notify’ HOT 2
- Wifi
- cannot compile for aarch64 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtl8812au.