Aircrack-ng
Welcome, Guest. Please login or register.
February 09, 2010, 04:48:42 am

Login with username, password and session length
Search:     Advanced search
Aircrack-ng 1.0 released. See News board.
31095 Posts in 5430 Topics by 14833 Members
Latest Member: Salgawitiadia
* Home Help Search Login Register
+  Aircrack-ng
|-+  Members only
| |-+  Hardware
| | |-+  About rtl8187 patch v3
« previous next »
Pages: 1 2 3 [4] 5 Print
Author Topic: About rtl8187 patch v3  (Read 9115 times)
darkAudax
Administrator
Hero Member
*****
Posts: 5597


Re: About rtl8187 patch v3
« Reply #45 on: May 30, 2007, 10:33:07 pm »

knotty66,

I retested a minute ago.  It works.

I am using the driver (1010) referenced on the wiki plus the v4 patch.  http://aircrack-ng.org/doku.php?id=r8187

d.



darkAudax

Thanks for your helpful reply!  Smiley

I have tried V3 and V4 of the patch so far and following your advice I get 'link..' .. but never 'linked'.

I've tried doing things through the GUI wireless assistant in backtrack too and it times out during connection in the same way, it works fine in OSX and XP of course.

Do you remember which version of the patch and driver you were using when you got dhcp to work ?

Cheers, Knotty66

Logged
crys
Newbie
*
Posts: 1


Re: About rtl8187 patch v3
« Reply #46 on: June 01, 2007, 09:52:34 am »

What is the difference between the driver at aircrack and the one that is in the mm-patchset (2.6.22-rc3-mm1 I think)? Is the injection-patch included in the mm-driver? If not, will it ever be included into the vanilla kernel?

Chris
Logged
darkAudax
Administrator
Hero Member
*****
Posts: 5597


Re: About rtl8187 patch v3
« Reply #47 on: June 01, 2007, 02:31:41 pm »

crys,

Get the two sources and do a diff to figure it out yourself.

d.
Logged
pilotsnipes
Jr. Member
**
Posts: 57


Re: About rtl8187 patch v3
« Reply #48 on: June 01, 2007, 10:34:37 pm »

Following the new install instructions should put the modules into the correct locations and be loaded at boot time.  You should not really have to run the script.  Maybe investigate what is happening on your PC.


Just noticed someone else having exactly the same problem as I was the other day in not being able to associate. I'll have to take a look into this a bit more, but what should I look at - the wlan0up routines or what airmon-ng is doing?

http://forums.remote-exploit.org/showthread.php?p=29763#post29763
Logged
darkAudax
Administrator
Hero Member
*****
Posts: 5597


Re: About rtl8187 patch v3
« Reply #49 on: June 01, 2007, 10:50:27 pm »

pilotsnipes,

The new patch has a "make install".  Just run that and the modules should be installed so they load at boot up.

If in doubt, you can compare all the loaded modules when associated with wlan0up script.

d.
Logged
pilotsnipes
Jr. Member
**
Posts: 57


Re: About rtl8187 patch v3
« Reply #50 on: June 01, 2007, 11:14:27 pm »

I definately DID execute a make install command....

I'll play about Smiley
Logged
pilotsnipes
Jr. Member
**
Posts: 57


Re: About rtl8187 patch v3
« Reply #51 on: June 26, 2007, 02:09:03 pm »

Hirte

The new rtl8187_2.6.21v4.patch , is this likely to replace the rtl8187_2.6.21v3.patch which comes with air-crack 0.9.1 ?

What fixes are in it? I see you wrote "sensitivity" as the reason for the 499 update, can you expland on that? Thanks for your continued development.
Logged
ratze
Full Member
***
Posts: 156


Re: About rtl8187 patch v3
« Reply #52 on: June 26, 2007, 02:33:49 pm »

Chopchop works again. If this was the target: Well done Smiley

Thanks for all the good work.
Logged
Hirte
Sr. Member
****
Posts: 265


Re: About rtl8187 patch v3
« Reply #53 on: June 26, 2007, 02:41:27 pm »

hi pilotsnipes,

yes, 21v4 replaces the previous 21v3 (which is in 0.9.1).

There is just one change, a fix for a sensitivity issue, which got introduced in 20v4 thru a backport from the newer (but broken) 1025 driver.
The result was, that packets/frames with a very weak signal were ignored by the firmware, because of a too high threshold value. This is fixed and the sensitivity is now back to the original value.

Hirte

The new rtl8187_2.6.21v4.patch , is this likely to replace the rtl8187_2.6.21v3.patch which comes with air-crack 0.9.1 ?

What fixes are in it? I see you wrote "sensitivity" as the reason for the 499 update, can you expland on that? Thanks for your continued development.
Logged
pilotsnipes
Jr. Member
**
Posts: 57


Re: About rtl8187 patch v3
« Reply #54 on: June 26, 2007, 02:55:57 pm »

Excellent.

Off to compile again!.......
Logged
pilotsnipes
Jr. Member
**
Posts: 57


Re: About rtl8187 patch v3
« Reply #55 on: June 26, 2007, 05:10:58 pm »

Hirte

2 Questions

1) Are you ok with me "distributing" the compiled verisons of Aircrack and the rtl8187 in a zip file?  (http://forums.remote-exploit.org/showthread.php?t=6784)

2) As per svn 501, where you have fixed a couple of typos

