Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 1.38 KB

Monitor-mode.md

File metadata and controls

73 lines (52 loc) · 1.38 KB

Monitor mode

Check mode status

sudo iw dev
or
sudo iwconfig
or
sudo airmon-ng

image

Enable monitor mode

Method 1: Using ip link set

sudo ip link set <IFACE> down
sudo iw <IFACE> set monitor control
sudo ip link set <IFACE> up

Check again

image

If you want get back to the Managed Mode

sudo ip link set <IFACE> down
sudo iw <IFACE> set type managed
sudo ip link set <IFACE> up
service NetworkManager restart

Method 2: Using iwconfig

sudo ifconfig <IFACE> down
sudo iwconfig <IFACE> mode monitor
sudo ifconfig <IFACE> up

If you want get back to the Managed Mode

sudo ifconfig <IFACE> down
sudo iwconfig <IFACE> mode managed
sudo ifconfig <IFACE> up
service NetworkManager restart

Method 3: Using airmon-ng

sudo airmon-ng check kill
sudo airmon-ng start <IFACE>

image

It will create wlan0mon

image

If you want get back to the Managed Mode

sudo airmon-ng stop <IFACE>
service NetworkManager restart