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/07/12 23:22] – Specified the driver is for the Realtek RTL8187L chipset darkaudax | r8187 [2009/10/11 15:22] – Documented WPA/WPA2 fails in managed mode limitation darkaudax | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== General ====== | ====== General ====== | ||
- | This page only deals with the ieee80211 version of the r8187 driver. | + | 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 [[rtl8187|rtl8187 | ||
**IMPORTANT**\\ | **IMPORTANT**\\ | ||
Line 8: | Line 10: | ||
====== R8187 ====== | ====== R8187 ====== | ||
- | rmmod the rtl8187 | + | rmmod the r8187 and rtl8187 |
ifconfig wlan0 down | ifconfig wlan0 down | ||
- | rmmod rtl8187 | + | rmmod r8187 rtl8187 |
wget http:// | wget http:// | ||
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 25: | 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 52: | 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 71: | 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 ===== | ||
If you have the file rtl8187.ko in the / | If you have the file rtl8187.ko in the / | ||
- | * Move the file to another area on your system as follows then do " | + | * Move the file to another area on your system as follows then do " |
* Edit / | * Edit / | ||
In both cases, reboot your system afterwards. | In both cases, reboot your system afterwards. | ||
- | |||
===== "sh wlan0up" | ===== "sh wlan0up" | ||
Line 96: | Line 90: | ||
Solution:\\ | Solution:\\ | ||
Make sure your ieee80211 stack is built as a module and remove all those modules. If it is integrated in the kernel, rebuild your kernel with a modular ieee80211 stack. | Make sure your ieee80211 stack is built as a module and remove all those modules. If it is integrated in the kernel, rebuild your kernel with a modular ieee80211 stack. | ||
+ | |||
===== wlan0 device does not exist message ===== | ===== wlan0 device does not exist message ===== | ||
Line 101: | Line 96: | ||
Solution:\\ | Solution:\\ | ||
- | You sometimes get this message when another driver, which also creates an wlanX interface is loaded before the r8187 driver. Examples: acx111 | + | You sometimes get this message when another driver, which also creates an wlanX interface is loaded before the r8187 driver. Examples: acx111, hostap |
===== Module loading errors ===== | ===== Module loading errors ===== | ||
Line 172: | Line 167: | ||
Change "/ | Change "/ | ||
- | |||
===== " | ===== " | ||
Line 191: | 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 202: | 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 220: | Line 212: | ||
- | And then delete the files. | + | And then delete the files. |
rm -rf / | rm -rf / | ||
Line 234: | 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 244: | Line 235: | ||
The root cause of these messages is not known at this point in time. They can be hidden by the following means: | The root cause of these messages is not known at this point in time. They can be hidden by the following means: | ||
- | * To remove them from the console: "dmesg -2" | + | * To remove them from the console: "dmesg -n2" |
* 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. | ||
+ | |||
+ | ===== " | ||
+ | |||
+ | If you get a series of compile messages similar to " | ||
+ | |||
+ | Use | ||
+ | |||
+ | wget http:// | ||
+ | |||
+ | instead of | ||
+ | |||
+ | wget http:// | ||
+ | |||
+ | in the instructions at the top of the page. | ||
+ | |||
+ | ===== " | ||
+ | |||
+ | See this [[http:// | ||
+ | |||
+ | Please note a repair apparently needed in ' rtl8187_2.6.27.patch' | ||
+ | |||
+ | Unmodified, you will get the following error : | ||
+ | -- output from ' make ' : | ||
+ | ...In file included from / | ||
+ | / | ||
+ | |||
+ | |||
+ | Modification to file r8187.h | ||
+ | lines 46,47 are : | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | overwrite lines 46,47 to this.... | ||
+ | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, | ||
+ | #include < | ||
+ | #include < | ||
+ | #else | ||
+ | #include < | ||
+ | #include < | ||
+ | #endif | ||
====== Limitations ====== | ====== Limitations ====== | ||
Line 253: | 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 ===== | ||
Line 267: | Line 321: | ||
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