aircrack ng "ERROR while getting interface flags: no such device"

分享于 

2分钟阅读

ubuntu

  繁體

问题

这个命令


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 kill (some of) them!


PID Name


3258 wpa_supplicant


4175 NetworkManager


4180 dhclient


4190 avahi-daemon


4191 avahi-daemon 


Process with PID 4180 (dhclient) is running on interface wlan0



Interface Chipset Driver 



wlan0 Unknown wl - (phy0]mon0: ERROR while getting interface flags: Onjuist apparaat 



 (monitor mode emabled on mon0)



然后我输入

 
ifconfig mon0 down



我得到这个错误:


ERROR while getting interface flags: no such device




答案1

这意味着你安装了旧版本的airmon-ng,升级到至少v1.0 -rc1.


答案2

出现这个错误的原因有两种。

  • 设备正在使用:杀死可能导致故障的进程,例如,

    kill -9 3258 (杀死你的wpa_supplicant )

  • 更新到最新的aircrack-ng版本:文档建议从svn更新到最新版本。


  • 答案3

    问题出在接口的名称

    键入airmon-ng以在监视模式下启动无线接口

    然后输入airmon-ng check kill杀死所有干扰进程

    现在键入

    
    airodump-ng wlan0mon
    
    
    
    
     
    airodump-ng mon0
    
    
    
    


    INT  接口  FLA  AIR  Flags  aircrack-ng