No internet connectivity in virtual-box with both Host and Virtual OS being 12.04

113,700

Solution 1

The NAT connection needed to be selected with the hardware being:

AMD PCNet FAST III (Am79C973, the default)

This works with almost any OS (as mentioned on the Virtualbox help page). The Intel setting for some reason did not work.

For Network setups with heavy router settings, you may have to use Bridged option with "PCNet FAST III" as the default.

Solution 2

VB likely made a "Unidentied Network" connection to your real machine and it uses this as its source for internet connection. Follow the settings below to check your basics for getting internet to work in you virutal OS.

Network Settings: *Select NAT under "Attached to:" *"Adapter Type:" MT Desktop (only can be changed when vm power is shut off) *"Cable connected" box is checked

System Settings: *"Network" box is checked in the "Boot Order:" listing.

Solution 3

Just wanted to let everybody know that I fixed the issue by uninstalling Virtualbox from the Software Centre, and by installing the copy I found on virtualbox.org website. Then I also set the adapter to AMD PCNet FAST III (Am79C973, the default)

Share:
113,700
Nirmik
Author by

Nirmik

A true LINUX lover and APPLE fan!! An aspiring OS DEVELOPER i love to work on linux. :) With an encounter with linux from the past 1year,I have definitely succeded in creating a LINUX community around with many friends. Love LINUX for every bit of it..!! :) <3

Updated on September 18, 2022

Comments

  • Nirmik
    Nirmik almost 2 years

    I have Precise 12.04 installed as the host OS. In VirtualBox,I also have installed 12.04.

    I am not able to connect the Virtual 12.04 to the host internet. I have tried selecting all the available options in the network adapters (NAT,Host only,Bridge,etc), but non of them is working. In the some options some stuff has to be entered manually, which I do not know what to enter.

    Where am I going wrong in the settings?

    • Javier Rivera
      Javier Rivera about 12 years
      NAT network should work out of the box. Can you provide some detail about your host network configuration?
    • Nirmik
      Nirmik about 12 years
      Yeah it worked...with ubuntu...i've answered my own question below..(PS: would like help with the android stuff if possible ;))
  • nilsonneto
    nilsonneto about 12 years
    you should accept your own answer to close the question. Note for the future - please do not add "solved" to the question title. You just accept the answer to close. Thanks.