zd1211rw-mac80211
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
zd1211rw-mac80211 [2009/08/14 19:17] – use dokuwiki internal link mister_x | zd1211rw-mac80211 [2017/01/09 21:45] (current) – Delete page - links updated mister_x | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======ZyDAS ZD1211/ | ||
- | |||
- | Starting with kernel 2.6.25, [[zd1211rw]] is a mac80211 driver. As a result, the installation/ | ||
- | |||
- | The [[mac80211|usual mac80211 rules]] apply. | ||
- | |||
- | =====Installation and patching===== | ||
- | |||
- | //Tutorial taken from http:// | ||
- | |||
- | This tutorial will explain how to achieve injection under linux with the Zydas 1211 and 1211b chip (also known as AR5007UG) 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. | ||
- | |||
- | 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:// | ||
- | 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: | ||
- | |||
- | patching file drivers/ | ||
- | Hunk #1 succeeded at 191 (offset 32 lines). | ||
- | Hunk #2 succeeded at 666 (offset -18 lines). | ||
- | |||
- | 4. Apply the mac80211 patch by: patch -Np1 -i mac80211_2.6.28-rc4-wl_frag+ack_v3.patch. A successful patching will yield similar output. | ||
- | |||
- | 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. | ||
- | 6. Barring any errors, next up is installing, make install | ||
- | 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 | ||
- | 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 | ||
- | | ||
- | | ||
- | | ||
- | |||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
- | |||
- | Known issues at this point: | ||
- | -Unsupported fragmentation attack. | ||
- | -Inactive singal power levels. | ||
- | |||
- | Feedback and notes welcome. | ||
zd1211rw-mac80211.1250270242.txt.gz · Last modified: 2009/08/14 19:17 by mister_x