Aircrack-ng forum

General Category => General help => Topic started by: FrozT on September 27, 2015, 03:13:06 am

Title: Kali 2 driver for RT2870/3070 missing injection
Post by: FrozT on September 27, 2015, 03:13:06 am
Code: [Select]
Linux ***** 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux
Bus 002 Device 005: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
[   14.944116] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   15.102332] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[   15.188442] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[   15.213652] usbcore: registered new interface driver rt2800usb
[   15.263452] rt2800usb 2-3.4:1.0 wlan1: renamed from wlan0
[   43.196334] RPC: Registered named UNIX socket transport module.
[   43.196339] RPC: Registered udp transport module.
[   43.196340] RPC: Registered tcp transport module.
[   43.196342] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   49.449148] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   49.451950] rt2800usb 2-3.4:1.0: firmware: direct-loading firmware rt2870.bin
[   49.451957] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[   51.042034] ieee80211 phy0: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -71
[   51.064852] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -19
[   53.072661] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0xffffffff]
[   53.802988] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[   53.918479] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 0005 detected
[   54.950581] rt2800usb 2-3.4:1.0 wlan1: renamed from wlan0
[   56.914719] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[  202.331009] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[  202.331036] rt2800usb 2-3.4:1.0: firmware: direct-loading firmware rt2870.bin
[  202.331039] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 3178.040009] rt2800usb 2-3.4:1.0 wlan2: renamed from wlan1
[ 4571.844836] ieee80211 phy1: rt2800usb_txdone: Warning - Data pending for entry 1 in queue 0
[ 4914.185174] ieee80211 phy1: rt2x00usb_watchdog_tx_dma: Warning - TX queue 0 DMA timed out, invoke forced forced reset
[45617.765518] rt2800usb 2-3.4:1.0 wlan1: renamed from wlan2
[72359.408397] ieee80211 phy1: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0xffffffff]
[72360.140919] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[72360.394778] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 0005 detected
[72361.934864] rt2800usb 2-3.4:1.0 wlan1: renamed from wlan0

Hi All,

Running Kali 2 with an RT2870/3070 but can't get injection to work. Device works fine otherwise. I have the latest "firmware-ralink" and updated dist.  Anyone have a better driver for RT3070 on Kali 2? My radio is a SignalKing SK-950WM.

Thanks.
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: misterx on October 03, 2015, 06:44:17 pm
Try downloading and installing the latest linux-backports (not the one with the same version as your kernel, the latest).
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: FrozT on October 04, 2015, 06:15:01 pm
I tried installing Backports 4.2-RC1 which seems to be the latest, still no luck.  I have two adapters , the RT2800USB and an Atheros AR5523. I can run them side by side and the Atheros always seems to work where the Ralink does not. Unfortunately the Ralink has much more power and better antennas so I am hoping to get that one working.
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: FrozT on October 08, 2015, 05:52:29 pm
I spoke too soon.  I uninstalled the RC1 version and just installed 4.1.1 and it works!  Thanks!!

For anyone landing here, these were my steps:

Code: [Select]
sudo apt-get update && apt-get upgrade -y
sudo apt-get install linux-headers-$(uname -r)
cd /usr/src/
sudo wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.1.1/backports-4.1.1-1.tar.xz
sudo tar xvfJ backports-4.1.1-1.tar.xz
cd backports-4.1.1-1/
sudo make defconfig-wifi
sudo make
sudo make install
sudo update-initramfs -u
reboot
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: Yan on October 18, 2015, 04:25:08 pm
Thought I would post it here, as I have the same problem. Tried the steps you've provided but no luck.
Seems like the wireless adapter comes up and down every second, as if something is killing it.
I have an internal wifi and it's working:
Code: [Select]
iwlwifi - Intel Corporation Wireless 7260 (rev 73)I also have the same dmesg output:
Code: [Select]
ieee80211 phyXX: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0xffffffff]adapter:
Code: [Select]
Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
I am running a "fresh" Live USB of kali-linux-2.0-amd64
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: misterx on October 18, 2015, 04:42:24 pm
I'd say try using another usb port and/or a powered USB hub and the latest linux-backports (not the one with the same version as your kernel, the latest, 4.2 something).
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: Yan on October 19, 2015, 01:34:54 pm
The problem was indeed the USB cable.. what a way to spend two days... nevertheless I still encounter problems.
I can connect to networks and execute deauth fine using aireplay. However, I'm not able to complete the injection test aireplay-ng -9, it stays at zero percent when it finds the AP.
Code: [Select]
Trying to broadcast probe requests...
No Answer...
Found 2 APs

Trying directed probe request...
MAC CHANNEL SSID
0/30: 0%

.......
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: booot on April 19, 2016, 12:08:17 am
Having the exact same problem as the OP did when he started the thread.
Got a 148f:3070 ralink radio. ( DMG-11 , Power on by digital element ).Its a fine adapter and i wish i could make it work somehow.
Everything is updated , including upgrades,headers,dists and backports ( 4.4.2-1 ).
Followed the steps the OP posted to the letter but still it refuses to inject.Other than that it seems to work ok.It can connect to networks wirelessly,
enter monitor mode, airodump sniffs beacons , data ( although a bit slow ) , but injection test fails , always 0/30 no matter how many APs it finds.
Running Kali on Virtual Box , although it seems plugging the adapter after it boots and adding a usb filter with its prod/vend id  ,
bypasses the common adapter problems with virtual box. I've spend a whole lot of time on this issue and
i am really close to buying a guaranteed-to-work adapter soon , so i beg for some help... Anyone.... :'- (
If there is a way to make it work , please help me...
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: laser411 on April 28, 2016, 12:02:53 am
Bump, also having the same issues on Kali2, the device also doesn't list any associated clients even when my internal adapter does (which doesn't have nearly the range the 3070 has).
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: misterx on May 03, 2016, 03:33:19 am
Try 2016.1 and update it.
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: moyare on June 29, 2016, 12:28:24 am
how to update?
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: misterx on June 30, 2016, 01:35:59 am
https://www.google.com/search?q=how+to+update+debian&ie=utf-8&oe=utf-8
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: moyare on July 05, 2016, 11:26:18 am
Updated but still not working... Airodump-ng only show client station and the bssid is always 'not associated' (wifi adapter is ralink)..but internal wifi adapter work just fine. Wifi adapter is in good condition because it work just fine in backtrack 5
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: moyare on July 06, 2016, 02:36:44 am
Can someone plz explain the solution in https://forum.aircrack-ng.org/index.php?topic=1169.0
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: misterx on July 06, 2016, 04:28:02 am
moyare, then ask it in the thread itself. There was a bug in a few kernels where it wasn't injecting. It got fixed. Don't use 2.0, use rolling.
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: moyare on July 06, 2016, 07:00:49 am
I m using roiling and updated everything but still the same
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: unlucky99 on October 15, 2016, 11:44:57 am
I am in the same point, can anyone help us?
Title: Re: Kali 2 driver for RT2870/3070 missing injection
Post by: mario on October 23, 2016, 01:31:47 pm
leafpad /etc/apt/sources.list

Use this:

deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free

Then Update, Upgrade and install Headers

sudo apt-get update && apt-get dist-upgrade -y
sudo apt-get install linux-headers-$(uname -r)