I am trying to pentest the security of the password of my wireless network. It is a
WPA2 with pre-shared-keys. My current computer is connected to the wifi router and I try to de-auth my own machine.
I created a monitoring interface:
sudo airmon-ng start wlan0
Now I use airodump-ng to find the channel and MAC of the access point:
sudo airodump-ng mon0
My access point has the channel 10 and the MAC
ACCESS_POINT_MAC. I can record packets now:
sudo airodump-ng -c 10 --bssid ACCESS_POINT_MAC mon0
I try now to deauthenticate my computer from the network with
aireplay-ng, but it does not work:
sudo aireplay-ng -0 1 -a ACCESS_POINT_MAC mon0
13:50:47 Waiting for beacon frame (BSSID: ACCESS_POINT_MAC) on channel -1 13:50:47 Couldn't determine current channel for mon0, you should either force the operation with --ignore-negative-one or apply a kernel patch Please specify an ESSID (-e).
- Why doesn't the de-authentication with aireplay-ng work?
Update after feedback from @BadSkillz
-e ssid_string to my command. However, it could not find the BSSID:
14:11:56 Waiting for beacon frame (BSSID: MAC_ADDRESS) on channel -1
14:12:06 No such BSSID available.
At the same time I can find the MAC_ADDRESS|BSSID with
I tried to use another interface when specifying the channel:
sudo airmon-ng start wlan0 10
mon1. Nevertheless, the
aireplay-ng still does not look at a specific channel.