Follow these instructions carefully:
To set the card on a particular channel, we use the
iwconfig wlan0mon 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, use only a subset, or use only selected bands. All these options are illustrated in the following screenshot when we runairodump-ng --help
:
We understood that both wireless sniffing and packet injection depend on the hardware support available. This means that we can only operate on bands and channels allowed by our card. Also, the wireless card radio can only be on one channel at a time. Furthermore, this means that we can only sniff or inject in one channel at a time.