r8187
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| r8187 [2009/04/01 20:40] – fixed typo darkaudax | r8187 [2017/01/09 21:35] (current) – Mark page as deprecated. mister_x | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== DEPRECATED ====== | ||
| + | |||
| + | **IMPORTANT NOTE**: This page is deprecated, updated documentation can be found [[install_drivers|here]] | ||
| + | |||
| ====== General ====== | ====== General ====== | ||
| Line 7: | Line 11: | ||
| **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 21: | ||
| 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 33: | ||
| 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 57: | ||
| 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 76: | ||
| | | ||
| - | |||
| ===== 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 90: | ||
| In both cases, reboot your system afterwards. | In both cases, reboot your system afterwards. | ||
| - | |||
| ===== "sh wlan0up" | ===== "sh wlan0up" | ||
| Line 177: | Line 173: | ||
| Change "/ | Change "/ | ||
| - | |||
| ===== " | ===== " | ||
| Line 196: | Line 191: | ||
| 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 232: | ||
| ===== 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 244: | ||
| * 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 285: | ||
| ===== " | ===== " | ||
| - | See this [[http:// | + | See this [[http:// |
| Please note a repair apparently needed in ' rtl8187_2.6.27.patch' | Please note a repair apparently needed in ' rtl8187_2.6.27.patch' | ||
| Line 295: | Line 309: | ||
| #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 324: | ||
| 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 338: | ||
| 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.1238611228.txt.gz · Last modified: by darkaudax
