iwlagn
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
iwlagn [2008/11/27 17:22] – created netrolller3d | iwlagn [2017/01/09 21:34] (current) – Mark page as deprecated. mister_x | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ====== Intel Wireless WiFi Link 4965AGN/ | + | |
- | The first reported success and how to do it is in [[http://tinyshell.be/aircrackng/ | + | **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 | + | The first reported |
+ | A more recent success story is in [[http:// | ||
====== Detailed HowTo ====== | ====== Detailed HowTo ====== | ||
- | FIXME This needs updating! | ||
This is how you can get the Intel WiFi Link 4965AGN/ | This is how you can get the Intel WiFi Link 4965AGN/ | ||
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 |
- | * aircrack-ng | + | * aircrack-ng =''''> |
* basic development tools (make, gcc, ...), | * basic development tools (make, gcc, ...), | ||
- | * injection patches for the drivers. | + | * injection patches for mac80211 (all kernels) and the drivers |
Please note that the instructions provided here are suited for generic Linux. Your distribution, | Please note that the instructions provided here are suited for generic Linux. Your distribution, | ||
- | |||
===== 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) | ||
| | ||
Line 39: | Line 43: | ||
You must also enable " | You must also enable " | ||
+ | |||
+ | **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, | ||
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: | ||
- | | + | |
+ | |||
+ | 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:// | ||
+ | |||
+ | Then, execute these commands: | ||
- | Download it to your home directory. Having downloaded it, we need to download the patches for the iwlwifi drivers and the fragmentation patch for mac80211. The latter is available on http://patches.aircrack-ng.org | + | 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:// | + | wget http:// |
wget http:// | wget http:// | ||
- | 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 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 >> / | ||
make load [as root!] | make load [as root!] | ||
- | echo options | + | |
+ | 2.6.27 and up: | ||
+ | |||
+ | cd ~ | ||
+ | tar xjf compat-wireless-2.6.tar.bz2 | ||
+ | cd compat-wireless-2009-* | ||
+ | wget http:// | ||
+ | patch -p1 < mac80211_2.6.28-rc4-wl_frag+ack_v3.patch | ||
+ | wget http:// | ||
+ | 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 | ||
+ | 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, | ||
That should get you the patched driver module up and running, you should also see " | That should get you the patched driver module up and running, you should also see " | ||
Line 77: | Line 104: | ||
| | ||
- | | + | |
(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