In last post we saw how to setup and capture traffic on monitor mode.Second part of the series is about WiFi bands channels.
Normally WiFi operate in radio frequency range of 2.4Ghz.This 2.4 GHz band is divided in channels like 1,2,3.... up to 14.Most important thing any wireless card can be on only one channel at a time because there is only one radio present in each card.
There are following 802.11 standards in Wireless LAN
Source:Wikipedia
In table above you can see various channels along with frequencies.Countries apply their own regulations to both the allowable channels, allowed users and maximum power levels within these frequency ranges.
This was theory lets try some demo..
So how to put a WLAN card on a specific channel ?First verify the current status by command
#iwconfig wlan0
To put card on say channel 1 use following command..
#iwconfig wlan0 channel 1
Now you put card on channel 1 so WLAN card can now sniff traffic on ch 1.Same can be done for 802.11 b/g band but you we need to use a tool Airodump-ng.So your card support 802.11b/g and you want to toggle between these bands use following simple command
#airodump-ng --band {band }
for ex.#airodump-ng --band g
In next post we will cover some terminology of WiFi world and its meaning ..
Normally WiFi operate in radio frequency range of 2.4Ghz.This 2.4 GHz band is divided in channels like 1,2,3.... up to 14.Most important thing any wireless card can be on only one channel at a time because there is only one radio present in each card.
There are following 802.11 standards in Wireless LAN
- 802.11a : operating frequency 5Ghz
- 802.11b : operating frequency 2.4 Ghz
- 802.11g : operating frequency 2.4 Ghz
- 802.11n : operating frequency 2.4 GHz
Source:Wikipedia
In table above you can see various channels along with frequencies.Countries apply their own regulations to both the allowable channels, allowed users and maximum power levels within these frequency ranges.
This was theory lets try some demo..
So how to put a WLAN card on a specific channel ?First verify the current status by command
#iwconfig wlan0
To put card on say channel 1 use following command..
#iwconfig wlan0 channel 1
Now you put card on channel 1 so WLAN card can now sniff traffic on ch 1.Same can be done for 802.11 b/g band but you we need to use a tool Airodump-ng.So your card support 802.11b/g and you want to toggle between these bands use following simple command
#airodump-ng --band {band }
for ex.#airodump-ng --band g
In next post we will cover some terminology of WiFi world and its meaning ..
0 comments:
Post a Comment