Ok there have been a slew of threads following me posting my driver, but this is going to be an all encompasing guide answering most questions about getting this chipset working properly with BT4 (or any linux 2.6.27+).

One thing to keep in mind is you can find an official, better working driver for this chipset from Ralink's website. This driver DOES support monitor mode but DOESN'T support injection. Seeing as how injection is kind of necessary to the point of thats probably why you got Backtrack, this is the answer for you .

Other things to note: If you are using BT3 and wish to get the card working, you can use the hirte driver located here:
http://hirte.aircrack-ng.org/rt2870-...-hirte.tar.bz2

This driver will work perfectly for BT3. If you are using BT3 and it does not work, please follow my instructions below on how to add your device ID to the driver.

Another note: The rt2870-nemesis driver is simply the hirte driver with the deviceID for a linksys wusb card, so unless you have the card, and are using BT3, its useless.


On to getting this thing working in BT4beta:

go here to get my driver rt2870-2.6.28-apocolipse.tar.gz:
rt2870-2.6.28-apocolipse.tar.gz - FileFactory

once you get this extract it with your preferred method.


Section: Editing the rt2870.h file
This section is important to both BT3 with the hirte driver, and BT4beta with my driver (or any other distro with kernel 2.6.27+).
The first thing you need to do is open up a terminal, then issue the following commands:

Code:
:-$ cd rt2870-2.6.27-apocolipse                   (assuming you are in its parent directory)
:-$ cd include
:-$ lsusb
Bus 001 Device 002: ID 1058:0701 Western Digital Technologies, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Bus 004 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0E66:0009 Hawking Technologies, Inc   <------The line for my device
The last line for me is my device, find the deviceID for your device accordingly. The ID is the 8 digit hex address, in my case it is "0E66:0009", yours WILL be different (unless you have a HWUN2 from Hawking Technologies)

