Wi-Fi Exploration Tools

You might have noticed that I had quite a number of Wi-Fi related posts lately. In the process, I have discovered a number of new Linux command line tools to find out more about the capabilities of the Wi-Fi network adapter in a device, the capabilities of the Access Point my device is connected to, and about the capabilities of all other Access Points in the area. So here’s a cheat sheet with a summary of those commands:

# Quick info on which channel the notebook is connected,
# + signal strength
iwconfig


# Current connection info, e.g. if a 20, 40, 80 or 160 MHz 
# channel is used
sudo iw wlp3s0 station dump


# Capabilities of the network adapter in the notebook
sudo iw phy


# Get details of the features the current Wi-Fi Access 
# Point supports:
sudo iw dev wlp3s0 scan | grep -A 150 associated


# Get an overview of all networks the notebook can receive:
sudo iw dev wlp3s0 scan | grep -w 'channel\|SSID\|signal'


# Get the capabilities of all Wi-Fi's that can be received:
sudo iw dev wlp3s0 scan

Very hand stuff!