r8187
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
r8187 [2008/11/18 22:56] – fix for "asm/semaphore.h: No such file or directory" compile error message darkaudax | r8187 [2009/10/10 13:24] – Updated for rtl8187_2.6.27.patch patch darkaudax | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== General ====== | ====== General ====== | ||
- | The r8187 driver works properly for the Realtek RTL8187L chipset. | + | The r8187 driver works properly for the Realtek RTL8187L chipset. |
- | This page only deals with the ieee80211 version of the r8187 driver. For the mac80211 rtl8187 version see the [[mac80211|mac80211 | + | This page only deals with the ieee80211 version of the r8187 driver. For the mac80211 rtl8187 version see the [[rtl8187|rtl8187 |
**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:// |
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 |
make | make | ||
make install | make install | ||
Line 28: | Line 27: | ||
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 51: | ||
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 70: | ||
| | ||
- | |||
===== 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 84: | ||
In both cases, reboot your system afterwards. | In both cases, reboot your system afterwards. | ||
- | |||
===== "sh wlan0up" | ===== "sh wlan0up" | ||
Line 177: | Line 167: | ||
Change "/ | Change "/ | ||
- | |||
===== " | ===== " | ||
Line 196: | Line 185: | ||
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 207: | Line 194: | ||
* Having legacy USB support enabled in your BIOS. Try disabling this option. | * Having legacy USB support enabled in your BIOS. Try disabling this option. | ||
- | **Note:** VMWare Workstation | + | **Note:** VMWare Workstation |
Line 239: | Line 226: | ||
===== 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 253: | Line 238: | ||
* 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 270: | Line 279: | ||
===== " | ===== " | ||
- | 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 293: | Line 302: | ||
#include < | #include < | ||
#endif | #endif | ||
- | |||
====== Limitations ====== | ====== Limitations ====== | ||
Line 300: | Line 308: | ||
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 ===== |
r8187.txt · Last modified: 2017/01/09 21:35 by mister_x