Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently making use of virtualbox. My host is an ubuntu machine, as well as my guest. For some reason, my guest cannot connect to the internet. As like most posts I have seen on the internet, I have set my network adapter to NAT through virtual box.

I have tried everything I have seen on the internet, but no luck. Can anybody please give me any ideas on how I can solve this issue please?

The version I am currently using is qt 4.1.18. I downloaded it from the ubuntu software centre.

I have also tried installing another virtual machine, but neither does this have internet. (Set to NAT like the previous). Is it fair to assume that the problem is on the host side? Obviously, on the host I DO have internet.

As for the adapter type, I am making use of Intel PRO/1000 MT desktop.

Furthermore, the host connects to the internet through a wireless adapter

share|improve this question
Please post the output of ifconfig inside the virtual machine, so that we know how does Ubuntu see the virtual network interface. Post the output of ping -c 3, so that we know whether Ubuntu can ping the host. – ignis Apr 25 '13 at 10:31
up vote 1 down vote accepted

After a day and a half working on solving this problem, I finally found a turn around.

First I did a format of ubuntu (thanks to ubuntu this didnt take much time)

Rather than installing virtualbox from the ubuntu software centre, I downloaded a newer version from It in a .deb format and therefore was very easy to install

Next, I installed a guest vm with ubuntu, and managed to connect to the internet :)

I still have no clue why it initially did not work. Maybe the older version available on in the software centre has some kind of bug. However, I was not able to verify this.

share|improve this answer

You should add more info about your hardware and network, but you can try using bridged connection to your eth0 interface (or whatever you use) with PCnet-Fast III.

share|improve this answer
what kind of info are you looking for? I know my question is a little bit vague, but I honestly dont know where to start from. All the possible solutions I found on the internet did not work. – Goaler444 Apr 25 '13 at 0:13
Can you add new computers to your network, what type of network card you use, version of virtualbox, etc. – Fragles Apr 25 '13 at 0:24

Out of desperation I have solved this issue by creating two adapters n my virtual machines. The first attached to bridged adapter, wlan0, PCNET Fast III The second attached to NAT, Intel pro 1000

It now works so I won't be touching it...

share|improve this answer
you got this problem because you installed virtual box from the ubuntu software centre? – Goaler444 Apr 30 '13 at 20:57
No I was using the one from virtualbox site – alemur May 1 '13 at 7:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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