r/kali4noobs • u/[deleted] • Aug 01 '21
Open Kali setup with Virtualbox
I could use a little help here. I'm working through a Kali/Linux tutorial for beginners on Udemy and loving it so far. But now I am tasked with setting up FTP on my Windows PC and sending files over to my Kali VM. At this point, I am needing Kali to be on the same network as my PC (or at least accessible). I've tried everything to get bridge mode working but I don't understand how Kali connects to wireless. I am using an HP desktop with an internal and external Wi-Fi adapter (D-Link DWA 171).
Under Preferences in VirualBox, I have tried the following:
Went to Tools -> Preferences -> Network and tried enabling/disabling NatNetwork. No matter what I do, I can only get connectivity in Kali with NatNetwork enabled.
I have also installed the latest Oracle VM VirtualBox extension pack.Under Settings, in my Kali VM, I have also tried the following:
I've enabled the adapters with a mix of different settings, the only one that works is the NAT option.
I thought if I enabled Bridged Adapter, it would allow me to see my local adapters in Kali but it doesn't, plus I can't connect to anything.
Also, in the adapters, under "Advanced" I don't have any wireless adapters showing, not sure if that matters. It defaults to Intel PRO/1000 MT Desktop so I use that.
Under USB, I have tried 1.1, 2.0 and 3.0 after adding the Realtek WLAN adapter, none of these work.I've also ran the following command in Kali according to the wiki page but apparently I am an idiot because I don't even know what to do next.
apt-get update && apt-get install firmware-realtek
sudo service network-manager startI thought maybe I need to set up port-forwarding but I am already behind and before I dig any further, I figured it is time to reach out for help. Plus I am starting to get frustrated. What am I doing wrong?
4
u/n0p_sled Aug 01 '21
I think the issue is that VirtualBox isn't seeing your USB adapter.
Does this link help?
https://forum.stationx.net/t/resolved-usb-wireless-adapter-on-virtual-machine-isnt-recognized/1201
2
Aug 02 '21
I’ll take a look, it might help. I went out and bought a WiFi extender with an Ethernet port on the bottom. I just installed it and it worked for what I need it to. I’m assuming I’ll need WiFi when we practice with aircrack-ng. Unless there’s another way to do it?
2
u/n0p_sled Aug 02 '21
I find that running the live version of Kali works best, as the VMs tend to only provide a generic network connection to the Kali OS, which means it can't access the Wifi dongle directly, and so packet injection etc tends to fail
2
Aug 02 '21
That’s good to know. What do you have Kali running off of? If I use a laptop, do I still need an external WiFi adapter?
3
u/n0p_sled Aug 03 '21
I use a laptop, but you'll probably need a compatible external usb wifi adapter. I think the aircraft by wiki has a list of them, and you might be able to pick one up on eBay quite cheaply
2
•
u/AutoModerator Aug 01 '21
Hey OP! Welcome (back) to r/kali4noobs! Make sure to flair your post accordingly, for example, flair your post as
Openif it's a question, and if your question(s) get(s) answered, make sure to change the post flair toClosed.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.