[Tutorial] Enable network connection in Android x86 4.0 ICS using VirtualBox

If you're an Android developer like me, you'll come to hate the sluggish performance of the emulator that came bundled with the SDK. So you try to install Android x86 as a VM in Virtual Box. Things work out pretty good and there's no more annoyance of the slow down. But one thing that you'll realize fast enough is THERE IS NO NETWORK CONNECTION! Googling for this and you'll come across to many workaround, which you might find it not working.


Following the instruction below to get the network connection working in Android x86 4.0 RC (eecpc version) on VirtualBox.


Several shortcut that you should know:
Alt+F1 : Enter terminal mode
Alt+F7 : Return to the GUI


1. Before starting your Android x86 VM, open up your terminal and enter the following. This will create a NAT rule:
VBoxManage modifyvm "Your Android VB name" --natpf1 adb,tcp,*,5555,*,5555

Alternatively, you could also add the NAT rule manually using the GUI.

Select your VM and click the Settings button at the toolbar.


Select Port Forwarding and add the following rules as shown.


2. Make sure the network is set as NAT. I've tried Bridged Networking but no avail.

3. Start up your VM and wait until it is boot up. Then enter terminal mode by pressing Alt+F1.


4. Type netcfg to make sure the interface is up and running. Try to send a ping to your default gateway and it should be successful.


5. Enter the following to use the Google DNS. You can use your own DNS server too.
setprop net.dns1 8.8.8.8

6. Return to GUI mode by pressing Alt+F7 and you can now start to browse the Internet!

5 comments

I dont have eth0 and no intenet :/

Reply

I've been reluctant in purchasing this blank ATM card i heard about on-line because everything seems too good to be true, but i was convinced & shocked when my friend at my place of work got the card from DAVID BENJAMIN COMPANY & we both confirmed it really works, without delay i gave it a go. I have been able to make a cash withdrawal of $5000 daily from the card and am glad i gave it a try at last & this card has really changed my life financially and no more hanging bills. If you need this card from genuine hackers then do not hesitate to contact davidbenjaminltd@outlook.com

Reply

I've been reluctant in purchasing this blank ATM card I heard about online because everything seems too good to be true, but I was convinced & shocked when my friend at my place of work got the card from JOHN HART & we both confirmed it really works, without delay I gave it a go. Ever since then I've been withdrawing $5000 daily from the card & the money has been in my own account. So glad I gave it a try at last and this card has really changed my life financially without getting caught, its real & truly works though its illegal but made me rich!! If you need this card from JOHN HART then here is his email: johnhart0022@gmail.com

Reply

I've been reluctant in purchasing this blank ATM card I heard about online because everything seems too good to be true, but I was convinced & shocked when my friend at my place of work got the card from JOHN HART & we both confirmed it really works, without delay I gave it a go. Ever since then I've been withdrawing $5000 daily from the card & the money has been in my own account. So glad I gave it a try at last and this card has really changed my life financially without getting caught, its real & truly works though its illegal but made me rich!! If you need this card from JOHN HART then here is his email: johnhart0022@gmail.com

Reply

Are you suffering financially? Or do you need urgent cash to pay your bills, or medications? Do not worry anymore because there is a lot that can solve all your problems without stress. You can change your life in a short time. Contact (Clifford Jackson) to obtain a blank [ATM MASTER CARD] and be among the lucky ones who benefit from these cards. I am a living testimony, I also applied for this card a month ago and now I have mine. This blank SMART ATM card is capable of hacking any ATM machine, anywhere in the world. I got to know this blank ATM CARD when I was looking for an online loan lender a month ago. It has really changed my life forever and now I can take care of my family. The least money I get in a day with this card is $5000 USD. Every day I have enough money to take care of my family. Although I was told it is illegal, I am very careful, there is no risk of getting caught, because it has been programmed in such a way that it is not traceable, and also makes the CCTV useless when withdrawing the money .. For more details on How to get a card Today, send an email to hackers in this email: cliffordhackerspays@gmail.com

Reply

Post a Comment

If you found this article or post helpful to you, feel free to enter your comments below ;)