IWCONFIG

NAME

iwconfig - configure a wireless network interface  

SYNOPSIS

iwconfig [interface]
iwconfig interface [channel C] [mode M]  

DESCRIPTION

Iwconfig is similar to ifconfig, but is dedicated to the wireless interfaces. It is used to set the parameters of the network interface which are specific to the wireless operation (for example : the frequency). Iwconfig may also be used to display those parameters, and the wireless statistics (extracted from /proc/net/wireless).

All these parameters and statistics are device dependant. Each driver will provide only some of them depending on the hardware support, and the range of value may change. Please refer to the man page of each device for details.  

PARAMETERS

freq/channel
Set the operating frequency or channel in the device. Value below 1000
are the channel number, value over this is the frequency in Hz. You must append the suffix k, M or G to the value (for example, "2.46G" for 2.46 GHz frequency), or add enough '0'.
Channels are usually numbered starting at 1, and you may use iwpriv(8) to get the total number of channels and list the available frequencies. Depending on regulations, some frequencies/channels may not be available.
Examples :
      iwconfig eth0 freq 2.422G
      iwconfig eth0 channel 3
mode
Set the operating mode of the device, which depends on the network
topology. The mode can be:
 
 disabled (network dont used), normal (the card managed by NDIS-driver, only packets of your BSS are visible), monitor (managed by Snif's driver, all packets are visible )