After android-x86 loaded in VirtualBox I am configuring network(for Bridge):

route add default gw 192.168.0.1 dev eth0
setprop net.dns1 192.168.0.1

All goes fine but I don't want to write this commands any time I load virtual machine. Is there any way to write this commands in some config or somthing else?

有帮助吗?

解决方案

Add it to the end of /etc/init.sh

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top