PDA

View Full Version : No network device showing up for TP LINK TL-WN722N V1 on Kali Linux 2022.3 VirtualBox version



andresrcs
2022-08-11, 21:53
The USB Wifi adaptor is a TP-Link TL-WN722N V1 with Atheros chip, I have the extension pack installed so I have tried with UBS 2.0 and 3.0 (currently)

Kali Linux detects the USB device, this is the output of `lsusb`



└─# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



But there is no network interface, this is the output of `ifconfig -a



└─# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::12e1:3a53:aaa3:8370 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:e3:a2:7b txqueuelen 1000 (Ethernet)
RX packets 1 bytes 590 (590.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 50 bytes 8614 (8.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 4 bytes 240 (240.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 240 (240.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


How to enable the USB wifi adapter?

Fred Sheehan
2022-09-03, 00:36
Some adapters have a virtual CD for drivers (blame windows) so they need to be modeswitched, your lsusb gives needed -v (vendor) and -p (product) ID's so try this;

sudo apt install usb-modeswitch usb-modeswitch-data

sudo usb_modeswitch -K -W -v 0cf3 -p 9271

That should enable it and it will then show up in Network Manager as an aviable network as you would expect.

Frostbyt3
2022-10-03, 20:59
What's goin' on haven't been on this forum since the software was BackTrack. Anyway I need some help...

I'm currently running the latest version of Kali on a VirtualBox VM using my old trusty ALFA AWUS036H (Realtek RTL8187L)Kali detects the antenna, and I can put it into monitor mode no problem. My issue is that it will only detect 1 wireless router (The one connected to the internet on the Host) For some reason if I were to say set my phone up as a WiFi Access point it will not detect it, or any other wireless networks in the area for that matter.
There has to be some very basic setting I am missing. Does anyone have an easy fix? The above advice from Fred didn't do anything.

If anyone can help I'd appreciate it. :confused:
Thx

atdtphreaker
2022-10-06, 04:34
I'm experiencing the same issue with VMware Fusion. It started 1 day ago.

Fred Sheehan
2022-10-07, 16:22
htYou would to need to change the vendor hex value (-v) and product (-p) hex value in this line;

sudo usb_modeswitch -K -W -v 0e8d -p 2870

to your own adapters values though (you leave out the hex notation 0x)

Make - model --------- chipset ---- USB vendor --- USB Product
Alfa -- AWUS036H --- RTL8187L---- 0x0bda ------- 0x8187

i.e.
sudo usb_modeswitch -K -W -v 0bda -p 8187


if Kali can see your adapter, and it lets you put into monitor mode then it should work, if it doesn't, then it could be several things, if your phone uses 5 GHz band for a wifi hotspot then that old adapter won't see it, most phones can be set to 2.4 GHz or 'prefer 5 GHz' which make it invisible to a 2.4 GHz adapter.

If that isn't the issue, try rebuilding the drivers for it yourself, I have had to with some devices to get them to work properly..

https://github.com/matrix/backports-rtl8187

joda
2022-11-20, 21:26
Hi!
I'm new here, and I found this post, where the OP has/had the same problem like mine.

I'm trying to use my TP-WN722n v1 adapter with Atheros chipset but I cant use it.
I use the latest version of VirtualBox by Oracle.
I also installed the latest version of Kalli with everithing updated/upgraded.
Everithyng is the same as by the OP here.

I also tried the suggestion from here abowe but it didnt solved my problem.


─# lsusb
Bus 001 Device 002: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub



─# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::48aa:764f:984e:82d2 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:a9:4b:38 txqueuelen 1000 (Ethernet)
RX packets 1 bytes 590 (590.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 37 bytes 6456 (6.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 4 bytes 240 (240.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 240 (240.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


Any suggestion or help pls. I would really appreciate.

My best regards.