Aircrack Rtl 8187
I found this: But it's out of date. In the comments, they say to use patch for the 2.6.32 kernel.
I'm not really sure how to do this myself, and even if I do get the driver patched, I'm not sure how to use the patched driver instead of the one the is automatically loaded at boot. Also, of course, this is just for fun -- something for me to do. I want to see how secure my network is, and this is a decent moment to learn. And it would be great to patch it myself whenever I need to during kernel upgrades and not have to rely on the AUR (which is currently out of date) Thanks for any help, Last edited by XtrmGmr99 (2010-03-02 02:38:06). ==>Validating source files with md5sums. Passed rtl8187_2.6.32.patch. Passed rtl8187-ng-2.6.31.patch.
Passed patch-kernel-2.6.31.patch. Passed ==>Extracting Sources. ->Extracting rtl8187_linux_26.1010.zip with bsdtar ==>Entering fakeroot environment. ==>Starting build(). Patching file beta-8187/r8187.h Hunk #1 succeeded at 43 with fuzz 2 (offset 1 line).
Patching file beta-8187/r8187.h Hunk #1 FAILED at 43. 1 out of 1 hunk FAILED -- saving rejects to file beta-8187/r8187.h.rej patching file beta-8187/r8187_core.c Hunk #1 FAILED at 1893. Hunk #2 succeeded at 2387 (offset -210 lines). Hunk #3 FAILED at 2635. 2 out of 3 hunks FAILED -- saving rejects to file beta-8187/r8187_core.c.rej patching file ieee80211/ieee80211_module.c Hunk #1 FAILED at 117.
1 out of 1 hunk FAILED -- saving rejects to file ieee80211/ieee80211_module.c.rej patching file ieee80211/ieee80211_rx.c Hunk #1 FAILED at 104. 1 out of 1 hunk FAILED -- saving rejects to file ieee80211/ieee80211_rx.c.rej patching file ieee80211/ieee80211_tx.c Hunk #1 FAILED at 511. 1 out of 1 hunk FAILED -- saving rejects to file ieee80211/ieee80211_tx.c.rej ==>ERROR: Build Failed. And, like I said, I've tried various combinations with various outputs -- but they all fail one way or another. =/ Last edited by XtrmGmr99 (2010-02-28 20:30:00). I think what you did wrong was you replaced rtl8187_2.6.27.patch with rtl8187_2.6.32.patch, when you should have replaced rtl8187-ng-2.6.31.patch with rtl8187_2.6.32.patch. You could try following this guide on the aircrack wiki, I tried it there and it seemed to compile and install anyway.
Maintainer: nofxx pkgname=rtl8187-ng pkgver=1010 pkgrel=3 kernver=`uname -r` pkgdesc='Drivers for Realtek RTL8187l Wifi card - Aircrack-ng patched (Monitor/Injection)' arch=('i686' 'x86_64') url='license=('GPL') depends=('kernel26') provides=('rtl-wifi').
Make sure you have installed though, pacman -Sy kernel26-headers Wouldn't compile for me until I installed them. I don't know if it actually works, don't have time to test injection but it installs without errors anyway. Also, it seems that it is possible to do injection without patching. I just realised I never gave you the link for the aircrack guide, sorry!
The guide I was talking about anyway was in case someone else needs it. Imation D20 Disc Publisher Software. I think maybe the r8187 is the ieee80211 driver and the rtl8187 is the mac80211 driver. I tried injection last night, didn't seem to work for me using the r8187 one from that link.
It monitors fine in airodump though. Maybe it's loading the mac80211 default driver instead of the iee80211 driver, I might need to blacklist it. Which one worked for you? I have a feeling my usb adapter could be broken though, it's old enough. Last edited by dioltas (2010-03-02 13:24:57).