Using the TL-WN722N wireless USB adapter on a virtual machine.

Ghxst
2 min readMar 28, 2020

--

To set up our our virtual machine I will be using VirtualBox (6.1.4) and the corresponding extension pack to enable USB 2.0/3.0 support and Debian (10.3.0) as our operating system.

The wireless adapter I am using comes in multiple revisions, the one I have (rev 2) requires non-official drivers to work correctly, but YMMV.

VirtualBox and the extension pack:
https://www.oracle.com/virtualization/technologies/vm/downloads/virtualbox-downloads.html

Debian operating system:
https://www.debian.org/distrib/

TL-WN722N drivers:
https://github.com/AIRCRACK-NG/RTL8188EUS

Creating a filter for our adapter.

Since the virtual machine and host machine can not share our wireless adapter at the same time we have to create a filter that captures the device as soon as it is inserted into a USB port on our host machine.

To create this filter go into the settings of your virtual machine; navigate to the machine’s USB settings and create a new filter.

The name of this filter does not matter, but you’ll want to populate the following fields:

Vendor ID: 2357
Product ID: 010c

If you are using a different wireless adapter you will have a different Vendor ID and Product ID.

After the filter is created reboot if the machine is already running and insert the wireless adapter after it has booted.

Troubleshooting

If you are having issues connecting to the adapter or other USB devices make sure the drivers are correctly installed and visit the link below for additional troubleshooting.

USB basics and troubleshooting:
https://forums.virtualbox.org/viewtopic.php?f=35&t=82639

That’s all that should be necessary to access the TL-WN722N wireless USB adapter from your virtual machine.

Feel free to post any of your issues in the comment section and if you found this small write up helpful please clap! 👏

--

--

Ghxst

Busy fixing things that are broken, or breaking things that are working.