User Tools

Site Tools


iwlagn

Differences

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

Link to this comparison view

Next revision
Previous revision
iwlagn [2008/11/27 17:22]
netrolller3d created
iwlagn [2017/01/09 21:34] (current)
mister_x Mark page as deprecated.
Line 1: Line 1:
-====== ​iwlagn ====== +====== ​DEPRECATED ​======
-====== Intel Wireless WiFi Link 4965AGN/​5xxxAGN ​======+
  
-The first reported success and how to do it is in [[http://tinyshell.be/aircrackng/​forum/​index.php?​topic=2898.msg20609#​msg20609|this thread message]].+**IMPORTANT NOTE**: This page is deprecated, updated documentation can be found [[install_drivers|here]] 
 + 
 +====== iwlagn ====== 
 +====== Intel Wireless (WiMax/)WiFi Link 4965AGN/51x0AGN, Intel Ultimate-N (WiMax/)WiFi Link 53x0AGN ======
  
-A more recent ​success ​story is in [[http://​tinyshell.be/​aircrackng/forum/index.php?​topic=3954.0|this thread]] including detailed steps. ​ This [[http://​tinyshell.be/​aircrackng/​forum/​index.php?​topic=3775.0|one]] summarizes the the steps for Ubuntu 8.04. Another [[http://​tinyshell.be/​aircrackng/​forum/​index.php?​topic=2898.msg21353#msg21353|one]].+The first reported ​success ​and how to do it is in [[http://​forum.aircrack-ng.org/​index.php?​topic=2898.msg20609#msg20609|this thread message]].
  
 +A more recent success story is in [[http://​forum.aircrack-ng.org/​index.php?​topic=3954.0|this thread]] including detailed steps. ​ This [[http://​forum.aircrack-ng.org/​index.php?​topic=3775.0|one]] summarizes the the steps for Ubuntu 8.04. Another [[http://​forum.aircrack-ng.org/​index.php?​topic=2898.msg21353#​msg21353|one]].
  
 ====== Detailed HowTo ====== ====== Detailed HowTo ======
-FIXME This needs updating! 
  
 This is how you can get the Intel WiFi Link 4965AGN/​5xxxAGN card to inject under Linux using the iwlwifi drivers. Please note that the injection is still under development,​ but is possible at this point. Fake auth doesn'​t work but there'​s a workaround: using wpa_supplicant. Deauth seems to be buggy. This is how you can get the Intel WiFi Link 4965AGN/​5xxxAGN card to inject under Linux using the iwlwifi drivers. Please note that the injection is still under development,​ but is possible at this point. Fake auth doesn'​t work but there'​s a workaround: using wpa_supplicant. Deauth seems to be buggy.
Line 15: Line 17:
   * **a kernel of 2.6.25 or higher**,   * **a kernel of 2.6.25 or higher**,
   * the kernel sources,   * the kernel sources,
-  * the compat-wireless-2.6 package, +  * the compat-wireless-2.6 package ​(for 2.6.27 and up) or the compat-wireless-old package (for 2.6.25/​2.6.26)
-  * aircrack-ng ​(=''''>​ RC1),+  * aircrack-ng =''''>​ RC1 (=''''>​ SVN rev. 1531 if you want to use fakeauth),
   * basic development tools (make, gcc, ...),   * basic development tools (make, gcc, ...),
-  * injection patches for the drivers.+  * injection patches for mac80211 (all kernels) and the drivers ​(only for 2.6.25/​.2.6.26).
  
 Please note that the instructions provided here are suited for generic Linux. Your distribution,​ especially if it uses some kind of advanced package managing (Debian, Ubuntu, etc.), may have the needed packages in its repositories (so that you don't need to compile them manually from source). Please note that the instructions provided here are suited for generic Linux. Your distribution,​ especially if it uses some kind of advanced package managing (Debian, Ubuntu, etc.), may have the needed packages in its repositories (so that you don't need to compile them manually from source).
- 
  
 ===== Preparing the kernel ===== ===== Preparing the kernel =====
Line 32: Line 33:
    [*] Wireless extensions    [*] Wireless extensions
    [M] Generic IEEE 802.11 Networking Stack (mac80211)    [M] Generic IEEE 802.11 Networking Stack (mac80211)
 +
 +If they exist, these should be either unchecked or modularized:​
 +
    [M] Generic IEEE 802.11 Networking Stack (DEPRECATED)    [M] Generic IEEE 802.11 Networking Stack (DEPRECATED)
    ​[M] ​  IEEE 802.11 WEP encryption (802.1x)    ​[M] ​  IEEE 802.11 WEP encryption (802.1x)
Line 39: Line 43:
  
 You must also enable "​Automatic kernel module loading"​ under "​Loadable module support",​ otherwise you will have module dependency errors. You must also enable "​Automatic kernel module loading"​ under "​Loadable module support",​ otherwise you will have module dependency errors.
 +
 +**If you are running a distro-supplied kernel, and find that these options are not configured as described here, then you will need to recompile your kernel with these options corrected. It is not enough to just change these options in the kernel configuration,​ as you need these options to be true for the running kernel.**
  
 At this point, it is assumed that you've got your kernel properly configured, up and running right now. At this point, it is assumed that you've got your kernel properly configured, up and running right now.
Line 46: Line 52:
 The development versions of the drivers are a part of the compat-wireless project. We will need the latest version of the package, which can be obtained here: The development versions of the drivers are a part of the compat-wireless project. We will need the latest version of the package, which can be obtained here:
  
-   ​http://​www.linuxwireless.org/​en/​users/​Download+   ​http://​wireless.kernel.org/​en/​users/​Download 
 + 
 +Select compat-wireless-2.6 if you are using 2.6.27 or newer, or compat-wireless-old if you are using 2.6.25 or 2.6.26. Download the tarball to your home directory. Having downloaded it, we need to download the patches for the iwlwifi drivers (only for 2.6.25/.26) and the frag+ack patch for mac80211. The frag+ack patch is available on http://​patches.aircrack-ng.org (get the 2.6.28-rc4-wl version for 2.6.27+ and the 2.6.26-wl version for 2.6.25/​.26). The driver patch (not needed for 2.6.27 and up) is available here : http://​pastebin.com/​f7bc96631. 
 + 
 +Then, execute these commands:
  
-Download it to your home directoryHaving downloaded it, we need to download the patches for the iwlwifi drivers and the fragmentation patch for mac80211The latter is available on http://patches.aircrack-ng.org ​(get the 2.6.26-wl version). The first one, however, is available here http://​pastebin.com/​f7bc96631.+2.6.25/.26 (not sure if this is still correct):
  
    cd ~    cd ~
-   tar xjf compat-wireless-2.6.tar.bz2 +   tar xjf compat-wireless-old.tar.bz2 
-   cd compat-wireless-2008-* +   cd compat-wireless-old-2009-* 
-   wget http://​pastebin.com/​pastebin.php?​dl=f7bc96631 -O iwl4965-injection.patch+   wget http://​pastebin.com/​pastebin.php?​dl=f7bc96631 -O iwlagn-injection.patch
    wget http://​patches.aircrack-ng.org/​mac80211_2.6.26-wl_frag.patch    wget http://​patches.aircrack-ng.org/​mac80211_2.6.26-wl_frag.patch
-   patch -p1 < iwl4965-injection.patch+   patch -p1 < iwlagn-injection.patch
    patch -p1 < mac80211_2.6.26-wl_frag.patch    patch -p1 < mac80211_2.6.26-wl_frag.patch
-   make +   ​make ​-j4
-   make install [as root!]+
    make unload; rmmod ssb mac80211 cfg80211 [as root!]    make unload; rmmod ssb mac80211 cfg80211 [as root!]
 +   make install [as root!]
 +   echo options iwlagn swcrypto=1 >> /​etc/​modprobe.d/​options [as root!]
    make load [as root!]    make load [as root!]
-   echo options ​iwl4965 ​swcrypto=1 >> /​etc/​modprobe.d/​options [as root!]+ 
 +2.6.27 and up: 
 + 
 +   cd ~ 
 +   tar xjf compat-wireless-2.6.tar.bz2 
 +   cd compat-wireless-2009-* 
 +   wget http://​patches.aircrack-ng.org/​mac80211_2.6.28-rc4-wl_frag+ack_v3.patch 
 +   patch -p1 < mac80211_2.6.28-rc4-wl_frag+ack_v3.patch 
 +   wget http://​patches.aircrack-ng.org/​mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch 
 +   patch -p1 < mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch 
 +   make -j4 
 +   make unload [as root!] 
 +   make install [as root!] 
 +   echo options ​iwlagn ​swcrypto=1 >> /​etc/​modprobe.d/​options [as root!] 
 +   make load [as root!] 
 + 
 +NOTE: mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch is not needed in the bleeding-edge compat-wireless-2.6,​ only in 2.6.29/​2.6.30/​compat-wireless-2.6.30.
  
 That should get you the patched driver module up and running, you should also see "​wlan0"​ and "​wmaster0"​ as your interfaces, the first one should also be available by using iwconfig. That should get you the patched driver module up and running, you should also see "​wlan0"​ and "​wmaster0"​ as your interfaces, the first one should also be available by using iwconfig.
Line 77: Line 104:
    ​Interface Chipset Driver    ​Interface Chipset Driver
        
-   ​wlan0 Intel 4965 a/b/​g/​n iwl4965 ​- [phy0]+   ​wlan0 Intel 4965/5xxx iwlagn ​- [phy0]
  (monitor mode enabled on mon0)  (monitor mode enabled on mon0)
  
 If that's how it looks, you're good to go. The mon0 interface can be used for both listening with airodump-ng and injecting with aireplay-ng. If that's how it looks, you're good to go. The mon0 interface can be used for both listening with airodump-ng and injecting with aireplay-ng.
- 
iwlagn.1227802945.txt.gz · Last modified: 2008/11/27 17:22 by netrolller3d