Kali-Linux VM doesn't get ip when connecting to wireless connection

14,333

I have come across the following as a potential solution, so its worth a try:

  1. Shut down your VM.
  2. Open up VirtualBox - your VM should be powered off
  3. Click on your VM
  4. Click settings
  5. Click Network
  6. You should have adapter 1: (Enable Network Adapter checked) Adapter type: Intel PRO/1000 MT Desktop, Attached to: NAT, Name: (blank)
  7. Click on adapter 2 - here you will create a new adapter.. Adapter type: Intel PRO/1000 MT Desttop, Attached to: Bridged Adapter, Name: en1:[Pick a name, no square brackets]
  8. Click OK
  9. Start your VM and test
Share:
14,333

Related videos on Youtube

paul deter
Author by

paul deter

Updated on September 18, 2022

Comments

  • paul deter
    paul deter over 1 year

    I am setting up my Kali Linux VM hosted in Virtual box to work through the wireless interface on my computer. I need to access few tools from the host machine, so I want to have an IP for this machine that I can use, Here is how ifconfig output looks like.

    enter image description here

    When I have wired connection to the computer itself, the eth0 interface shows an ip address and everything works great. However, when my computer is connected to wireless, I don't seem to get anything working. Here is how virtual-box settings for the VM. enter image description here

    Its probably obvious from my question that I am a newbie to linux, I'll appreciate if some step-by-step type of method could be described that can help solve this issue.

    UPDATE If Attached to is set to NAT, this is what I see in ifconfig. Still cannot access internet etc. enter image description here

    UPDATE-2 After Sam3000 suggestions, below is what I get enter image description here

  • paul deter
    paul deter over 7 years
    so adopter type Intel PRO/1000 MT Desktop is same both? Does it matter if I don't have wireless adopter in one of the two?
  • paul deter
    paul deter over 7 years
    oh wait, I don't get Intel PRO/1000 MT Desktop with Bridget Adopter as an option. Apart from Dell Wireless (as in image in my question), other option is Intel(R) 82579LM Gigabit Network Connection.. Which one should I select here?
  • Unencoded
    Unencoded over 7 years
    Make sure you're looking at the "Adapter Type" menu, and not the "attached to" menu, easy mistake to make
  • paul deter
    paul deter over 7 years
    yeah i was looking at wrong place :). Let me try it now
  • paul deter
    paul deter over 7 years
    updated question with image based on your suggestion
  • Unencoded
    Unencoded over 7 years
    So today I tried to re-create the problem at my end with a Kali Linux VM, but I haven't been able to, the connection is fine when using my wireless adapter. I have come across a few more ideas though, so I'll leave the chat window open if you wish to discuss things further :)