MadWifi Tools: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 10: Line 10:


= General Tools =
= General Tools =

== ifconfig ==


''General configuration of NICs & more''
''General configuration of NICs & more''

Revision as of 12:35, 22 August 2007

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

Debugging

$ athdebug +xmit
$ 80211debug scan+assoc