VMware Communities
Vandit8077
Contributor
Contributor

not showing wifi adapter in the ifconfig command

Hello i am new to the field of cyber security and have lots of question of one which is even after the download and installation of wifi drivers I am unable to get any output on the command ifconfig or any other command related to the wifi adapter.
can someone please help me in finding the bug or can someone please help me in starting journey in cyber ahead.

Reply
0 Kudos
12 Replies
scott28tt
VMware Employee
VMware Employee

What version of Workstation Pro are you using?

What is your host OS? What OS are you running in your VM?

Where are you expecting to see driver information about your adapter?

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
Technogeezer
Immortal
Immortal

Assuming that you are trying this in.a virtual machine, what you're seeing is normal.

The virtual network adapters that are presented to the VM are wired adapters. Workstation bridged or NAT networking hide the physical Ethernet or WiFi adapters from the VM.  Since the virtualized network adapters are wired devices, any WiFi drivers installed in the VM won't find a wireless device.

The only way that you would get a wireless adapter recognized in the VM is if it were a USB wifi adapter. 

- Paul (Technogeezer)
Editor of the Unofficial Fusion Companion Guides
Reply
0 Kudos
Vandit8077
Contributor
Contributor

version of VMware :VMware 17 pro
Host OS is windows 10 and VM OS is Kali Linux 
expected to see the driver info is on the terminal 

the problem is that in ifconfig command the wifi adapter is not shown as it should be.

Reply
0 Kudos
Vandit8077
Contributor
Contributor

I am using a USB adapter only. 
the problem is it is recognised by the VM OS but I am unable to perform any operations like ifconfig or airmon-ng, etc

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

Does it show up as connected in VM removable devices (without a red x)?
if not, what does lsusb show?
If it shows as connected, what is entry in Advanced Network configuration?  Maybe you need to add it there.

 

Reply
0 Kudos
RDPetruska
Leadership
Leadership


@Vandit8077 wrote:

I am using a USB adapter only. 
the problem is it is recognised by the VM OS but I am unable to perform any operations like ifconfig or airmon-ng, etc


But is the USB adapter connected to the host, and that's how the host is connected to the network?  Or is the USB adapter connected to the guest as a USB device?

Reply
0 Kudos
Vandit8077
Contributor
Contributor

USB wifi adapter is connected to the guest OS. 

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

Kali Linux. Settings. Advanced Network settings. Add. Does it show up?

Reply
0 Kudos
Vandit8077
Contributor
Contributor

there is no option such as advance network settings 

and in network settings it is prompting a message saying 

"Oops something went wrong."

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

Screenshot at 2023-08-17 20-47-32.png

Maybe try settings (gear) or Add (+)?

Try add

Reply
0 Kudos
Vandit8077
Contributor
Contributor

i am unable to understand what you are trying to tell 

could you please elaborate on that. 

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

Not sure if you meant me. I installed an ancient Belkin  adapter to test. See screen shots.

1. Does the wireless adapter show up in VM/Removable Devices as Connected? If not, can you  connect?

If it shows up connected, the rest of the stuff is Kali, nothing to do with  VMware. If it doesn't show up, you need another device or drivers for  Kali.

2. If it is connected, does it show up in lsusb (in the terminal)? Yes, means you should be good to go.

3. If so, you have to open Network connections and add your adapter (click the +), configuring it to your wireless access point. Run: sudo iw wlan0 scan
to see what access points it "sees". wlan0  is how my adapter shows up in network connections, yours could be different. I had to pick a 2G AP due to the age of the Belkin (I don't use it).

Lou

After you configure it properly, it should show up with ip addr.

 

 

Lou

 

Reply
0 Kudos