http://stackoverflow.com/questions/8227825/android-x86-porting-unable-to-make-it-work
In my case, the gateway address was 192.168.0.254 and the DNS server
was 192.168.0.10. I select an IP address for the VirtualBox host from
the unused ones (192.168.0.250).
1) First of all, I set my VirtualBox network configuration:
Attached to: Bridged Adapter
Adapter type: PCnet-FAST III
2) After that, I start Android from VirtualBox; after boot, I open a
root shell, pressing Alt+F1
3) Here, I use these commands:
ifconfig eth0 up 192.168.0.250
route add default gw 192.168.0.254 dev eth0
setprop net.dns1 192.168.0.10
4) Now, I return to Android (Alt + F7), and I can surf on internet!
Unfortunately, this process must be followed each time
On 25 Nov, 11:02, VitoShadow <ragazzom...@hotmail.com> wrote:
> If someone knows how can solve this problem, please see also this
> question at stackoverflow.com:
>
> http://stackoverflow.com/questions/8227825/android-x86-porting-unable...
Works for me simply by running the network device as bridged, rather
than the default, which I think is NAT.
hope it helps,
Thanks you all,
BTW, really wish there was a way to make it permanent, so I wont have
to run these commands every time I start this...
maybe so bash script in the 'etc' folder?
2011/11/26 Gal <gal...@gmail.com>:
> well, solved it!, there where two things needed to do:
> 1) change the network settings from 'Public Network" to 'Home
> Network' at the 'Network and Sharing Center"
> (thanks to thread <a href="http://www.sevenforums.com/network-sharing/
> 128023-default-gateway-not-available.html">this</a> thread).
> 2) in ifconfig line needed to add netmask to 255.255.255.0, which is
> the default netmask/submask
--
Chih-Wei
Android-x86 project
http://www.android-x86.org