hyper-v ubuntu 网卡无法识别

3683阅读 0评论2011-10-04 baill
分类:LINUX

在windows server 2008 R2中,使用hyper安装ubuntu时,发现无法识别网卡(Microsoft Virtaul Machine Bus Network Bus Adapter),尝试使用如下命令查找硬件信息无果
lspci
dmesg 
dmidecode
最后在hyper-v中删除虚拟机的网络适配器,再重新添加旧版网络适配器后正常。便需修改如下配置文件
vi /etc/network/interface
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
gateway 192.168.0.254
auto eth0

ifup eth0


上一篇:blat自动发送邮件脚本
下一篇:SELinux与vsftp