no network in Android x86 on VirtualBox 4.1.2

The following works very good for me

sudo vi /etc/init.sh

add 4 lines below to init.sh

netcfg eth0 dhcp
echo nameserver <ip> > /etc/resolv.conf
dnsmasq 
setprop net.dns1 8.8.8.8

on virtualbox set the network interface to bridged (PCnet Fast III) and that’s all.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)