r8187
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
r8187 [2008/11/28 18:27] – Fix link to the mac80211 driver. netrolller3d | r8187 [2010/02/14 00:01] – Updated for 2.6.32 patch mister_x | ||
---|---|---|---|
Line 7: | Line 7: | ||
**IMPORTANT**\\ | **IMPORTANT**\\ | ||
If you have a new kernel that support mac80211 and includes the new rtl8187 driver then you **MUST** blacklist it otherwise the ieee80211 version of the module below will not work. See [[r8187# | If you have a new kernel that support mac80211 and includes the new rtl8187 driver then you **MUST** blacklist it otherwise the ieee80211 version of the module below will not work. See [[r8187# | ||
- | |||
====== R8187 ====== | ====== R8187 ====== | ||
Line 18: | Line 17: | ||
unzip rtl8187_linux_26.1010.zip | unzip rtl8187_linux_26.1010.zip | ||
cd rtl8187_linux_26.1010.0622.2006/ | cd rtl8187_linux_26.1010.0622.2006/ | ||
- | wget http:// | + | wget http:// |
+ | wget http:// | ||
tar xzf drv.tar.gz | tar xzf drv.tar.gz | ||
tar xzf stack.tar.gz | tar xzf stack.tar.gz | ||
- | patch -Np1 -i rtl8187_2.6.24v3.patch | + | patch -Np1 -i rtl8187_2.6.27.patch |
+ | patch -Np1 -i rtl8187_2.6.32.patch | ||
make | make | ||
make install | make install | ||
Line 28: | Line 29: | ||
Please note that a copy of the patch is also included with the aircrack-ng tar file in the " | Please note that a copy of the patch is also included with the aircrack-ng tar file in the " | ||
- | |||
====== Usage Tips ====== | ====== Usage Tips ====== | ||
- | |||
- | |||
===== Power Settings ===== | ===== Power Settings ===== | ||
Line 55: | Line 53: | ||
You MUST ignore the dBm and mW labels. | You MUST ignore the dBm and mW labels. | ||
- | See this [[http:// | + | See this [[http:// |
===== " | ===== " | ||
Line 74: | Line 72: | ||
| | ||
- | |||
===== Using Unpatched Driver ===== | ===== Using Unpatched Driver ===== | ||
Although it is highly recommended that you patch the driver, it is possible to use the unpatched driver for injection. | Although it is highly recommended that you patch the driver, it is possible to use the unpatched driver for injection. | ||
- | |||
====== Troubleshooting Tips ====== | ====== Troubleshooting Tips ====== | ||
- | |||
- | |||
- | |||
===== Blacklisting mac80211 driver version ===== | ===== Blacklisting mac80211 driver version ===== | ||
Line 93: | Line 86: | ||
In both cases, reboot your system afterwards. | In both cases, reboot your system afterwards. | ||
- | |||
===== "sh wlan0up" | ===== "sh wlan0up" | ||
Line 177: | Line 169: | ||
Change "/ | Change "/ | ||
- | |||
===== " | ===== " | ||
Line 196: | Line 187: | ||
Solution: This typically occurs after you have upgraded your kernel version. Delete the all the patch files and install a fresh version. | Solution: This typically occurs after you have upgraded your kernel version. Delete the all the patch files and install a fresh version. | ||
- | |||
- | |||
- | |||
===== Low injection rates ===== | ===== Low injection rates ===== | ||
Line 240: | Line 228: | ||
===== Optimizing injection rates ===== | ===== Optimizing injection rates ===== | ||
Some people have reported that including "-x 250" on the aireplay-ng command optimizes their injection rates. | Some people have reported that including "-x 250" on the aireplay-ng command optimizes their injection rates. | ||
- | |||
- | |||
===== "SKB BUG" Error Messages ===== | ===== "SKB BUG" Error Messages ===== | ||
Line 254: | Line 240: | ||
* To remove them from system log files, edit / | * To remove them from system log files, edit / | ||
+ | Another more radical approach is to comment out the kernel messages in the kernel source code. This will also mean recompiling your kernel. | ||
+ | |||
+ | Change net/ | ||
+ | |||
+ | void skb_truesize_bug(struct sk_buff *skb) | ||
+ | { | ||
+ | | ||
+ | " | ||
+ | skb-> | ||
+ | } | ||
+ | | ||
+ | |||
+ | to: | ||
+ | |||
+ | void skb_truesize_bug(struct sk_buff *skb) | ||
+ | { | ||
+ | | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | } | ||
+ | | ||
+ | |||
+ | This effectively eliminates the kernel from reporting the SKB BUG messages. | ||
===== " | ===== " | ||
Line 271: | Line 281: | ||
===== " | ===== " | ||
- | See this [[http:// | + | See this [[http:// |
- | Please note a repair apparently needed in ' rtl8187_2.6.7.patch' | + | Please note a repair apparently needed in ' rtl8187_2.6.27.patch' |
Unmodified, you will get the following error : | Unmodified, you will get the following error : | ||
Line 295: | Line 305: | ||
#endif | #endif | ||
+ | |||
+ | ===== Will not compile on kerner 2.6.31 or above ===== | ||
+ | |||
+ | Follow the patching instructions at the top of this page then: | ||
+ | |||
+ | wget http:// | ||
+ | patch -Np1 -i rtl8187-ng-2.6.31.patch | ||
+ | |||
+ | Then proceed with make/make install. | ||
====== Limitations ====== | ====== Limitations ====== | ||
Line 301: | Line 320: | ||
While in monitor mode, airodump-ng will not capture or record any packets injected by the aircrack-ng suite. | While in monitor mode, airodump-ng will not capture or record any packets injected by the aircrack-ng suite. | ||
- | |||
===== Shared Key Authentication fails in managed mode ===== | ===== Shared Key Authentication fails in managed mode ===== | ||
Line 316: | Line 334: | ||
SKA is not currently supported with the RTL8187 driver. There is no known workaround. | SKA is not currently supported with the RTL8187 driver. There is no known workaround. | ||
+ | ===== WPA/WPA2 fails in managed mode ===== | ||
+ | |||
+ | On recent kernels, the patched driver fails to work in normal WPA/WPA2 mode. In this case, use the patched ieee80211 driver for injection and use the mac80211 version for normal WPA/ |
r8187.txt · Last modified: 2017/01/09 21:35 by mister_x