IWSCANSWITCH
NAME
iwscanswitch - Scan for access-points and switch mode of
association of the device based on the presence of Infras-
tructure or lack thereof.
SYNOPSIS
iwscanswitch [interface] [SNR Threshold]
DESCRIPTION
Written to be a module for the 7DS project, where it would be run
as a thread in the background.
In its Current state, iwscanswitch can be thought of as a
top(1) like utility that scans for access-points in the
vicinity for the interface to be associated with. If the
device cannot be associated to an AP in client mode, then it
will switch to Ad-Hoc mode with the ESSID '7DS'. If the card
is already in ad-hoc mode, and finds an AP to associate with
in Client mode, it will do so.
PARAMETER
SNR Threshold
Minimum acceptable threshold for the device based on
which switching of modes takes place.
EXAMPLE
For an SNR Threshold of 30 on interface eth0:
iwscanswitch eth0 30
NOTE
There were some issues encountered during writing this, all
of which are hardware/firmware related. For troubleshooting
them, refer to 'project.html'
AUTHOR
Rajesh Menon (prm225 (at) cs (dot) (nyu) (dot) (edu))
SEE ALSO
ifconfig(8), iwspy(8), iwlist(8), iwpriv(8), dhclient(8)
Man(1) output converted with
man2html