Skip to content

Monitor interface overview, creating monitor interfaces

Murad edited this page Jul 2, 2022 · 11 revisions

CLI way

Monitor interface can be created on any phy since Linux always supports monitor interface mode in software, regardless of driver features on a given WiFi NIC. To create a monitor mode interface wlan0monitor0 on device phy0, use iw phy phy0 interface add wlan0monitor0 type monitor && ip link set wlan0monitor0 up. Resulting monitor mode can be used in wireshark to sniff packets.

Caveats

Your NIC may not support multiple modes at once. I have never seen such a NIC though. You can always see combinations supported by your NIC using iw list | egrep -A2 'valid interface combinations|Wiphy'.

Clone this wiki locally