iwlagn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
iwlagn [2008/12/11 16:13] – corrected echo option. Now iwlagn. darkaudax | iwlagn [2009/05/25 22:59] – updated which mac80211 patch to user per forum input darkaudax | ||
---|---|---|---|
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 40: | Line 40: | ||
You must also enable " | You must also enable " | ||
- | At this point, it is assumed | + | **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 |
+ | At this point, it is assumed that you've got your kernel properly configured, up and running right now. | ||
===== Compiling the drivers ===== | ===== Compiling the drivers ===== | ||
Line 47: | 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!] | 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.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!] | ||
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 78: | 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