User Tools

Site Tools


mac80211

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mac80211 [2009/01/27 19:42] – Switch to the official version of iw. netrolller3dmac80211 [2017/01/09 21:44] (current) – Updated link to zd1211rw mister_x
Line 1: Line 1:
 +====== DEPRECATED ======
 +See [[install_drivers|Installing Drivers]] for updated information.
 +
 =====General===== =====General=====
  
Line 5: Line 8:
 The following drivers use mac80211 (not all have been tested to work with aircrack-ng): The following drivers use mac80211 (not all have been tested to work with aircrack-ng):
  
-  * [[acx1xx]] (Acx)+  * [[acx1xx]] (Texas Instruments ACX1XX series)
   * [[adm8211]] (ADMtek)   * [[adm8211]] (ADMtek)
-  * [[ar9170]] (Atheros xspaN USB, does not support non-xspaN devices+  * [[agnx]] (Airgo MIMO) 
-  * [[at76_usb]] (Atmel)+  * [[ar5523]] (Atheros A/B/G/Super-G USB) 
 +  * [[ar9170]] (replaced by carl9170) 
 +  * [[carl9170]] (Atheros xspaN USB - AR9001 and AR9002
 +  * [[at76c50x_usb]] (Atmel)
   * [[ath5k]] (Atheros A/B/G/Super-G)   * [[ath5k]] (Atheros A/B/G/Super-G)
   * [[ath9k]] (Atheros xspaN)   * [[ath9k]] (Atheros xspaN)
-  * [[b43]] and b43legacy (Broadcom) +  * [[ath9k_htc]] (Atheros AR9001 and AR9002 family) 
-  * [[iwl3945]] (not to be confused with ipw3945/ipwraw) +  * [[b43]] and b43legacy (Broadcom legacy) 
-  * [[iwlagn]] (formerly iwl4965)+  * [[brcm80211]] (Broadcom 802.11n - **does not currently allow capturing data packets!**
 +  * [[iwl3945]] (not to be confused with [[ipw3945]]/[[ipw3945|ipwraw]]
 +  * [[iwlagn]] (formerly [[iwl4965]])
   * [[libertas_tf]] (Marvell Libertas)   * [[libertas_tf]] (Marvell Libertas)
 +  * [[mac80211_hwsim]] (HW simulator for mac80211 testing)
   * [[mwl8k]] (Marvell TopDog)   * [[mwl8k]] (Marvell TopDog)
-  * [[p54]] (PrismGT in SoftMAC mode, but also supports FullMAC cards) +  * [[orinoco]] (Including USB PCI devices) 
-  * [[rt2x00]] (includes rt2400pci, rt2500pci, rt2500usb, rt61pci and rt73usb) +  * [[p54]] (PrismGT in SoftMAC mode, but also supports FullMAC cards as well as PrismGT dongles. Not to be confused with [[prism54]]
-  * [[rtl8180]] (not to be confused with r8180 AKA r8180-sa2400, also supports RTL8185 cards)+  * [[rt2x00]] (includes rt2400pci, rt2500pci, rt2500usb, rt2800usb, rt61pci and rt73usb) 
 +  * [[rtl8180]] (not to be confused with r8180 AKA [[r8180-sa2400]], also supports RTL8185 cards)
   * [[rtl8187]] (not to be confused with r8187 - RTL8187B supported in 2.6.27+)   * [[rtl8187]] (not to be confused with r8187 - RTL8187B supported in 2.6.27+)
   * [[stlc45xx]] (modified PrismGT SoftMAC)   * [[stlc45xx]] (modified PrismGT SoftMAC)
-  * [[zd1211rw-mac80211|zd1211rw]] (starting with 2.6.25)+  * [[w35und]] (Winbond USB) 
 +  * [[wl12xx]] (TI WL125x/WL127x) 
 +  * [[zd1211rw|zd1211rw]] (starting with 2.6.25)
  
 In general, these drivers will mostly work with aircrack-ng, but there may be exceptions.  Here is a list of drivers (with appropriate patches) that people have reported as working successfully with the aircrack-ng suite: In general, these drivers will mostly work with aircrack-ng, but there may be exceptions.  Here is a list of drivers (with appropriate patches) that people have reported as working successfully with the aircrack-ng suite:
  
-  * [[acx1xx]] (Acx)+  * [[acx1xx]] (Texas Instruments ACX1XX) 
 +  * [[ar9170]] (channel hopping is broken)
   * [[ath5k]]   * [[ath5k]]
   * [[ath9k]]   * [[ath9k]]
Line 35: Line 48:
   * [[rtl8180]]   * [[rtl8180]]
   * [[rtl8187]]   * [[rtl8187]]
-  * [[zd1211rw-mac80211|zd1211rw]] (no fragmentation attack support)+  * [[zd1211rw|zd1211rw]] (no fragmentation attack support)
  
 =====Aircrack support===== =====Aircrack support=====
Line 50: Line 63:
  
   * For kernels 2.6.24 and 2.6.25, use [[http://www.latinsud.com/bcm/mac80211_2.6.24.4_frag.patch|LatinSuD's fragmentation patch]].   * For kernels 2.6.24 and 2.6.25, use [[http://www.latinsud.com/bcm/mac80211_2.6.24.4_frag.patch|LatinSuD's fragmentation patch]].
-  * For 2.6.26, use [[http://patches.aircrack-ng.org/mac80211_2.6.25-wl_frag.patch|this patch]]. +  * For 2.6.26, use [[http://patches.aircrack-ng.org/mac80211_2.6.26-wl_frag.patch|this patch]]. 
-  * For 2.6.28 and the latest wireless-testing kernel (currently 2.6.28-wl), use [[http://patches.aircrack-ng.org/mac80211_2.6.28-rc4-wl_frag+ack_v3.patch|this updated patch]].+  * For 2.6.28and the latest wireless-testing kernel (currently 2.6.30-rc6-wl), use [[http://patches.aircrack-ng.org/mac80211_2.6.28-rc4-wl_frag+ack_v3.patch|this updated patch]].
   * For 2.6.27, use this [[http://patches.aircrack-ng.org/mac80211_2.6.27_frag+ack_v2.patch|backport of the 2.6.28 patch]].   * For 2.6.27, use this [[http://patches.aircrack-ng.org/mac80211_2.6.27_frag+ack_v2.patch|backport of the 2.6.28 patch]].
   * For compat-wireless packages, apply the wireless-testing patch to the compat-wireless package itself. Compat-wireless-2.6 currently needs the 2.6.28 patch, while compat-wireless-old can be used with the 2.6.27 one.   * For compat-wireless packages, apply the wireless-testing patch to the compat-wireless package itself. Compat-wireless-2.6 currently needs the 2.6.28 patch, while compat-wireless-old can be used with the 2.6.27 one.
 +  * For 2.6.29 & 2.6.30, some drivers need [[http://patches.aircrack-ng.org/mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch|an additional patch]] on top of the 2.6.28 patch. This fix is already included in 2.6.31 and newer kernels, so this patch should only be used up to 2.6.30.
 +
 +**IMPORTANT: The fix-tx-ctl-no-ack patch is NOT a replacement for the fragmentation patch, it is an additional patch that some drivers require in addition to the fragmentation patch.**
  
 =====Airmon-ng support===== =====Airmon-ng support=====
Line 59: Line 75:
 Airmon-ng supports mac80211's interface management features (nl80211) using a tool called **iw** (not to be confused with iwconfig). iw is called automatically by the airmon-ng script, or you might also call it directly to set up monitor interfaces. Airmon-ng supports mac80211's interface management features (nl80211) using a tool called **iw** (not to be confused with iwconfig). iw is called automatically by the airmon-ng script, or you might also call it directly to set up monitor interfaces.
  
-Iw is not part of the aircrack-ng suite.  You can download it from [[http://wireless.kernel.org/download/iw/|here]]. Choose the latest version, or at least 0.9.5. Iw requires a recent version of libnl (1.0-pre8 minimum, 1.1 recommended).+Iw is not part of the aircrack-ng suite.  You can download it from [[http://www.kernel.org/pub/software/network/iw/|here]]. Choose the latest version, or at least 0.9.5. Iw requires a recent version of libnl (1.0-pre8 minimum, 1.1 recommended).
  
  
 ====Installing iw==== ====Installing iw====
-  - Download [[http://wireless.kernel.org/download/iw/|iw]] (look for the latest version).+  - Download [[http://www.kernel.org/pub/software/network/iw/|iw]] (look for the latest version).
   - Extract the iw tarball.   - Extract the iw tarball.
   - Run "make" in the iw directory. If you get lots of "undefined" errors or "netlink/genl/genl.h: No such file of directory", then you need to install libnl-devel, or update libnl. **This can be risky, you might also need to update networkmanager, wpa_supplicant, hostapd and wlassistant, as older versions of them only work with 1.0-pre6 and earlier!**   - Run "make" in the iw directory. If you get lots of "undefined" errors or "netlink/genl/genl.h: No such file of directory", then you need to install libnl-devel, or update libnl. **This can be risky, you might also need to update networkmanager, wpa_supplicant, hostapd and wlassistant, as older versions of them only work with 1.0-pre6 and earlier!**
Line 75: Line 91:
 When running airodump-ng or aireplay-ng's test attack, you can notice PWR readings in the range 150~250. This is due to mac80211 returning the signal strength values in dBm, which is almost always a negative number, and aircrack-ng treats the negative reading incorrectly. This is fixed in the latest SVN trunk, where airodump-ng shows signal strength correctly in dBm. When running airodump-ng or aireplay-ng's test attack, you can notice PWR readings in the range 150~250. This is due to mac80211 returning the signal strength values in dBm, which is almost always a negative number, and aircrack-ng treats the negative reading incorrectly. This is fixed in the latest SVN trunk, where airodump-ng shows signal strength correctly in dBm.
  
-Fix: Upgrade to aircrack-ng v1.0-rc2.+Fix: Upgrade to aircrack-ng v1.0-rc2 or better.
mac80211.txt · Last modified: 2017/01/09 21:44 by mister_x