From:
+rmmor rtl8187 2>/dev/null
To:
+rmmod rtl8187 2>/dev/null

Is anything nasty going to happen if I don't re-compile again!? I just released the last verison 1 hour ago...don't want to confuse people with a new version if it won;t effect anything...

Thanks alot.
Logged
Hirte
Sr. Member
****
Posts: 265


Re: About rtl8187 patch v3
« Reply #56 on: July 02, 2007, 03:15:30 pm »

hey pilotsnipes,

sorry for waiting, i just saw your post...

1) As long as the compiled version doesn't differ from the source available here and you include where to get the source, its ok. Sure, you can include the compiled r8187 driver. (Also include a link on how you build it, preferable the wiki)

2) There are no nasty things, you can still use the same version, just small changes... Otherwise i would release a new version.

sure, have fun.
Logged
JMagick
Newbie
*
Posts: 5


Re: About rtl8187 patch v3
« Reply #57 on: August 12, 2007, 05:21:29 pm »

Hi guys i have i am just trying to get my ALFA Networks AWUS036H working with aircrack-ng and kismet in backtrack have tried the easy modules by pilotsnipes listed on the backtrack forum for live cd but couldnt get the card working properly. i have now installed a hardrive install of bt2 using vmware hoping that i can install the drivers manually however im having some problems :

i tried using this to install the drivers on my clean hd install of backtrack 2 on vmware.

ifconfig wlan0 down   
rmmod r8187.ko   
rmmod ieee80211-rtl.ko   
rmmod ieee80211_crypt_ccmp-rtl.ko   
rmmod ieee80211_crypt_tkip-rtl.ko   
rmmod ieee80211_crypt_wep-rtl.ko   
rmmod ieee80211_crypt-rtl.ko
wget ftp://220.228.150.22/cn/wlan/rtl8187_linux_26.1010.zip
unzip rtl8187_linux_26.1010.zip
cd rtl8187_linux_26.1010.0622.2006/
wget http://patches.aircrack-ng.org/rtl8187_2.6.20v4.patch
tar xzf drv.tar.gz
tar xzf stack.tar.gz
patch -Np1 -i rtl8187_2.6.20v4.patch
make
make install


but the link to the http://patches.aircrack-ng.org/rtl8187_2.6.20v4.patch is broken so i tried raplacing it with the latest rtl8187 which seems to be the rtl8187_2.6.22.patch?? ok so this is how i tried to install it:

ifconfig wlan0 down   
rmmod r8187.ko   
rmmod ieee80211-rtl.ko   
rmmod ieee80211_crypt_ccmp-rtl.ko   
rmmod ieee80211_crypt_tkip-rtl.ko   
rmmod ieee80211_crypt_wep-rtl.ko   
rmmod ieee80211_crypt-rtl.ko
wget ftp://220.228.150.22/cn/wlan/rtl8187_linux_26.1010.zip
unzip rtl8187_linux_26.1010.zip
cd rtl8187_linux_26.1010.0622.2006/
wget http://patches.aircrack-ng.org/rtl8187_2.6.22.patch
tar xzf drv.tar.gz
tar xzf stack.tar.gz
patch -Np1 -i rtl8187_2.6.22.patch
make
make install


but then after i install when i try and wlan0up it says permission denied and when i type in sh wlan0up i get this and the alfa does not work.

rtl8187_linux_26.1010.0622.2006 # sh wlan0up
insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
insmod: can't read 'r8187.ko': No such file or directory
wlan0: ERROR while getting interface flags: No such device

i have tried moving these files to various locations but i still cant get it to work .. i am new to backtrack and linux but have been trying to get this working for a few days now and nothing i do seems to get it working i bought the card hoping it would be easy with the modules but couldnt it working. however now i think about it i would prefer to install the drivers manually as i want to run a vmware hd install of bt2 so that i dont have to keep changing the kismet.conf etc. could someone help me please? as you can tell i am not exactly sure of what im doing just trying to work stuff out. if someone could write a straight forward way for me to install the latest drivers for the alfa on bt2 i would be very happy indeed as i have been scratching my head for days Huh
« Last Edit: August 12, 2007, 05:31:58 pm by JMagick » Logged
ratze
Full Member
***
Posts: 156


Re: About rtl8187 patch v3
« Reply #58 on: August 12, 2007, 05:42:19 pm »

Two things to try:

If you installed 1.0-dev: airdriver-ng install r8187
If you installed linux only because of aircrack: Use my vm inside windows. It runs the 8187 right out of the box.
Logged
JMagick
Newbie
*
Posts: 5


Re: About rtl8187 patch v3
« Reply #59 on: August 12, 2007, 05:48:07 pm »

Two things to try:

If you installed 1.0-dev: airdriver-ng install r8187
If you installed linux only because of aircrack: Use my vm inside windows. It runs the 8187 right out of the box.

Thanks for the fast reply ratze not sure if i have installed the 1.0-dev: airdriver-ng? as i say im a complete noob ..just trying to use some initiative not really sure what im doing so  your vm sounds like it might be good for me where can i find and download it? do i just open it in vmware? then once its booted plug in the alfa? again thanks for the reply im feeling kinda lost at the moment. Smiley
Logged
Pages: 1 2 3 [4] 5 Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Aircrack-ng | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!