Enable the rtl8187 wireless network adapter to support aircrack-ng injection in Linux 2.6.28 kernel.

Source: Internet
Author: User

 

This document uses Gentoo Linux and the kernel has been upgraded to the latest version as follows:

Crob @ Crob ~ $ Uname-
Linux Crob 2.6.28-Gentoo #34 SMP wed Jan 14 17:00:22 CST 2009 i686 Intel (r) core (TM) 2 Duo CPU t5470 @ 1.60 GHz genuineintel GNU/Linux

 

1. Configure the kernel, select the support for rtl8187 in the kernel, and compile it into a module

Device Drivers --->

Network Device Support --->

Wireless LAN --->

[*] Wireless LAN (IEEE 802.11)

<M> RealTek 8187 and 8187b USB support


2. Download the kernel patch to enable rtl8187 to support injection (injection mode)
Wget http://astray.fragstore.net/apps/mac80211_2.6.28-rc8-wl_frag+ack_radiotap_2.6.28_mod.patch
Wget http://astray.fragstore.net/apps/rtl8187-mac80211-pwr.patch

1. Copy the above two files to the kernel source code directory (usually/usr/src/Linux)
2. Run the following command to check whether the patch is correct.
Patch-Np1 -- dry-run-I rtl8187-mac80211-injection-speed-2.6.28-rc6.patch
Patch-Np1 -- dry-run-I rtl8187-mac80211-pwr.patch
3. If no error occurs in step 1, remove -- dry-run and execute it again.
4. recompile and install the kernel module
Make clean & make modules_install
Copy ARCH/i386/boot/bzimage/boot/Kernel File Name
5. Restart
Note: For kernels earlier than 2.6.28, the following patches may need to be installed. The steps are the same (in the Appendix 1, foreigners say 2.6.28 kernel does not need to be patched)
Wget requests:

 

OK! Now your rtl8187 can support injection, aircrack-ng no problems!

 

Appendix:

1,
Kernel 2.6.28 update patched for ext4 CD upgrade.

Http://forums.remote-exploit.org/showthread.php? T = 19221 & Highlight = rtl8187

Well, as a Sidenote: Generally the patches for mac80211 used in my
Tutorial are generic 2.6.28 fragmentation/ack patches, so they cocould be
Used for this 2.6.28 update CD. The only true Alfa related patches are
Rtl8187-mac80211-injection-speed-2.6.28-rc6.patch and
Rtl8187-mac80211-pwr.patch, which aren't necessary, but useful.

 

2,Alfa awus036h (rtl8187) and Linux kernel 2.6.28-the ultimate Alfa driver
Http://forums.remote-exploit.org/showthread.php? T = 19350 & Highlight = rtl8187

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.