Wireless Interface Setup

Setup

Before performing wireless attacks, you must configure your wireless adapter for monitor mode, which allows it to capture all traffic in the air, not just traffic destined for your device.

monitor-mode.sh
bash
# Check wireless interfaces
iwconfig
iw dev

# Kill interfering processes
sudo airmon-ng check kill

# Enable monitor mode
sudo airmon-ng start wlan0
# Creates wlan0mon

# Alternative manual method
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
sudo ip link set wlan0 up

# Verify monitor mode
iwconfig wlan0mon

# Change channel
sudo iwconfig wlan0mon channel 6

# Return to managed mode
sudo airmon-ng stop wlan0mon
sudo systemctl restart NetworkManager