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.

This question already has an answer here:

This question is not duplicate of this, because in my case, internet connection doesn't work on any version of Ubuntu as host (11.04, 12.04,.12.10), and the solution is different too, mine needed VirtualBox and extension pack from official website, not from USC, and it solved the problem.

Here is the question:

I downloaded VirtualBox from Ubuntu Software Center and had installed Lubuntu and Windows XP inside VirtualBox. Both are connected via NAT, I have tried other options too, but none of them works.

How do I share internet from host OS to guest OS? I'm using USB modem mobile broadband connection on host OS (Ubuntu Quantal).

I have read No internet connectivity in virtual-box with both Host and Virtual OS being 12.04, but still I don't know what to do. Can you give me step-by-step solution?

share|improve this question

marked as duplicate by Javier Rivera, Kevin Bowen, Eric Carvalho, con-f-use, Mateo Mar 27 '13 at 14:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Did you install guest additions? –  Mitch Mar 26 '13 at 15:09
    
@Mitch Yes I have installed it because I need shared folder. –  Nur Mar 26 '13 at 17:13
    
@BrandonLaizure I have searched in google before asking this question, and there is no specific solution for my question (Ubuntu and Windows as guest and Ubuntu as host) –  Nur Mar 26 '13 at 17:17
    
Take a look at This –  Mitch Mar 26 '13 at 17:17
    
I have no technical knowledge to understand it. –  Nur Mar 27 '13 at 8:05

1 Answer 1

up vote 1 down vote accepted

go to virtual box official web page, and then downlaod and install extension pack for version of vb you using now. then just simply when it is installed, go to settings, and usder usb submenu enable usb connection, and leave NAT as it is.

share|improve this answer
    
I'm using version 4.1.18 from USC, there is no extension pack for my version on official site. –  Nur Mar 26 '13 at 17:23
    
i suggest you oracle virtual box as linux official product –  Dimitris Theodoridis Mar 27 '13 at 5:26
    
I downloaded official virtualbox and extension and it works like a charm now, thanks! –  Nur Mar 27 '13 at 8:06
    
you are welcome bro –  Dimitris Theodoridis Mar 27 '13 at 9:29

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