Time for action – expermenting with your Alfa card
Follow the instructions carefully:
Enter the
iwconfig wlan0
command to check the capabilities of your card. As you can see in the following screenshot, the Alfa card can operate in the b and g bands:Just for demo purposes, when I connect another card, a D-Link DWA-125, we see that it is capable for b, g, and n bands:
To set the card on a particular channel we use the
iwconfig mon0 channel X
commands:The
iwconfig
series of commands does not have a channel hopping mode. One could write a simple script over it to make it do so. An easier way is to useairodump-ng
with options to either hop channels arbitrarily or only a subset or only selected bands. All these options are illustrated in the following screenshot when we runairodump-ng –help
:
What just happened?
We understood that both wireless sniffing and packet injection depend on the hardware support available. This would mean that we can only operate on bands and channels allowed by our...