MadWifi Tools

From
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Overview over the command line tools related to the Madwifi driver.

Example configuration (ad-hoc mode)

$ wlanconfig ath0 create wlandev wifi0 wlanmode ad-hoc
$ iwconfig ath0 channel 6
$ iwconfig ath0 rate 1M
$ ifconfig ath0 192.168.3.120
$ ifconfig ath0 up

General Tools

ifconfig

General configuration of NICs & more

$ ifconfig ath0 mtu 2290
$ ifconfig ath0 up
$ ifconfig ath0 192.168.100.1

Atheros Tools

wlanconfig

Creation of virtual APs

$ wlanconfig
$ wlanconfig ath0 destroy
$ wlanconfig ath0 create wlandev wifi0 wlanmode monitor


athchans

athctrl

athkey

athstats

$ athstats 1

Wireless Tools

http://hplabs.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html

iwconfig

Configuration of wireless network interfaces

$ iwconfig ath0
$ iwconfig --help
$ iwconfig ath0 channel 4
$ iwconfig ath0 essid "foo"

iwpriv

Fine tuning of VAPs

$ iwpriv
$ iwpriv ath0 mode 1 # lock operation to 11a only
$ iwpriv ath0 mode 2 # lock operation to 11b only
$ iwpriv ath0 mode 3 # lock operation to 11g only<br7>

iwlist

Get wireless statistics

iwlist ath0 scan

Madwifi & Click

$ echo '804' > /proc/sys/net/ath0/dev_type # Enables Atheros descriptors