This driver doesn't need to be patched anymore.
ifconfig ra0 down rmmod rt2500 wget http://rt2x00.serialmonkey.com/rt2500-cvs-daily.tar.gz tar -xvzf rt2500-cvs-daily.tar.gz cd rt2500-cvs-xxxxxxx/Module #xxxxxxxxxx is a number which represents the driver date and revision make && make install modprobe rt2500
NOTE: This will download the Enhanced Legacy version of the driver. The Next Generation version (rt2x00, mac80211-based) has not been tested to work with Aircrack-ng.
Make sure to load the driver with modprobe (not insmod) and to put the card in Monitor mode before bringing the interface up.
You also need the following each time you want to use the device in monitor mode:
iwpriv <interface name> rfmontx 1 iwpriv <interface name> forceprism 1
The forceprism corrects the power being shown as “-1”. It has to be run each time you run aireplay-ng.
See this message.
If you have a Ralink chip in an USB device and that chip is a RT2570 or RT73 (RT73 is also known as RT2571 and RT2573), you need the “rt2570” or “rt73” driver. The “rt2500” driver is only for PCI/PCMCIA devices.
Using legacy drivers (or ASPj mods) interface name is ra0 for PCI/PCMCIA and rausb0 for USB devices, if you have wlan0 and wmaster0 interfaces, then you are using new rt2x00 driver (rt2x00 has various modules, for PCI devices they are “rt2x00lib, “rt2x00pci” and “rt2500pci”, unload them and load “rt2500” if you want to use the other driver).