这次需要用windows安装virtualbox虚拟机,然后再安装linux,装好以后也安装了virtualbox的增强功能,可是还是无法上网。发现原来是网卡没有被激活。
# 查看网卡是否存在
# ethtool eth0
# 设置为当系统启动时一同加载网卡,打开文件,将ONBOOT设置为yes
# vim /etc/sysconfig/network-scripts/ifcfg-eth0
# service network restart
应该就好了
原文:http://my.oschina.net/u/924639/blog/528994