PDA

View Full Version : Kali 2.0 SANA "Ralink Technology, Corp. MT7601U" USB wifi not working



k.v.manjunath
2015-09-08, 17:04
Hi all, I really need experts support here to troubleshoot my USB wifi to make it working. I purchased a USB wifi which is "Ralink Technology, Corp. MT7601U". I installed the driver with the help of few forum and after installation, i was able to find the device as ra0 with the command iwconfig but it is not showing in the network icon. Please help me. Find the following troubleshooting and outputs which I got.

root# iwconfig
root@kali:~# iwconfig
eth0 no wireless extensions.

ra0 Ralink STA
Power Management:on

lo no wireless extensions.

root# ifconfig
root@kali:~# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:45:55:4b
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe45:554b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20159 errors:0 dropped:0 overruns:0 frame:0
TX packets:3096 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23603609 (22.5 MiB) TX bytes:208484 (203.5 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1200 (1.1 KiB) TX bytes:1200 (1.1 KiB)

root# ifconfig ra0 up
root@kali:~# ifconfig ra0 up
SIOCSIFFLAGS: Operation not permitted

root@kali:~# uname -a
Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux

root@kali:~# lsusb
Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 80ee:0022 VirtualBox
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

root@kali:~# lsusb -D /dev/bus/usb/001/002
Device: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.01
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x148f Ralink Technology, Corp.
idProduct 0x7601 MT7601U Wireless Adapter
bcdDevice 0.00
iManufacturer 1 (error)
iProduct 2 (error)
iSerial 3 (error)
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 74
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 160mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 8
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x07 EP 7 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Status: 0x0001
Self Powered

Tried following the instruction in the link "http://www.arnelborja.com/compiling-rt2870-wifi-driver-in-fedora/" but file was already existed.

buxbud
2015-09-14, 07:42
Make sure that you have the following installed {linux-headers ; build-essentials ; git}
'sudo apt-get install linux-headers-$(uname -r) build-essential git'
Grab the vendor driver from here (http://www.mediatek.com/AmazonS3/Downloads/linux/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2)
Then follow this link Linux mac80211-based driver for Mediatek MT7601U USB bgn WiFi dongle (https://github.com/kuba-moo/mt7601u)

Other resources
1. Ralink 148f:7601 wifi adapter installation on ubuntu (http://askubuntu.com/questions/457061/ralink-148f7601-wifi-adapter-installation)
2. Linux driver for MT7601U with patch for stability and performance on kernel versions till 3.18 and below (https://github.com/porjo/mt7601)
3. Kali forum - MediaTek USB Wireless Card - Looking for Support (https://forums.kali.org/showthread.php?25267-MediaTek-USB-Wireless-Card-Looking-for-Support&p=44914&viewfull=1#post44914)

P.S Always ONLY use command 'git clone HTTPS clone URL' to copy files from github. No right click save target trick !!

manishmcg
2016-01-19, 15:03
1. Update repository list
vim /etc/apt/sources.list
#add repository and source repository
#for e.g. of Kali 2
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
2. apt-get update
3. apt-get install linux-headers-$(uname -r) build-essential git
4. git clone https://github.com/porjo/mt7601.git
5. cd mt7601/src
6. make clean
7. make
8. make install
9. mkdir -p /etc/Wireless/RT2870STA/
10.mkdir -p /etc/Wireless/RT2870STA/
11.cp RT2870STA.dat /etc/Wireless/RT2870STA/
12.modprobe mt7601Usta

*run command in root mode or use sudo