Information Technology Tips

Innotechtips_logo_v4
Menu
  • Home
  • Linux
  • Programming
  • Other Tech Tips
    • Windows
    • Security
Youtube
Home Linux

How to Connect Kali Linux on VMware Workstation to a Wi-Fi Network

Inno by Inno
July 27, 2023

In this article, we will demonstrate the process of connecting your Kali Linux virtual machine to a wireless network when using VMware Workstation as the hypervisor. This method will focus on cases where one is using a USB-based wireless/wi-fi adapter on the host machine. This approach is also referred to as USB passthrough and it allows the guest virtual machine to utilize USB devices that are connected to the host machine.

The first step in the process is to configure/edit the system-wide USB settings to ensure that specific features are enabled. To get to the system-wide USB settings on VMware Workstation, on the menu, we will click on Edit then click on Preferences. Once the Preference window pops up, we will click on the USB  option, and then under Connections, we will select “Ask me what to do” as shown in the figure below.

When a new USB device is detected, the “Ask me what to do” option will pop up a message asking you if you want to connect a USB device to your virtual machine. The message will appear whenever a USB device is connected to the host machine.

The next setting that we need to configure is for the individual virtual machine we are interested in or are working with. In our case, we have a Kali Linux machine that we would like to connect to our wireless/wi-fi network via the USB-based wireless adapter. We will right-click on the Kali virtual machine and select the settings option. In the Virtual Machine Settings window that pops up, we will ensure that there is a hardware device named USB Controller. If we do not see one, we will add one using the add tab. As shown in the below figure, the USB Controller device is already added and present for the Kali Linux machine, therefore, when we try to add another one, we see that the “Finish” tab is grayed out.

We also want to ensure that the box that reads, shows all USB input devices, is checked under the Connections options. We may also check the second box if we are interested in sharing Bluetooth devices with our virtual machine. The last option is to select the USB version which could be USB 2 or USB 3. Once we are satisfied with the selections we will click ok to save the changes and exit the settings window.

Now that we are done making the configuration changes on the USB settings, we will proceed with powering on the virtual machine. We will then wait until the machine finishes booting up before we insert our USB-based wireless/wi-fi adapter into the host machine. Once it is plugged in, we will get the below pop-up message. The message will ask us to choose whether we want to connect the USB device to the host or to the virtual machine.

In our case, we select the second option which says “Connect to a virtual machine” which is also listed under the virtual machine name as Kali-Linux.

There is an alternative way when it comes to connecting to the USB-based device once we have our virtual machine powered up. To do this, we will click on VM > Removable Devices > “Name of the USB device” > Connect (Disconnect from Host).

Once we click on connect, the below window will pop up. At this point, we will click on ok which should then allow the virtual machine to connect to the USB device.

To check which USB devices are connected to our virtual machine, we can use the lsusb command that is illustrated below.

In the case of our Wi-Fi adapter, you can see in the screenshot below, our Kali Linux machine now has wireless network connectivity and the available Wi-Fi networks are also being displayed.

We can use the terminal to verify whether we indeed have an IP address associated with the wireless interface card named wlan0. To do this, we will open a terminal and then type the command below:

ip address

The output shown in the above screenshot shows that we do indeed have an IP address of 192.168.1.237 that is associated with our Wi-Fi network. Another command for verifying wireless connectivity is:

iwconfig

The above output provides more detailed information about the Wi-Fi network we are connected to. This information includes network name, signal strength, speed, access point, and so on.

Conclusion

In this article, we went through the process of connecting a USB device to a virtual machine running on the VMware Workstation hypervisor. In particular, we configured the settings of a wireless/Wi-Fi USB-based adapter and used it to connect our Kali Linux virtual machine to a wireless network. We highlighted the different ways to connect the virtual machine to the available USB devices and some of the commands that can be used to verify connectivity via the terminal.

Inno

Inno

Related Posts

Linux

Getting Started with Kali Linux: A Guide for Beginners

July 31, 2024
Linux

20 Linux Commands for Beginners

March 31, 2024
Linux

What is KVM Virtualization?

March 31, 2024
Linux

The Linux Booting Process in Linux

February 17, 2024

Category

  • Linux
  • Other Tech Tips
  • Programming
  • Windows

Recommended.

How to Capture Network Traffic on a Wi-Fi Network using Kali Linux

July 27, 2023
Dictionaries and Sets in Python

Dictionaries and Sets in Python

July 27, 2023

Trending.

How To Connect Kali Linux to Wi-Fi on VirtualBox

October 9, 2023

How to Install and Enable Free VPN in Kali Linux

July 27, 2023

How to Connect Kali Linux on VMware Workstation to a Wi-Fi Network

July 27, 2023

IPv4 to IPv6 Transition Challenges

July 27, 2023
How to Connect to Kali Linux from Window’s Command Prompt

How to Connect to Kali Linux from Window’s Command Prompt

July 27, 2023

About us

This site is dedicated towards highlighting various important aspects of information technology. The key areas includes programming, Linux, software, and security. The content will include articles as well as videos.

Quick Links

Menu
  • Home
  • Linux
  • Programming
  • Other Tech Tips
    • Windows
    • Security

Privacy Policy

Menu
  • Privacy Policy
Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}
No Result
View All Result
  • Cookie Policy (EU)
  • Home 1
  • Home 2
  • Home 3
  • Mytest Page
  • Privacy Policy

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.