Skip to content

Instantly share code, notes, and snippets.

@emailrhoads
Created August 19, 2020 17:27
Show Gist options
  • Select an option

  • Save emailrhoads/34415e9f5df0687932fd99ee6161db99 to your computer and use it in GitHub Desktop.

Select an option

Save emailrhoads/34415e9f5df0687932fd99ee6161db99 to your computer and use it in GitHub Desktop.
[VirtualBox internet issues] #virtualbox
was having the same problem on Ubuntu 12.10 64bit using Virtualbox 4.2.22. Here are the steps I took to solve my problem:
Open Virtualbox Manager
Select the machine you cannot get internet on in the left pane
Click the Settings button in the top menu
Click Network in the left pane in the settings window
Switched to Bridged Adapter in the Attached to drop-down menu
Select the name of the network adapter you are currently using on your host machine. I am using wireless so I chose eth0 which is my wireless network adapter. You can check which adapter you are currently using by opening the terminal (CTRL+ALT+T by default) and running ifconfig. It will probably be the eth adapter that shows an inet addr and shows data transfer next to RX bytes.
Under Advanced, make sure the machine is using the Desktop Adapter Type
Under Advanced, make sure Promiscuous Mode is set to Allow VMs
Under Advanced, make sure Cable connected is checked on
Hit OK to save your changes
Start your VM
from:
https://askubuntu.com/questions/363003/no-internet-connection-on-virtualbox-windows-7-as-guest-ubuntu-13-04-as-host#:~:text=Open%20Virtualbox%20Manager,pane%20in%20the%20settings%20window&text=Select%20the%20name%20of%20the,using%20on%20your%20host%20machine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment