virtualbox 不能联网。
- yudun1989
- 帖子: 75
- 注册时间: 2009-10-16 11:02
- 来自: &address
- 联系:
virtualbox 不能联网。
我用virtualboxOSE虚拟的windowsxp。开机等一切正常。想用NAT方式来连接到互联网上。一直不能成功。
virtualbox设置的 网络连接 1 PCnet-FAST III (NAT)
windows上面都是自动获得IP等。windows没问题!现在猜想就是可能我现在的ubuntu网络设置。或者是虚拟机网络设置的问题。
求高手前来诊断
virtualbox设置的 网络连接 1 PCnet-FAST III (NAT)
windows上面都是自动获得IP等。windows没问题!现在猜想就是可能我现在的ubuntu网络设置。或者是虚拟机网络设置的问题。
求高手前来诊断
上次由 yudun1989 在 2009-10-17 18:10,总共编辑 1 次。
hello ubuntu
- yudun1989
- 帖子: 75
- 注册时间: 2009-10-16 11:02
- 来自: &address
- 联系:
Re: virtualbox 不能联网。
这是ifconfig后的结果
eth0 Link encap:Ethernet HWaddr 00:1f:d0:b5:62:22
inet addr:172.16.119.32 Bcast:172.16.119.255 Mask:255.255.255.0
inet6 addr: fe80::21f:d0ff:feb5:6222/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:257167 errors:0 dropped:0 overruns:0 frame:0
TX packets:21357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36629823 (36.6 MB) TX bytes:13041213 (13.0 MB)
Interrupt:222 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2387 errors:0 dropped:0 overruns:0 frame:0
TX packets:2387 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:229656 (229.6 KB) TX bytes:229656 (229.6 KB)
eth0 Link encap:Ethernet HWaddr 00:1f:d0:b5:62:22
inet addr:172.16.119.32 Bcast:172.16.119.255 Mask:255.255.255.0
inet6 addr: fe80::21f:d0ff:feb5:6222/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:257167 errors:0 dropped:0 overruns:0 frame:0
TX packets:21357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36629823 (36.6 MB) TX bytes:13041213 (13.0 MB)
Interrupt:222 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2387 errors:0 dropped:0 overruns:0 frame:0
TX packets:2387 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:229656 (229.6 KB) TX bytes:229656 (229.6 KB)
hello ubuntu
- yudun1989
- 帖子: 75
- 注册时间: 2009-10-16 11:02
- 来自: &address
- 联系:
Re: virtualbox 不能联网。
补充一下。我重新安装后出现如下问题
Starting VirtualBox host networkingWarning - failed to create the interface vbox0 for the user br0
Warning - failed to create the interface yudun1989 for the user br0
* Starting VirtualBox kernel module vboxdrv [ OK ]
Starting VirtualBox host networkingWarning - failed to create the interface vbox0 for the user br0
Warning - failed to create the interface yudun1989 for the user br0
* Starting VirtualBox kernel module vboxdrv [ OK ]
hello ubuntu
- 白鳍豚
- 帖子: 2356
- 注册时间: 2009-01-19 23:03
- yudun1989
- 帖子: 75
- 注册时间: 2009-10-16 11:02
- 来自: &address
- 联系:
- 白鳍豚
- 帖子: 2356
- 注册时间: 2009-01-19 23:03
- yelion
- 帖子: 51
- 注册时间: 2009-10-08 21:28
- 来自: 湖南人在天津
- 联系:
Re: virtualbox 不能联网。
你看看 下面的状态栏 有个联网的标志,右键看看有没有给勾上。
代码: 全选
if(age < 30 && alive()){
coding();
}
else
continueCoding();
- yudun1989
- 帖子: 75
- 注册时间: 2009-10-16 11:02
- 来自: &address
- 联系:
- yudun1989
- 帖子: 75
- 注册时间: 2009-10-16 11:02
- 来自: &address
- 联系:
Re: virtualbox 不能联网。
白鳍豚 写了:自己看,参照折腾。虚拟机联网很简单的
问一下大师。你觉得是不是我这客户端的问题?因为我这用的是drcom客户端。学校的。以前在win 的时候。 drcom好像占用着端口。打魔兽的时候都必须把客户端关掉。而且自己用phpmyadmin的时候也必须把客户端关掉。然后win socket reset.
?现在我觉得一切设置的都好好的。
hello ubuntu
- yudun1989
- 帖子: 75
- 注册时间: 2009-10-16 11:02
- 来自: &address
- 联系:
- wangdu2002
- 帖子: 13284
- 注册时间: 2008-12-13 19:39
- 来自: 物华天宝人杰地灵
Re: virtualbox 不能联网。
不用ose版本,直接用官方deb会不会不能设置NAT方式上网。
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
海内生明月,天涯共此夕。
--------------------吾本独!
- yudun1989
- 帖子: 75
- 注册时间: 2009-10-16 11:02
- 来自: &address
- 联系:
- 白鳍豚
- 帖子: 2356
- 注册时间: 2009-01-19 23:03
Re: virtualbox 不能联网。
不好意思。水平菜,校园网没有用过帮不上你了
通常主机能上网,NAT客户端就能上网
我比较喜欢用bridged直接连网卡
通常主机能上网,NAT客户端就能上网
我比较喜欢用bridged直接连网卡
- 白鳍豚
- 帖子: 2356
- 注册时间: 2009-01-19 23:03
Re: virtualbox 不能联网。
不要用ose版,用bin版试试。deb貌似官网有下载,arch仓库里就有yudun1989 写了:不过我在win用vmware的时候客户机可以上的阿。。。。。。
vbox和vm差别很大,不过用习惯了都差不多