Now we're going to edit the include file to add the new device entry. to do this type:
(rt2870-2.6.27-apocolipse/include folder still assumed)
Code:
:-$  nano rt2870.h
Now, navigate down in this file untill you see a section that looks like this:
Code:
#define RT2870_USB_DEVICES	\
{	\
	{USB_DEVICE(0x148F,0x2770)}, /* Ralink */		\
	{USB_DEVICE(0x148F,0x2870)}, /* Ralink */		\
	{USB_DEVICE(0x0B05,0x1731)}, /* Asus */			\
	{USB_DEVICE(0x0B05,0x1732)}, /* Asus */			\
	{USB_DEVICE(0x0B05,0x1742)}, /* Asus */			\
	{USB_DEVICE(0x0DF6,0x0017)}, /* Sitecom */		\
	{USB_DEVICE(0x0DF6,0x002B)}, /* Sitecom */		\
	{USB_DEVICE(0x0DF6,0x002C)}, /* Sitecom */		\
	{USB_DEVICE(0x0DF6,0x002D)}, /* Sitecom */		\
	{USB_DEVICE(0x14B2,0x3C06)}, /* Conceptronic */		\
	{USB_DEVICE(0x14B2,0x3C28)}, /* Conceptronic */		\
	{USB_DEVICE(0x2019,0xED06)}, /* Planex Communications, Inc. */		\
	{USB_DEVICE(0x07D1,0x3C09)}, /* D-Link */		\
	{USB_DEVICE(0x14B2,0x3C07)}, /* AL */			\
	{USB_DEVICE(0x050D,0x8053)}, /* Belkin */		\
	{USB_DEVICE(0x14B2,0x3C23)}, /* Airlink */		\
	{USB_DEVICE(0x14B2,0x3C27)}, /* Airlink */		\
	{USB_DEVICE(0x07AA,0x002F)}, /* Corega */		\
	{USB_DEVICE(0x07AA,0x003C)}, /* Corega */		\
	{USB_DEVICE(0x07AA,0x003F)}, /* Corega */		\
	{USB_DEVICE(0x1044,0x800B)}, /* Gigabyte */		\
	{USB_DEVICE(0x15A9,0x0006)}, /* Sparklan */		\
	{USB_DEVICE(0x083A,0xB522)}, /* SMC */			\
	{USB_DEVICE(0x083A,0xA618)}, /* SMC */			\
	{USB_DEVICE(0x083A,0x7522)}, /* Arcadyan */		\
	{USB_DEVICE(0x0CDE,0x0022)}, /* ZCOM */			\
	{USB_DEVICE(0x0586,0x3416)}, /* Zyxel */		\
	{USB_DEVICE(0x0CDE,0x0025)}, /* Zyxel */		\
	{USB_DEVICE(0x1740,0x9701)}, /* EnGenius */		\
	{USB_DEVICE(0x1740,0x9702)}, /* EnGenius */		\
	{USB_DEVICE(0x0471,0x200f)}, /* Philips */		\
	{USB_DEVICE(0x14B2,0x3C25)}, /* Draytek */		\
	{USB_DEVICE(0x13D3,0x3247)}, /* AzureWave */	\
	{USB_DEVICE(0x083A,0x6618)}, /* Accton */		\
	{USB_DEVICE(0x15c5,0x0008)}, /* Amit */			\
	{USB_DEVICE(0x0E66,0x0001)}, /* Hawking */		\
	{USB_DEVICE(0x0E66,0x0003)}, /* Hawking */		\
	{USB_DEVICE(0x129B,0x1828)}, /* Siemens */		\
        {}			 /* end marker */	\
}
You can see there is already a slew of devices in there, however not EVERY device is present. Look and see if you can find your device ID, the numbers are arranged differently, therefor my "0E66:0009" will look like "0x0E66,0x0009", the preceding 0x is just a marker that the number that follows is base 16, or hexidecimal. You can see on the bottom that there are 2 "Hawking" but neither are my 0009 hawking device, so i'm going to copy one of the entries and make the changes myself. Take a look at how this is done below, remember, copy an ENTIRE line, and make sure the ONLY thing different on the line is your device ID and if you want to be picky, the manufacturer string:
Code:
1.

	{USB_DEVICE(0x0E66,0x0001)}, /* Hawking */		\
	{USB_DEVICE(0x0E66,0x0003)}, /* Hawking */		\
	{USB_DEVICE(0x129B,0x1828)}, /* Siemens */		\

2.

	{USB_DEVICE(0x0E66,0x0001)}, /* Hawking */		\
	{USB_DEVICE(0x0E66,0x0003)}, /* Hawking */		\
	{USB_DEVICE(0x0E66,0x0003)}, /* Hawking */		\
	{USB_DEVICE(0x129B,0x1828)}, /* Siemens */		\

3. 


	{USB_DEVICE(0x0E66,0x0001)}, /* Hawking */		\
	{USB_DEVICE(0x0E66,0x0003)}, /* Hawking */		\
	{USB_DEVICE(0x0E66,0x0009)}, /* Hawking */		\
	{USB_DEVICE(0x129B,0x1828)}, /* Siemens */		\
Now that this is changed, press ctrl+o to save, ctrl+x to exit.
Now that your back to the terminal, go up a directory back to the driver dir:
Code:
:-$ cd ..
Now to compile and install the driver:
Code:
:-$ sudo make && make install
you will get a lot of compiler output after that, and it will be installed. If it fails to install, look in the compiler output for any errors, and please post them here and i'll assist in getting them working.

After compiling and installing, all you need to do is type:
Code:
:-$ modprobe rt2870sta
Then to check if your device is up type:
Code:
:-$ iwconfig ra0
if you see information about your device you're good to go, if you see "ra0 no device present" there's a problem, if there's a problem post your device name, devID, and preferably compiler output here again for assistance.

Once its up and working, you can edit /etc/modules and add rt2870sta to the list of drivers to add on startup, after that get to pen testing!! congrats you now have injection!!

EDIT:
Changed to /etc/modules for loading it on boot, thanks fnord0