Kali linux wifi not existing

If the OP is insistent to have the guest directly accessing the web, then the easy way would be a cheap Wi-Fi USB dongle configured through the VM
 


ok, so the best option would be a usb wifi adapter or another solution would be a live usb
 
Getting wifi to work in VM is always a problem, and in this case I'm not sure what to suggest because I personally use QEMU for virtual machine, I have no experience with virtual box.

But first do this test.
Run Kali in VM, open up terminal and type this command:

Bash:
sudo iw dev

If you're root then omit sudo and just iw dev

Does the command print your wifi adapter?
no
 
Therefore I think you adapter needs passtrough.
so but within the BIOS the vt-d option is activated, however in the Kali Linux settings > virtualbox > processor > vt-d I cannot mark the checkbox, however nested paging is already selected, I went to look in parrot and in parrot the vt-d and nested paging checkboxes are marked, I will try in parrot, what would be the next step?
 
what would be the next step?
According to oracle docs in my post #3 you passtrough via command line:

the next step is to select the PCI card and attach it to the guest. To figure out the list of available PCI devices, use the lspci command.
VBoxManage modifyvm VM-name --pciattach 02:00.0@01:05.0
Did you do this step?
The docs don't seem to mention that modifying UI settings in VM is an option.
 
According to oracle docs in my post #3 you passtrough via command line:



Did you do this step?
The docs don't seem to mention that modifying UI settings in VM is an option.
Will it be necessary to install virtualbox on kali linux to run this command?
 
Will it be necessary to install virtualbox on kali linux to run this command?
Not in Kali, you only need virtual box on Windows to run Kali.

But since you're on Windows, if this doesn't work, an alternative to virtual box is Hyper-V which is available on every Windows edition except Home.
Hyper-V is MS's virtual machine, but I don't know how passtrough works there, you'll need to find some docs if you use it.
 
Not in Kali, you only need virtual box on Windows to run Kali.

But since you're on Windows, if this doesn't work, an alternative to virtual box is Hyper-V which is available on every Windows edition except Home.
Hyper-V is MS's virtual machine, but I don't know how passtrough works there, you'll need to find some docs if you use it.
I will try this step and do some research on hyper-v, but if anything, I will buy a newer USB wireless adapter, so I can avoid headaches. Thanks for the help!!
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    4.8 KB · Views: 4
  • Screenshot_2.png
    Screenshot_2.png
    6.6 KB · Views: 3
  • Screenshot_3.png
    Screenshot_3.png
    3 KB · Views: 3
Strange that it doesn't recognize, the only issue I see is you specified PCI address only.

But according to docs the command should be:

VBoxManage modifyvm VM-name --pciattach 00.03.0@01:05.0

If this doesn't work I'm clueless.
Try with Hyper-V or say goodbye to Kali in VBox.

edit:
actually no! the correct command is ‑‑pci‑attach
 
Last edited:
Strange that it doesn't recognize, the only issue I see is you specified PCI address only.

But according to docs the command should be:



If this doesn't work I'm clueless.
Try with Hyper-V or say goodbye to Kali in VBox.

edit:
actually no! the correct command is ‑‑pci‑attach
 

Attachments

  • imagem_2025-03-17_024119492.png
    imagem_2025-03-17_024119492.png
    1.9 KB · Views: 4
Another adapter is not guarantee that you'll be able to use it in VM, you'll likely face same problem.
I have suggested this as an easy solve for a long time on here, the Parrot forums and a few others, as, yet I have not been told it doesn't work [except when people fail to change the USB settings in the host OS]
 


Members online


Latest posts

Top