1

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?

Voltronika
  • 111
  • 4
  • I think that the solution you're looking is here: http://askubuntu.com/questions/198452/no-host-only-adapter-selected Good luck – cumanacr Jul 03 '15 at 21:35

1 Answers1

0

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.

Maythux
  • 84,289
  • 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