I can't connect to Internet from my virtualbox. This is my first attempt with a virtual machine so I am not sure what might be useful to mention, but here are some stuff I noticed or will hopefully be helpful:

  • I have Ubuntu (12.04) as host and Debian on virtualbox.
  • The browser fails to execute due to Input/output error.
  • I have tried to attach Adapter 1 with all options and non worked.
  • When I try to enable Adapter 2, there is a red message "no host-only network adapter is selected"
  • On my host machine, when I use -ifconfig -a, there is no indication of the virtualbox
  • I don't know what else to check or try...

Does anybody knows what might be the problem?


There are many modes of networking in virtual box. If you have internet in you host the easiest is to make it NAT as the image below.

enter image description here

There are many modes to do also. You can make it bridged and assign an ip to the client OS.

To learn more about networking in virtual box please refer to this and this.

  • What I meant by saying that I tried to attach Adapter 1 with all options was that I have already tried NAT and bridged and actually all the available modes. That's why I asked my question here. Something is still wrong. – Voltronika Jan 29 '14 at 17:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.