Page 1 of 1
TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 00:41
by Acrillix
Hello.
I am taking a course on Udemy Online about Network Security. The course instructs me to purchase a Network Adapter for detecting Wireless Networks and to perform certain tasks. So I purchased a TP-Link WN722n which was recommended on several sites for this specific setup. Let me tell you my setup first...
I have Ubuntu 16.10 (YakketyYak) installed as my Host Machine. It is fully updated and working just OK. NOTE: The Wireless Adapter is detected by the Host and does work well.
I have VirtualBox Graphical User Interface Version 5.1.6_Ubuntu r110634 installed and fully updated. I also have USB Extension Pack installed.
I have Kali Linux 2016.2 installed as a .iso file and is installed via Graphical Interface (NOT LIVE).
I do have Guest Additions installed and working properly.
I am running into an issue where when I go to
Settings>Network>Adapter 1 it does properly show NAT Network which is attached to NatNetwork. My 'Advanced' settings are:
Adapter Type: Intel PRO/1000 MT Desktop (82540EM)
Promiscuous Mode: Deny
MAC Address: 0800276E1527
Cable Connected: Yes
HOWEVER when going to
Settings>USB>USB 2.0 (EHCI) Controller there are NO detected USB's plugged in.
And I am waiting until Kali has fully booted before inserting the Network Adapter and it still does not show.
I ran
and both eth0 and lo show "No wireless extensions".
I ran
and show:
Code: Select all
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | Bus 002 Device 001: OD 1d6b:0001 Linux Foundation 1.1 root hub
I just don't know where to go now...
PLEASE help me, I have been working on this for about 15 hours (since 3am) and several re-installs, updating, upgrading, changing etc...
Thanks in advance,
Acrillix
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 00:48
by Perryg
Did you add your user name to the vboxusers group and reboot?
Note: using a USB adapter you will not setup the network in the guest settings.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 00:54
by socratis
Acrillix wrote:5.1.6_Ubuntu r110634
If you got that from the Ubuntu repository, purge it and install the latest from the VirtualBox official site:
https://www.virtualbox.org/wiki/Downloads
Follow the steps below. Exactly. Not everything might apply to you.
If there is a failure, please state exactly which step failed:
- Make sure that the Extension Pack is installed on the host. The same version as VirtualBox.
- Check and make sure that you're part of the "vboxusers" group.
- Make sure that at least USB2 (EHCI) is enabled in your VM settings. If your guest supports USB3 (xHCI), use that.
- Create a USB filter in your guest settings while the device is plugged in the host. Delete all values except Name, VendorID and ProductID. Check also http://www.linux-usb.org/usb.ids to make sure that you have the numbers correct.
- Unplug the device.
- Start your guest (the one that you applied the filter to). Let it start completely. Log in if you have to.
- Plug your device. The filter should capture it and pass control to your guest.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 01:06
by Acrillix
Perryg wrote:Did you add your user name to the vboxusers group and reboot?
Note: using a USB adapter you will not setup the network in the guest settings.
Yes I did.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 01:17
by Perryg
Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 05:02
by Acrillix
socratis wrote:Acrillix wrote:5.1.6_Ubuntu r110634
If you got that from the Ubuntu repository, purge it and install the latest from the VirtualBox official site:
[REDACTED]
Follow the steps below. Exactly. Not everything might apply to you.
If there is a failure, please state exactly which step failed:
- Make sure that the Extension Pack is installed on the host. The same version as VirtualBox.
- Check and make sure that you're part of the "vboxusers" group.
- Make sure that at least USB2 (EHCI) is enabled in your VM settings. If your guest supports USB3 (xHCI), use that.
- Create a USB filter in your guest settings while the device is plugged in the host. Delete all values except Name, VendorID and ProductID. Check also [REDACTED] to make sure that you have the numbers correct.
- Unplug the device.
- Start your guest (the one that you applied the filter to). Let it start completely. Log in if you have to.
- Plug your device. The filter should capture it and pass control to your guest.
Everything installed is from the official source.
1. Verified Extension Pack is installed for the correct version
2. Verified am part of vboxusers group
3. Verified USB 2.0 and 3.0 have been tested - neither work.
4. Unable to create filter - When editing filter only the NAME is showed (Filter 1). My adapter is not on that list you provided.
5. Unplugged.
6. Started up Kali. Waited until I was able to launch programs.
7. Plugged in card, nothing showing.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 07:50
by Acrillix
This is my log file for my Virtual Machine.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 09:19
by Acrillix
Here is the new one. I installed the pre-built version instead.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 10:59
by socratis
Your failure seems to be at step 4: recognizing the USB device in VirtualBox and creating a filter. Did you reboot the host after you're added yourself to the "vboxusers" group?
Also, you do NOT have the official packages according to the latest log:
VirtualBox VM 5.1.6_Ubuntu r110634 linux.amd64 (Sep 14 2016 06:43:10) release log
That's the disto's fork. As I mentioned, purge that and download the official one. With its appropriate extension pack. Otherwise this discussion is going to be very short and I'll have to direct you to Ubuntu's forums.
After the new installation, with the
USB device(s) plugged in and
no VM running, open a Terminal. Type the command:
It will generate a "
YYYY-MM-DD-hh-mm-ss-bugreport.tgz" file in the current directory. Attach that file in your response. See the "Upload attachment" tab below the reply form.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 12:24
by michaln
Acrillix wrote:HSo I purchased a TP-Link WN722n which was recommended on several sites for this specific setup
I guess that tells you something about how much such recommendations are worth. Or maybe they said "we recommend the TP-LINK W722N" but left out one word: "avoiding".
I could repeat what I wrote some time ago, but instead I'll just point to an
existing thread.
Re: TP-Link WN722n Not Detected by VirtualBox
Posted: 9. Feb 2017, 15:13
by Perryg
Code: Select all
00:00:06.777805 Oracle VM VirtualBox Extension Pack (Version: 5.1.6 r110634; VRDE Module: VBoxVRDP)
00:00:06.777815 VNC (Version: 5.1.6 r110634; VRDE Module: VBoxVNC)
As I suspected you do not have the right extension pack and are using the Ubuntu extension pack that does not support USB. So all you need to do to get this going is to remove the extension pack and program and install the official versions from
virtualbox.org.