Basic WiFi Commands

Essential tools and commands for WiFi reconnaissance and network analysis.

Reference3 steps5 tools

Methodology

  1. 1Setup wireless adapter in monitor mode
  2. 2Discover available networks
  3. 3Analyze network information
  4. 4Capture traffic for analysis

Detailed Steps

bash
# Check available wireless interfaces
iwconfig
ip link show

# Bring interface down
sudo ip link set wlan0 down

# Enable monitor mode
sudo iwconfig wlan0 mode monitor

# Or using iw (newer method)
sudo ip link set wlan0 down
sudo iw wlan0 set type monitor
sudo ip link set wlan0 up

# Verify monitor mode
iwconfig
# Should show "Mode:Monitor"
bash
# Using airodump-ng
sudo airodump-ng wlan0

# Scan specific channel
sudo airodump-ng -c 6 wlan0

# Save output to file
sudo airodump-ng -w capture -c 6 wlan0

# Filter by ESSID
sudo airodump-ng --essid "Target-Network" wlan0

# Focus on specific MAC address
sudo airodump-ng --bssid AA:BB:CC:DD:EE:FF wlan0
bash
# Capture all traffic on channel 6
sudo airodump-ng -c 6 -w output.pcap wlan0

# Capture using tcpdump
sudo tcpdump -i wlan0 -w capture.pcap

# View capture file
sudo tcpdump -r capture.pcap

# Filter by specific network
sudo tcpdump -r capture.pcap -n "wlan host AA:BB:CC:DD:EE:FF"

Tools

aircrack-ngiwconfigiwtcpdumpWireshark

References

© 2026. For authorized testing and education only.

Use only against systems you own or have permission to test.