PDA

View Full Version : Wireless USB Adapter Installation Help



adpendergast
2017-10-30, 01:03
Hello,
This is my first post here and I'm not really sure where to go.
I'm running Kali 2017.2 x64 in VMware Workstation Pro 14, and I've bought a TP-LINK AC600 Archer T2U wireless USB adapter (MediaTek MT7610u), and I'm having trouble installing it.
I cd to the folder, type 'make' and this shows:

root@destiper:/home/ap/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916-master# make
make -C tools
make[1]: Entering directory '/home/ap/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/ap/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools'
/home/ap/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/ap/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/Makefile
make -C /lib/modules/4.12.0-kali1-amd64/build SUBDIRS=/home/ap/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux modules
make[1]: *** /lib/modules/4.12.0-kali1-amd64/build: No such file or directory. Stop.
Makefile:393: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2

Any help would be appreciated, thank you!

grid
2017-10-30, 11:30
Not directly related to your post, but I assume you tried plugging the adapter in...to see if it would work with the native drivers?

More specifically, the error references the 4.12 kernel. If you're running the current Kali install, you'll have a 4.13 kernel. You might be able to install the driver by booting into the 4.12 kernel.

adpendergast
2017-10-30, 22:00
Thank you for your reply.
Yes, I've plugged it in a few times, and I've already installed the drivers on my host (Windows 7) and it's working perfectly.

"uname -a" gives me:
Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux
I'm not completely sure; but I thought I was 1) running a current install (seeing as I downloaded the ISO yesterday) and 2) I thought that meant I was in 4.12.

grid
2017-10-31, 11:36
The most up-to-date Kali ISOs are in the weekly builds. If you got the standard ISO, it's probably a little dated now. I upgraded my Kali install last week; here's my uname output: "Linux kali 4.13.0-kali1-amd64 #1 SMP Debian 4.13.4-2kali1 (2017-10-16) x86_64 GNU/Linux"

You definitely have the 4.12 kernel, based on the uname output. Have you tried going to /lib/modules/4.12.0-kali1-amd64/build and seeing what's there?

_defalt
2017-10-31, 12:50
I upgraded my Kali install last week; here's my uname output: "Linux kali 4.13.0-kali1-amd64 #1 SMP Debian 4.13.4-2kali1 (2017-10-16) x86_64 GNU/Linux"
This 2017-10-16 update will be remembered. KRACK vulnerability was released and fixed on this day. They fixed it very fast (https://www.kali.org/news/kali-on-krack/). I didn't even get a chance to experiment it.

adpendergast
2017-11-01, 01:25
As I got the standard ISO, yes I was running something a bit dated. However, I just upgraded after a bit of troubleshooting. The native drivers didn't seem to be working with the device anyway (although plugging it in made the LED flash).
I've gone to /lib/modules/4.12.0-kali1-amd64 and strangely, no 'build' folder anywhere in sight. Ctrl+H didn't bring anything up either, and I tried cd'ing to it in a terminal - still nothing.
I also had no idea about the KRACK vulnerability thing. I'll read up about that.

adpendergast
2017-11-01, 02:59
So I forgot to install the headers. Problem fixed. Got the device up as ra0.
Thank you grid, and _defalt. :)

grid
2017-11-01, 11:24
You're very welcome :)

@_defalt, yeah, kudos to the Kali team for the fast KRACK patch!

grrrlrock
2017-11-05, 11:25
Hi guys. I am stuck on the same process and I have the same Linux architecture as host. Should I start a new thread or continue here? Thank you in advance.

bo0mbast1k
2017-11-06, 03:55
I have the same issues using virtual box, usb filter is enabled and lsusb shows my archer t2u. I have researched about compat-wireless 2.6, backports, even contacted tp link support and nothing works. This is my last option :( I hope someone can help.

grid
2017-11-07, 12:49
@grrrlrock, have you tried updating Kali? The 4.13 kernel has been working well for me...wireless or otherwise.

Same advice to @bo0mbast1k.

bo0mbast1k
2017-11-10, 04:43
Hello Good Sir! I finally got it to work after hours of reading multiple threads and youtube videos.
If I run ifconfig ra0 up, it gives me an error siocsifflags operation not permitted. Any advise how to get past this?

Thanks!