iwlagn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
iwlagn [2009/05/03 23:46] – Update links to forum mister_x | iwlagn [2017/01/09 21:34] (current) – Mark page as deprecated. mister_x | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DEPRECATED ====== | ||
+ | |||
+ | **IMPORTANT NOTE**: This page is deprecated, updated documentation can be found [[install_drivers|here]] | ||
+ | |||
====== iwlagn ====== | ====== iwlagn ====== | ||
- | ====== Intel Wireless WiFi Link 4965AGN/5xxxAGN | + | ====== Intel Wireless |
The first reported success and how to do it is in [[http:// | The first reported success and how to do it is in [[http:// | ||
A more recent success story is in [[http:// | 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, | ||
Line 31: | 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 38: | 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 45: | 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!] | ||
+ | |||
+ | 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 iwlagn swcrypto=1 >> / | echo options iwlagn swcrypto=1 >> / | ||
+ | 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 76: | 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.txt · Last modified: 2017/01/09 21:34 by mister_x