技术解析

ubuntu 下无法以太网连接, iconfig 以及 lspci 下都无法找到 Ethernet controller。
0
2021-06-22 12:22:00
idczone

如图,ubuntu18.04 的系统

[email protected]:~$ ifconfig -a
lo: flags=73  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10
        loop  txqueuelen 1000  (本地环回)
        RX packets 1494  bytes 131087 (131.0 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1494  bytes 131087 (131.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp7s0: flags=4163  mtu 1500
        inet 172.20.10.4  netmask 255.255.255.240  broadcast 172.20.10.15
        inet6 2409:8970:10a1:4fe1:b131:3b84:28ea:5a99  prefixlen 64  scopeid 0x0
        inet6 fe80::71c8:a45:8f55:25f1  prefixlen 64  scopeid 0x20
        inet6 2409:8970:10a1:4fe1:97d:aa16:352a:4a58  prefixlen 64  scopeid 0x0
        ether 30:3a:64:77:82:8d  txqueuelen 1000  (以太网)
        RX packets 11258  bytes 8669651 (8.6 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10096  bytes 2159947 (2.1 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
[email protected]:~$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x8 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:04.0 Signal processing controller: Intel Corporation Device 0c03 (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
07:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
0a:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)

只能找到 wireless 的,就是没有 ethernet 的,求助求助,该如何是好。


世界上最好的解决方式就是恰好不需要解决,换 mac 吧,工友

lspci 如果都看不到,那就是没有了
lspci 看设备,并不需要设备被驱动作为前提

omg 我想是不是因为内核的缘故 无法识别。因为我这个机子是四年前的,之前是 win 系统可以有线连接,最近换成 ubuntu 了。

你知道数据该怎么转移吗朋友。

配置文件,代码用 git 管理啊,其他的文件可以网盘 U 盘呀

这事跟内核没多大关系。既然能认出总线上其他设备,说明内核对总线的访问是正常的

记得很早之前有个 bug 是:windows 下休眠,linux 下就再也看不到网卡了。bios 里面禁用网卡再启用事实。如果 bios 不支持禁用板载网卡声卡等,记得今后不要买该品牌的产品了。

原来如此,谢谢你

该换 mac 了。。

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服