I connect my PC to the internet via ethernet cable and intend to use my WiFi only for pentesting. lspci | grep -i wi returns
03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
ip l returns
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether b4:0e:de:fb:2d:46 brd ff:ff:ff:ff:ff:ff
when I'm connected to a local WiFi network.
Now, when I run
sudo ip l set dev wlp3s0 up
sudo airmon-ng start wlp3s0
ip l returns
4: wlp3s0mon: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/ieee802.11/radiotap b4:0e:de:fb:2d:45 brd ff:ff:ff:ff:ff:ff
I am then able to gather some information with airodump-ng wlp3s0mon:
CH 4 ][ Elapsed: 42 s ][ 2023-01-06 13:34
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID
F1:1D:6B:E2:05:C2 -84 1 0 0 5 270 WPA2 CCMP PSK BAR_SANDWICH
C6:A7:76:23:58:20 -53 39 0 0 1 270 WPA2 CCMP PSK net4you
BSSID STATION PWR Rate Lost Frames Notes Probes
F1:1D:6B:E2:05:C2 EC:3D:FD:C1:93:5D -77 0 - 1e 0 1
F1:1D:6B:E2:05:C2 EC:3D:FD:C1:7B:9E -79 0 - 1e 0 1
(not associated) FA:A0:7A:55:8F:AA -71 0 - 1 0 2
(not associated) 54:2A:A2:48:26:38 -83 0 - 1 0 1 BAR_SANDWICH
C6:A7:76:23:58:20 64:BC:58:9E:CD:57 -59 0 - 6e 0 2
where net4you is the SSID of the network broadcast by my router and BAR_SANDWICH
is that of my neighbours.
When I start the packet inection test with sudo aireplay-ng -9 wlp3s0mon or sudo aireplay-ng --test wlp3s0mon
I get the following output:
13:35:10 Trying broadcast probe requests...
13:35:12 No Answer...
13:35:12 Found 0 APs
1. Why aren't there any APs found in the output from aireplay-ng while I can see two access points in the outoput of airodump-ng?
2. Does my wireless card support monitor mode?
3. Does my wireless card support packet injection?
P.S. My environment: Ubuntu Desktop 22.04LTS .