在VirtualBox 4.1.2上的Android x86中没有网络 [英] no network in Android x86 on VirtualBox 4.1.2
问题描述
我的问题与此问题几乎相同。我尝试了这些解决方案,但没有任何效果。但是我使用的是不同的Android x86映像。我正在使用ICS(4.0-RC1)asus_laptop图片。 (我之前尝试过使用其他映像,但无法安装。)
My issue is nearly identical to this question. I tried those solution and none worked. But I am using a different Android x86 image. I'm using the ICS (4.0-RC1) asus_laptop image. (I tried a different image previously and couldn't get it to install.)
我在Kubuntu 12.04上安装了VirtualBox 4.1.12。我遵循了这些步骤,并安装了 android-x86-4.0-RC1-asus_laptop我的VM中的.iso 映像。
I installed VirtualBox 4.1.12 on Kubuntu 12.04. I followed these steps and installed the android-x86-4.0-RC1-asus_laptop.iso image in my VM. It boots up and works correctly except for networking.
Alt-F1 netcfg
不会显示任何接口,除了lo( 127.0.0.1)。 eth0(应该可用)未显示。这使我无法尝试此处的解决方案。
Alt-F1 netcfg
shows no interfaces up except the lo (127.0.0.1). eth0, which should be available, is not shown. That prevents me from trying the solution here.
我正在检查的新引用
- 带有Internet连接的VirtualBox上的Android ICS x86
- http://groups.google.com/group/android-x86/browse_thread / thread / 30fa23d81cddfab1 / 2e480f6b9cbf773d
- 如何在VirtualBox中为Android Honeycomb设置网络?
- Android ICS x86 on VirtualBox with Internet Connection
- http://groups.google.com/group/android-x86/browse_thread/thread/30fa23d81cddfab1/2e480f6b9cbf773d
- How to setup network for Android Honeycomb in VirtualBox?
推荐答案
以下内容对我非常有用
sudo vi /etc/init.sh
添加4行w到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
在virtualbox上将网络接口设置为桥接(PCnet Fast III),就这些。
on virtualbox set the network interface to bridged (PCnet Fast III) and that's all.
这篇关于在VirtualBox 4.1.2上的Android x86中没有网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!