我在使用 aircrack-ng 时遇到了问题。当我运行命令时:airodump-ng wlan0mon 出现以下错误:接口 wlan0mon:ioctl(SIOCGIFINDEX)失败:没有这样的设备
答案1
尝试改为wlan0
使用wlan0mon
airmon-ng
然后输入,
sudo airmon-ng start wlan0
输出 :
Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to run 'airmon-ng check kill'
PID Name
15292 avahi-daemon
15293 avahi-daemon
15445 NetworkManager
15456 wpa_supplicant
15459 dhclient
PHY Interface Driver Chipset
phy0 wlp5s0 ath9k Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
您将接口 wlan0 设置为 wlp5s0 作为 mon0,之后您就可以使用airodump-ng
,aireplay-ng
先生aircrack-ng
。
希望这可以帮助。