What is Wifi?
It
is wireless Internet connection through a wireless router which is transmitting
data in specific high frequency radio signal.
Evolution of 802.11
1:802.11 legacy
2:802.11a – 5.4GHz,1999,orthogonal frequency Multiplexing
3:802.11b—2.4GHz ,CSMA/CA,11mbps
4:802.11g—2003,backward compatible,54mbps
5:802.11n – MIMO,150mbps,2.4-5GHZ
6:802.11ac – underdevelopment,6.9Gbps,8-MIMO streams etc…
Modes
There
are 6 modes of wifi :
1.
Monitor
2.
Master
3.
Managed
4.
Ad-hoc
5.
Mesh
6.
Repeater
7.Promoscuios
To
know the wireless mode that you are running can be checked by following command
:
iw
phy phy1 info
1. Master : It is Access Point or Base
Station, its an embedded device with a proprietary OS or slim down Linux
installation setup to provide network access to clients.
2. Managed : Infrastructure Mode,
are considered clients or stations and are the devices connected to an access
point. Your laptop, Nintendo, iPhone, etc..
To
connect in managed Mode:
iwconfig
wlan0 mode managed
iwconfig
wlan0 essid Hostelj (Hostelj is the access point name it may be different I
have taken it for the sake of the example)
iwconfig
wlan0 (see if it has associated with the access point)
3. Ad-hoc: Also know as peer-to-peer.
Ad-Hoc network to communicate with each other, they must use the same ESSID
Ad-Hoc network to communicate with each other, they must use the same ESSID
setup.
iwconfig
wlan0 channel 1 essid myadhocnetwork mode ad-hoc
(myadhocnetwork is the name if
the access point)
4. Mesh :
It
is a planned ad-hoc network.
Mesh
networks, or mesh clouds, are comprised of radios acting as routers, gateways
and clients.
Mesh
network node communicate as long as there is a common communication channel
Lets
take and example that node A can talk to
node C if they are both within range of node B. Likewise, if a node were to go
down a mesh can heal itself by routing through other nodes in the network.
5. Repeater : In this mode it connect
to a wireless network, and repeat the signal.
Following Types of wireless frame exist:
1:Management Frames
a)Beacons:Beacons frames are like someone shouting 'I am Here' and telling about his presence.Access point shout loudly in their vicinity telling every client about his existence.
b)Probes:Probes frames comes in two flavour.Probe Request and Probe Response.When a client need some info about an access point it sends a probe request and access point respond to it by sending what we call probe Response.Probes Response contain info about access point like channel it uses,frequency,band available,data rates etc.
c)Authentication:Two types are request and response.client send request for authentication that contain some secret and AP replies according to it by sending auth Response
d)Association:whenever a client passes authentication step it moves to association step in which it send a association request and AP respond by sending association response.Its a way the AP allocate resource for new client.Association frame have three types:1:Association Request,2:Association Response,3:Disassociation
2:Control Frames
a)Beacons:Beacons frames are like someone shouting 'I am Here' and telling about his presence.Access point shout loudly in their vicinity telling every client about his existence.
b)Probes:Probes frames comes in two flavour.Probe Request and Probe Response.When a client need some info about an access point it sends a probe request and access point respond to it by sending what we call probe Response.Probes Response contain info about access point like channel it uses,frequency,band available,data rates etc.
c)Authentication:Two types are request and response.client send request for authentication that contain some secret and AP replies according to it by sending auth Response
d)Association:whenever a client passes authentication step it moves to association step in which it send a association request and AP respond by sending association response.Its a way the AP allocate resource for new client.Association frame have three types:1:Association Request,2:Association Response,3:Disassociation
2:Control Frames
RTS(Request to send):Name clearly tells what these frames are meant for.
CTS(Clear to send)
Ack to send
CTS(Clear to send)
Ack to send
3:Data Frame
Comments
Post a Comment