aircrack-ng rtl8812au
sudo ip link set wlan0 down sudo iw dev wlan0 set type monitor sudo ip link set wlan0 up
Here is what the above code is Doing:
1. We’re using the ip command to bring the interface down.
2. We’re using the iw command to set the interface type to monitor.
3. We’re using the ip command to bring the interface back up.