Wifi

外接wifi適配器(TL-WN821N)無法轉為監聽模式

  • November 29, 2018

我安裝了這個設備的驅動程序,它可以工作

iwconfig

我在這裡得到:

wlan1     unassociated  Nickname:"<WIFI@REALTEK>"
     Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated   
     Sensitivity:0/0  
     Retry:off   RTS thr:off   Fragment thr:off
     Encryption key:off
     Power Management:off
     Link Quality:0  Signal level:0  Noise level:0
     Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
     Tx excessive retries:0  Invalid misc:0   Missed beacon:0

但我無法將其切換到“監控模式”:

ifconfig wlan1 down
iwconfig wlan1 mode monitor

我有一個錯誤:

Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan1 ; Invalid argument.

TL-WN821N 的晶片:Realtek RTL8192EU。我想知道它是否不支持“監控模式”?

你可以通過命令驗證你的wifi卡是否支持監聽模式iw

有一個例子:

iw list | grep "Supported interface modes" -A10

樣本輸出(monitor支持模式):

   Supported interface modes:
    * IBSS
    * managed
    * AP
    * AP/VLAN
    * WDS
    * monitor
    * mesh point
    * P2P-client
    * P2P-GO
    * outside context of a BSS

引用自:https://unix.stackexchange.com/questions/350689