Internet works perfectly on host (Ubuntu 13.04, 32 bit, fully updated) but cannot connect to internet on guest Windows 7 (under Virtualbox 4.2).Have tried NAT and Bridge Network - none worked. I had internet connection in the guest OS a couple of months ago, but I haven't tried the virtualbox since and now it's gone for some reason. I would be grateful if someone could help me re-connect the windows OS back online (without the need to format my computer or to uninstall and re-install the guest OS).Thanks!
At that point you should be able to start a web browser in your VM and get a connection. This video provided the information I listed above, even though they are using a Windows 7 host with a Windows Server guest.
Another solution: If you are on windows Host, Go to Control Panel\Network and Internet\Network Connections right click any of the Virtualbox adapter and select Diagnose, let it do its thing and if it finds some anomaly with the adapter it will give you a prompt to reset the adapter by Apply the recommended solution/changes , you opt in for that, after its done, you most probably should have the network back to normal in your virtual machine.
For wireless to work, in my machines anyway, the WiFi MAC address in Settings must match the hardware, and wlan0 must be selected (when host Internet comes through wireless).
I had the same problem with a VirtualBox VM (5.9.14) that was working previously and stopped working after a shutdown/reboot. In my case the VB option "cable connected" got disabled for some obscure reason.Enabling that again made everything work again (no need for promiscuous mode in this case since I'm not doing anything requiring this - no WireShark or anything of that kind)Bottom line: do not assume that the Network configuration for your VM is correct. If you have problems, review that part of the configuration.
I ended up finding that my issue was in regards to my Network Center. Ensure that the wifi you are connected to is sharing internet, with the VirtualBox wifi adapter. This configuration is under the adapter settings in Network and Sharing Center.
d3342ee215