J4125 I225-V 网口无法在centos7.9上被识别原因


J4125 I225-V 网口无法在centos7.9上被识别原因

1
https://cloud.tencent.com/developer/ask/sof/116354863

备注:

I225系列在CentOS 7.9中不受支持,并要求它们的igc驱动程序可供CentOS下载以重新编译

以下页面可以查到
CentOS 8.1,CentOS 8.2,CentOS 8.3 支持I225-v驱动
CentOS 7.9 以及之前的 不支持I225-v驱动

1
https://www.intel.com/content/www/us/en/support/articles/000055236/ethernet-products/gigabit-ethernet-controllers-up-to-2-5gbe.html

我刚刚在桌面电脑上安装了Centos7,因为我需要这个特定的操作系统来兼容我正在使用的计算机辅助设计软件。安装工作进行得很顺利,但我的网络不工作

1
ifconfig -a

输出如下信息:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
enp0s21f0u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.50.81  netmask 255.255.255.0  broadcast 192.168.50.255
        inet6 fe80::91b3:7674:3347:c08c  prefixlen 64  scopeid 0x20<link>
        ether 00:0e:c6:35:7e:cf  txqueuelen 1000  (Ethernet)
        RX packets 928890  bytes 1027853632 (980.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 537802  bytes 42665436 (40.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 85  bytes 6940 (6.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 85  bytes 6940 (6.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:d4:2e:e8  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0-nic: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 52:54:00:d4:2e:e8  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

注意: lspci -n为这两种设备提供了以下代码

1
lspci -n

输出如下信息:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00:00.0 0600: 8086:31f0 (rev 06)
00:02.0 0300: 8086:3185 (rev 06)
00:0e.0 0403: 8086:3198 (rev 06)
00:0f.0 0780: 8086:319a (rev 06)
00:11.0 0050: 8086:31a2 (rev 06)
00:12.0 0106: 8086:31e3 (rev 06)
00:13.0 0604: 8086:31d8 (rev f6)
00:13.1 0604: 8086:31d9 (rev f6)
00:13.2 0604: 8086:31da (rev f6)
00:13.3 0604: 8086:31db (rev f6)
00:14.0 0604: 8086:31d6 (rev f6)
00:14.1 0604: 8086:31d7 (rev f6)
00:15.0 0c03: 8086:31a8 (rev 06)
00:1f.0 0601: 8086:31e8 (rev 06)
00:1f.1 0c05: 8086:31d4 (rev 06)
01:00.0 0200: 8086:15f3 (rev 03)
02:00.0 0200: 8086:15f3 (rev 03)
03:00.0 0200: 8086:15f3 (rev 03)
04:00.0 0200: 8086:15f3 (rev 03)

原因.Centos 7.9 不支持 I225-V ,默认没有安装I225-V的驱动.可以从如下页面找驱动

1
https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html


Leave a Reply

Your email address will not be published. Required fields are marked *