brektrou / rtl8821CU

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
GNU General Public License v2.0
1.59k stars 462 forks source link

Cannot set monitor mode #6

Closed breisig closed 5 years ago

breisig commented 5 years ago

I cannot seem to set the wireless access into monitor mode? I have a

Bus 001 Device 002: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC

device and when trying to set up monitor mode using the following,

systemctl stop NetworkManager airmon-ng check kill ip link set wlan0 down iw dev wlan0 set type monitor

I get the error message command failed: Operation not supported (-95)

brektrou commented 5 years ago

Open Makefile. Go to this line: CONFIG_WIFI_MONITOR = n Change to: CONFIG_WIFI_MONITOR = y

Recompile the driver Monitor mode is disable by default in Makefile

breisig commented 5 years ago

Thanks @brektrou , that worked!