Problems with packet injection on Dwl-g122 B1 firmware 1.00

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=3541

gettons

22-03-2007 08:55:45

Hi, I 've just purchased an used usb dongle on ebay and the nic is correctly functional under linux and windows.
I wish to use its packet injection feature, before I used an ASUS 167g with drivers 2570 form here http//www.aircrack-ng.org/doku.php?id=rt2570 , and I was asble of packet injection.

But for my new nic it's a different story...
I have the drivers rt2570 ( the same I used before for Asus 167g succesfully ) and I have used the same for this D-Link product.

I can see the nic correctly with airodump and ifconfig, and airmon-ng and other tools, but I'm not able of packet injection with this usb dongle now.
For example, usually I use a command like this
aireplay-ng --fakeauth 0 -e "ESSID" -a xxxxxxxxxxxx -h xxxxxxxxxxxx rausb0

I use this with gentoo, and I compiled from sources aircrack-ng 0-7 and the drivers from aircrack-ng too http//www.aircrack-ng.org/doku.php?id=rt2570


Perhaps I have to change the drivers?
Shall I update the firmware too? I have the number 1.00


It's so sad because I 've read the " reccomended list " http//www.aircrack-ng.org/doku.php?id= ... ty_drivers of cards and I purchased one of the listed cards, but not succesfully.




P.S. Another strange case is that in this page http//ralink.rapla.net/ I can read that asus 167g , for example, works with drivers Ralink RT2500, according to the title on top of page , but I was able to use it only with drivers rt2570.
I 'm very confused about the name and compaitiblity of the ralink drivers, because somewhere you can read that asus 167g need rt2500 , somewhere instead you need rt2570...



Thanks in advance

serialmonkey

22-03-2007 22:38:51

rt2500 is PCI
rt2570 is USB

The two should never get confused due to that.

We can only help if you are using our CVS drivers. Compile them and make sure you enable packet injection using iwpriv before attemping your aircrack

gettons

23-03-2007 00:30:09

Perhaps I confuse some drivers, so sorry..

I installed rt2570 and the card is correctly found by the system with the name rausb0
I have tried two usb dongle ( the same chipset ) ASUS 167g and DWL-g122 b1

If I scan for APs and Clients, the results are different

on asus I can see two networks and after some seconds, on Dlink I can see only one of those.

For this reason I was asking about drivers, because I thought I was loading an incorrect driver.


Other thing I need to know is ( thank in advance )

1) The CVS drivers ( http//rt2x00.serialmonkey.com/rt2570-cvs-daily.tar.gz ) are already patched for packet injection or not ?

2) What are the differences between the original drivers ( http//www.ralinktech.com/ralink/Home/S ... Linux.html ) and the opensource drivers?

3) Should I use some firmware to upgrade my 1.00 H/W on Dlink dwl-g122 b1 from http//www.ralinktech.com/ralink/Home/S ... Linux.html or not ?


Thanks a lot

Spy84464

23-03-2007 11:50:14

Hello,
1) The CVS drivers ( http//rt2x00.serialmonkey.com/rt2570-cvs-daily.tar.gz ) are already patched for packet injection or not ?[/quote2a6dw4w8]
Yes.
2) What are the differences between the original drivers ( http//www.ralinktech.com/ralink/Home/S ... Linux.html ) and the opensource drivers? [/quote2a6dw4w8]
Our drivers are forked from Ralink's one. Many patches has been applied to increase stability, support recent kernel and add feature like injection.
3) Should I use some firmware to upgrade my 1.00 H/W on Dlink dwl-g122 b1 from http//www.ralinktech.com/ralink/Home/S ... Linux.html or not ? [/quote2a6dw4w8]
These firmware are to be used with rt73, not rt2570.

Regards,
Romain

phe

11-11-2007 20:50:02

[quote3q05a1qx]1) The CVS drivers ( http//rt2x00.serialmonkey.com/rt2570-cvs-daily.tar.gz ) are already patched for packet injection or not ?

Yes.


2) What are the differences between the original drivers ( http//www.ralinktech.com/ralink/Home/S ... Linux.html ) and the opensource drivers?

Our drivers are forked from Ralink's one. Many patches has been applied to increase stability, support recent kernel and add feature like injection.
[/quote3q05a1qx]


Can/may these 2 drivers co-exists on the same system?
How to select the use of one of the other driver (in Fedora 7)?

Spy84464

13-11-2007 18:53:08

Yes, both drivers can co-exist, but only one must be loaded. They have the same name, so the system won't let you load both at the same time anyway, it could be a problem to check which one is being used though.
The easiest way to manage this situation is probably to load the module manually. Skip the "make install" step, so you won't have the system loading a module automatically.