Android vitualBox

获取DHCP地址:
su
dhcpcd eth0
如果DHCP获取IP失败,那么手动设置IP
su ifconfig eth0 192.168.10.250 netmask 255.255.255.0 up route add default gw 192.168.0.1 dev eth0
设置DNS
setprop net.dns1 8.8.8.8

手动编辑vbox文件,添加如下分辨率
<ExtraDataItem name="CustomVideoMode1" value="480x800x16"/>
<ExtraDataItem name="CustomVideoMode2" value="320x480x16"/>
<ExtraDataItem name="CustomVideoMode3" value="540x960x16"/>
<ExtraDataItem name="CustomVideoMode4" value="720x1280x16"/>
<ExtraDataItem name="CustomVideoMode5" value="800x1280x16"/>

启动时,输入vga=ask

你可能感兴趣的:(android)