MadWifi Tools: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
= General Tools = |
= General Tools = |
||
== ifconfig == |
|||
''General configuration of NICs & more'' |
''General configuration of NICs & more'' |
||
Line 63: | Line 65: | ||
iwlist ath0 scan<br/> |
iwlist ath0 scan<br/> |
||
= |
= Madwifi & Click = |
||
$ echo '804' > /proc/sys/net/ath0/dev_type # Enables Atheros descriptors |
|||
= Country Code = |
|||
$ insmod ath_pci countrycode=276 # country code for germany |
|||
$ athdebug +xmit<br/> |
|||
$ 80211debug scan+assoc<br/> |
Latest revision as of 14:15, 6 September 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
Madwifi & Click
$ echo '804' > /proc/sys/net/ath0/dev_type # Enables Atheros descriptors
Country Code
$ insmod ath_pci countrycode=276 # country code for germany