Brickwizard
Well-Known Member
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
noGetting 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 justiw dev
Does the command print your wifi adapter?
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?Therefore I think you adapter needs passtrough.
According to oracle docs in my post #3 you passtrough via command line:what would be the next step?
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.
Did you do this step?VBoxManage modifyvm VM-name --pciattach 02:00.0@01:05.0
Will it be necessary to install virtualbox on kali linux to run this command?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.
Not in Kali, you only need virtual box on Windows to run Kali.Will it be necessary to install virtualbox on kali linux to run this command?
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!!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.
Another adapter is not guarantee that you'll be able to use it in VM, you'll likely face same problem.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!!
Another adapter is not guarantee that you'll be able to use it in VM, you'll likely face same problem.
You can enter VBoxManage list vms to have all currently registered VMs listed with all their settings, including their respective names and UUIDs.
VBoxManage list vms
Loading…
docs.oracle.com
Therefore run the following command to learn your Kali VM name that you need to specify:
C:VBoxManage list vms
To figure out the list of available PCI devices, use the lspci command. The output will look as follows:
Make sure you input correct PCI address too.
See link in my post #6 for instructions on how to learn the correct PCI address.
edit:
it says:
VBoxManage modifyvm VM-name --pciattach 00.03.0@01:05.0
‑‑pci‑attach
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
ok thanks, you recommend qemu?Well fck oracle, that's what docs say
If they're wrong I'm no smarter than them.
If I'm you I'd dump VBox and start with Hyper-V and reading MS docs on passtrough.
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]Another adapter is not guarantee that you'll be able to use it in VM, you'll likely face same problem.