在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
阅读(3590) | 评论(0) | 转发(0) |