iwlagn
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
iwlagn [2008/11/27 17:22] – created netrolller3d | iwlagn [2009/05/12 22:29] – Add a warning to make sure users recompile misconfigured distro kernels. netrolller3d | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== iwlagn ====== | ====== iwlagn ====== | ||
- | ====== Intel Wireless WiFi Link 4965AGN/5xxxAGN | + | ====== Intel Wireless |
- | The first reported success and how to do it is in [[http://tinyshell.be/ | + | The first reported success and how to do it is in [[http://forum.aircrack-ng.org/ |
- | + | ||
- | 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 13: | ||
* **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 29: | ||
[*] 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 39: | ||
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 48: | ||
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: | ||
- | | + | |
- | 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. |
+ | |||
+ | Then, execute these commands: | ||
+ | |||
+ | 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!] | ||
+ | |||
+ | 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 | ||
+ | make -j4 | ||
+ | make unload [as root!] | ||
+ | make install [as root!] | ||
+ | echo options iwlagn swcrypto=1 >> / | ||
make load [as root!] | make load [as root!] | ||
- | echo options iwl4965 swcrypto=1 >> / | ||
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 96: | ||
| | ||
- | | + | |
(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