WIFI Adapter Problem

Issues related to configuring your network
Post Reply
matheusgoul
Posts: 2
Joined: 2020/03/28 21:11:45

WIFI Adapter Problem

Post by matheusgoul » 2020/03/28 21:21:47

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.

User avatar
TrevorH
Forum Moderator
Posts: 29628
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: WIFI Adapter Problem

Post by TrevorH » 2020/03/28 23:23:36

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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

matheusgoul
Posts: 2
Joined: 2020/03/28 21:11:45

Re: WIFI Adapter Problem

Post by matheusgoul » 2020/03/28 23:37:03

That is, the VM cannot recognize that the adapter is WIFI?

User avatar
TrevorH
Forum Moderator
Posts: 29628
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: WIFI Adapter Problem

Post by TrevorH » 2020/03/29 00:07:41

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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Networking Support”