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 had 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 on. To do this, open a terminal and runairodump-ng --bssid 00:21:91:D2:8E:25 mon0
where00:21:91:D2:8E:25
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 fro from this access point, we need to lock our wireless card on the same channel...