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 had vmware player installed but decided to replace it with VirtualBox. I installed it from aptitude normally:

apt-get install virtualbox-ose

Everything went fine and it was able to build/insert kernel modules. I verified this by:

lsmod | grep vbox

with the output:

vboxpci                23200  0 
vboxnetadp             13382  0 
vboxnetflt             23441  0 
vboxdrv               287082  4 vboxpci,vboxnetadp,vboxnetflt

However, there was something weird in the installation, I got:

* Stopping VirtualBox kernel modules                             [ OK ] 
* Starting VirtualBox kernel modules                     
* No suitable module for running kernel found

I can normally create and start guest machines. However, the problem is that the virtual network interface that is created by virtual box is not shown when issuing:


As a result I can't connect to the guest from ssh or http or even ping.

Note: guest network mode is NAT and it is bound to a dhcp IP from dchp server!

What am I missing here?

share|improve this question
Use ifconfig -a to check the network interface is available. and post the output – Manula Waidyanatha Jul 24 '12 at 10:35
That's my problem in essence! ifconfig -a only shows eth0 and lo but not other virtual vbox interfaces – hammady Jul 24 '12 at 11:38
run dhclient eth0 inside the virtual machine. Then check the network connection [ping or ssh] – Manula Waidyanatha Jul 25 '12 at 3:58
guys, the guest has no problem at all, it is bound to a DHCP IP and can access the internet, the problem is in the host, I can't find its virtual interface and can't ssh to the guest from it – hammady Jul 25 '12 at 6:27
I ended up by configuring the guest as bridged network so that I can access it from the host as a peer on the physical network. I wished I could access it in the NAT mode as I used to previously. – hammady Jul 29 '12 at 8:30

Your Answer


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

Browse other questions tagged or ask your own question.