zd1211rw-mac80211
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
zd1211rw-mac80211 [2009/05/18 17:16] – darkaudax | zd1211rw-mac80211 [2009/08/14 19:17] – use dokuwiki internal link mister_x | ||
---|---|---|---|
Line 9: | Line 9: | ||
//Tutorial taken from http:// | //Tutorial taken from http:// | ||
- | This tutorial will explain how to achieve injection under linux with the Zydas 1211 and 1211b chip, seen nowadays on many USB Wireless devices. It's currently only being tested under Ubuntu 9.04, but it should work with the majority of the latest kernels and various distributions. | + | This tutorial will explain how to achieve injection under linux with the Zydas 1211 and 1211b chip (also known as AR5007UG) |
We will not be compiling our kernel in order to gain injection, instead we'll opt for compat-wireless. Let's begin with the steps. | We will not be compiling our kernel in order to gain injection, instead we'll opt for compat-wireless. Let's begin with the steps. | ||
1. Go to http:// | 1. Go to http:// | ||
- | 2. Next up, cd to your / | + | 2. Next up, cd to your / |
3. Apply the patch by patch -Np0 -i zd1211rw_inject_2.6.26.patch. If successful, the screen will return: | 3. Apply the patch by patch -Np0 -i zd1211rw_inject_2.6.26.patch. If successful, the screen will return: | ||
Line 21: | Line 21: | ||
Hunk #2 succeeded at 666 (offset -18 lines). | Hunk #2 succeeded at 666 (offset -18 lines). | ||
- | Note: the zd1211rw_inject_2.6.26.patch | + | 4. Apply the mac80211 patch by: patch -Np1 -i mac80211_2.6.28-rc4-wl_frag+ack_v3.patch. A successful |
- | 4. Patch mac80211 as described | + | Note: the zd1211rw_inject_2.6.26.patch and mac80211_2.6.28-rc4-wl_frag+ack_v3.patch files must be in your compat-wireles-xxxx-xx-xx directory while patching, otherwise you will be asked to provide the full path of the file which needs to be patched, example: / |
5. The injection patch now is applied and we are ready to compile our driver, type make for the process to begin and wait for few minutes to complete. | 5. The injection patch now is applied and we are ready to compile our driver, type make for the process to begin and wait for few minutes to complete. | ||
Line 29: | Line 29: | ||
7. Now that the newly compiled driver is installed, we are ready to use it but before that we have to unload the old driver by typing make unload | 7. Now that the newly compiled driver is installed, we are ready to use it but before that we have to unload the old driver by typing make unload | ||
8. To load the new driver, you could either issue make load, or modprobe zd1211rw | 8. To load the new driver, you could either issue make load, or modprobe zd1211rw | ||
- | 9. That's it. This concludes the zd1211 injection tutorial. You should now be able to inject. Test your USB device, by setting it to monitor mode (airmon-ng) | + | 9. That's it! This concludes the zd1211 injection tutorial. You should now be able to inject. Test your USB device, by setting it to monitor mode (airmon-ng) |
- | # aireplay-ng -9 mon0 | + | # aireplay-ng -9 mon0 |
- | 14: | + | |
- | 14: | + | |
- | 14: | + | |
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | Known issues at this point: | ||
+ | -Unsupported fragmentation attack. | ||
+ | -Inactive singal power levels. | ||
+ | |||
+ | Feedback and notes welcome. | ||
- | 14: | ||
- | 14: | ||
- | 14: | ||
- | 14: |