9

How can I check if my wireless card supports monitor mode, e.g. for use with aircrack-ng?

I know there is a command that shows something like wifi adapters attributes or something, but I can't remember.

Byte Commander
  • 107,489
Tomas
  • 145

1 Answers1

29

You can use the iw command to get a full list of all capabilities of a physical wireless card:

$ iw list
Wiphy phy0
    [...]
    Supported interface modes:
         * IBSS
         * managed
         * AP
         * AP/VLAN
         * monitor
         * P2P-client
         * P2P-GO
         * P2P-device
    [...]

The output of iw list is really long and detailed, therefore I only showed the relevant section. You see monitor is listed as supported interface mode for my example card.

Byte Commander
  • 107,489
  • @ByteCommander - Or just iw list | grep monitor – You'reAGitForNotUsingGit Sep 26 '16 at 18:28
  • @AndroidDev There might be more occurrences of the word "monitor" though. I'd prefer manual examination of the output here. – Byte Commander Sep 26 '16 at 20:14
  • @byte I can't see AP in iw list for MT7601 chipset, means. Hardware does not support ? or drivers is not comparable in Linux ? – Nullpointer Nov 02 '20 at 07:14
  • @Nullpointer Probably needs a special driver. Have a look if https://askubuntu.com/q/1205254/367990 helps and search online for your model name and "Linux". If you can't find a working solution, best ask a new question on the site. – Byte Commander Nov 02 '20 at 12:30