An answer for Android 4.0, which is a combination of Goyuix's advice and other information on the internet.
- download the ASUS eeepc iso
- Choose Linux 2.6 32bit and PC-net fast III in the VM settings in Virtual Box.
- Install the OS. Create a "bootable" "primary" partition, and install OS as "read write".
- In Android 4.0 there's no Ethernet configuration in the settings page. Instead:
- Hit Alt+F1 to bring up the console.
- Type "netcfg". You should see "eth0" in the list.
- Follow the instructions here. For the sake of SO community they're reproduced as below:
- execute
ifconfig eth0 up
. (Note it is not "ipconfig"!)
- execute
dhcpcd -LK -d eth0
.
- Find out the DNS server's address in your network. In a typical setup this is the "default gateway" address of
ipconfig
on the host machine. Now execute setprop net.dns1 192.168.56.1
, substitute the correct IP address.
- Hit Alt+F7 to exit the console. It's still says "no connection" at the bottom right. But internet is working. Open the browser to verify.