Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
                                                                 [fail]

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:

ifconfig

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 10.0.2.15 from dchp server 10.0.2.2!

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
show 1 more comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.