我在VMware系统上有一个干净的Xenial安装,并且没有找到以太网设备。(由于我不能将输出剪切并粘贴到这个窗口中,所以如果我删除一些命令输出,请耐心等待)。
% ifup eth0
Unknown interface eth0
% ifconfig eth0 up
eth0: ERROR while getting interface flags: No such device
% sudo lshw -C network
*-network DISABLED
description: Ethernet interface
product: 82545EM Gigabit Ethernet Controller (Copper)
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: ens32
version: 01
serial: 00:50:56:a5:1e:b5
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 66MHz
capabilities: pm pcix ... [many capabilities]
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI ... [more less-relevant config]
resources: irq:18 memory:d1020000-d103ffff memory:d1000000-d100ffff ioport:2000(size=64) memory:d1010000-d101ffff
% lspci -nnk | grep -i -A2 net
02:00.0 Ethernet controller [0200]: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) [8086:100f] (rev 01)
Subsystem: VMware PRO/1000 MT Single Port Adapter [15ad:0750]
Kernel driver in use: e1000
But nothing is using the e1000 driver:
% lsmod | grep e1000
e1000 135168 0
And the driver is not blacklisted:
% grep e1000 /etc/modprobe.d/*
%我不知所措。如果有人能给我一条线索,我将不胜感激。
发布于 2016-09-30 17:56:11
造成这种情况的原因可能有很多,而且您的信息不足以进行全面的故障排除。
但是如果您运行“ifconfig-a”,它将显示系统中所有可用的网络接口。
最可能的结果是,“ifconfig-a”将向您显示具有不同名称的卡。例如,它可能是“emX”而不是“ethX”。您应该配置并开始使用新的接口。
如果没有出现以太网卡,很可能是驱动程序问题,但在研究此路由之前,您应该检查“ifconfig-a”输出。
https://askubuntu.com/questions/831658
复制相似问题