Time for action – sniffing data packets for our network
In this exercise, we will learn how to sniff data packets for a given wireless network. For the sake of simplicity, we will look at packets without any encryption.
Follow these instructions to get started:
- Switch on the access point we named
Wireless Lab
. Let it remain configured to use no encryption. - We will first need to find the channel on which the
Wireless Lab
access point is running. To do this, open a terminal and runairodump-ng --bssid <mac> wlan0mon
, where <mac
> is the MAC address of our access point. Let the program run, and shortly you should see your access point shown on the screen along with the channel it is running on. - We can see from the preceding screenshot that our access point
Wireless Lab
is running on channel 11. Note that this may be different for your access point.In order to sniff data packets going to and from this access point, we need to lock our wireless card on the same channel, that is...