Page 1 of 1

WIFI Adapter Problem

Posted: 2020/03/28 21:21:47
by matheusgoul
Hello,

I have a CentOS7 Minimal VM, in the Virtual Box, and I have a problem with the WIFI adapter, I mean, more or less. I can connect to the internet with it, but my goal is to use aircrack-ng, and it doesn't recognize it. The output from iwconfig is "no wireless extension" and the output from lsusb
is "Linux Foundation 1.1 root hub". The output from lsusb should clearly recognize the adapter, but it doesn't. The adapter is the TL-WN722N V1. Give me a light, please. Thanks in advance.

Re: WIFI Adapter Problem

Posted: 2020/03/28 23:23:36
by TrevorH
Your VM gets hardware emulated for it by whatever virtual machine program you are using. It doesn't see real hardware unless you physically attach it to the VM which means the host cannot use it. You most likely don't have a wireless adapter on the VM, it will have an emulated wired adapter.

Re: WIFI Adapter Problem

Posted: 2020/03/28 23:37:03
by matheusgoul
That is, the VM cannot recognize that the adapter is WIFI?

Re: WIFI Adapter Problem

Posted: 2020/03/29 00:07:41
by TrevorH
The VM does not even know anything about the underlying hardware. That's known only to the host operating system not to a VM running on it.

On most virtual machine host programs you can dedicate a device to a guest and that is what you will need to do if you need the wireless device in the guest. But if you do then the host will not be able to use it as it will be in use by the guest.