Created Sunday 08/07/2007
http://www.wirelessdefence.org/Contents/LinuxWirelessCommands.htm
iwconfig ath0 mode managed key [WEP key] iwconfig ath0 essid ESSID
iwconfig ath0 mode master # act as accesspoint iwconfig ath0 mode managed # act as a client iwconfig ath0 mode ad-hoc # act in Ad-Hoc mode iwconfig ath0 mode monitor iwconfig ath0 mode essid any|ESSID iwconfig ath0 key 1111-1111-1111-1111 # Set 128b WEP key iwconfig ath0 key 11111111 # Set 64b WEP key iwconfig ath0 s:mykey KEY # Set a key as an ASCII string iwconfig ath0 key off # Disable WEP key iwconfig ath0 key open # Set open mode, no authentication is used and card may accept non-encrypted sessions iwconfig ath0 channel 1-14|auto # Set a channel or automatic detection iwconfig ath0 freq 2.422G # Set a frequence iwconfig ath0 ap 11:11:11:11:11:11 # Force card to register AP address iwconfig ath0 rate 11M|auto # Use a specified rate iwconfig ath0 rate auto 5.5M # Card will use the rate specified and any rate below as required
ifconfig eth0 hw ether MAC # Change the MAC address