MadWifi Tools

From

Revision as of 14:15, 6 September 2007 by Kkoehne (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Contents

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

Country Code

$ insmod ath_pci countrycode=276 # country code for germany

Personal tools
MediaWiki Appliance - Powered by TurnKey Linux