admin管理员组文章数量:1130349
查看网卡型号
lspci | grep -i net
示例1
[root@zyq ~]# lspci | grep -i net
1a:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GbE SFP+ (rev 09)
- 设备地址(PCI地址):1a:00.0
- 设备类型:以太网控制器
- 制造商:Intel Corporation
- 设备型号:Ethernet Connection X722 for 10GbE SFP+
- 固件版本:rev 09
示例2
[root@zyq ~]# lspci | grep -i net
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-V (rev 31)
03:00.0 Network controller: Intel Corporation Wireless 8260 (rev 42)
-
第一个设备是一个以太网控制器,由Intel Corporation生产,型号为Ethernet Connection (5) I219-V,版本号为rev 31。
-
第二个设备是一个网络控制器,也由Intel Corporation生产,型号为Wireless 8260,版本号为rev 42。这是一个无线网络适配器,用于连接无线网络。
查看网卡驱动
方法一
ethtool -i enp0s31f6
方法二
lspci -k -s 00:1f.6
上面提到的两个参数是用来指定lspci命令的选项和参数:
-
-k:这是lspci命令的一个选项,用于显示与每个PCI设备相关的内核模块信息。通过使用-k选项,您可以查看与特定PCI设备关联的驱动程序名称。 -
-s:这是lspci命令的另一个选项,用于指定要显示信息的PCI设备的地址。PCI设备通常由总线号和设备号来标识,例如,00:1f.6和03:00.0是两个示例设备的地址。通过使用-s选项,您可以告诉lspci命令要显示哪个PCI设备的信息。
示例一
[root@zyq ~]# ethtool -i enp0s31f6
driver: e1000e
version: 3.2.6-k
firmware-version: 0.1-3
expansion-rom-version:
bus-info: 0000:00:1f.6
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
示例二
[root@zyq ~]# lspci -k -s 00:1f.6
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-V (rev 31)
Subsystem: Lenovo Device 505d
Kernel driver in use: e1000e
Kernel modules: e1000e
[root@zyq ~]# lspci -k -s 03:00.0
03:00.0 Network controller: Intel Corporation Wireless 8260 (rev 42)
Subsystem: Intel Corporation Device 1130
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
-
以太网控制器(Ethernet Connection I219-V)的信息如下:
- 设备地址:00:1f.6
- 制造商:Intel Corporation
- 设备名称:Ethernet Connection (5) I219-V (rev 31)
- 子系统:Lenovo Device 505d
- 正在使用的内核驱动程序:e1000e
- 内核模块:e1000e
-
无线网络控制器(Wireless 8260)的信息如下:
- 设备地址:03:00.0
- 制造商:Intel Corporation
- 设备名称:Wireless 8260 (rev 42)
- 子系统:Intel Corporation Device 1130
- 正在使用的内核驱动程序:iwlwifi
- 内核模块:iwlwifi
查看网卡驱动详情
modinfo <driver>
示例
[root@zyq ~]# modinfo iwlwifi
filename: /lib/modules/3.10.0-693.el7.x86_64/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko.xz
license: GPL
author: Copyright(c) 2003- 2015 Intel Corporation <linuxwifi@intel>
description: Intel(R) Wireless WiFi driver for Linux
...
查看网卡型号
lspci | grep -i net
示例1
[root@zyq ~]# lspci | grep -i net
1a:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GbE SFP+ (rev 09)
- 设备地址(PCI地址):1a:00.0
- 设备类型:以太网控制器
- 制造商:Intel Corporation
- 设备型号:Ethernet Connection X722 for 10GbE SFP+
- 固件版本:rev 09
示例2
[root@zyq ~]# lspci | grep -i net
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-V (rev 31)
03:00.0 Network controller: Intel Corporation Wireless 8260 (rev 42)
-
第一个设备是一个以太网控制器,由Intel Corporation生产,型号为Ethernet Connection (5) I219-V,版本号为rev 31。
-
第二个设备是一个网络控制器,也由Intel Corporation生产,型号为Wireless 8260,版本号为rev 42。这是一个无线网络适配器,用于连接无线网络。
查看网卡驱动
方法一
ethtool -i enp0s31f6
方法二
lspci -k -s 00:1f.6
上面提到的两个参数是用来指定lspci命令的选项和参数:
-
-k:这是lspci命令的一个选项,用于显示与每个PCI设备相关的内核模块信息。通过使用-k选项,您可以查看与特定PCI设备关联的驱动程序名称。 -
-s:这是lspci命令的另一个选项,用于指定要显示信息的PCI设备的地址。PCI设备通常由总线号和设备号来标识,例如,00:1f.6和03:00.0是两个示例设备的地址。通过使用-s选项,您可以告诉lspci命令要显示哪个PCI设备的信息。
示例一
[root@zyq ~]# ethtool -i enp0s31f6
driver: e1000e
version: 3.2.6-k
firmware-version: 0.1-3
expansion-rom-version:
bus-info: 0000:00:1f.6
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
示例二
[root@zyq ~]# lspci -k -s 00:1f.6
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-V (rev 31)
Subsystem: Lenovo Device 505d
Kernel driver in use: e1000e
Kernel modules: e1000e
[root@zyq ~]# lspci -k -s 03:00.0
03:00.0 Network controller: Intel Corporation Wireless 8260 (rev 42)
Subsystem: Intel Corporation Device 1130
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
-
以太网控制器(Ethernet Connection I219-V)的信息如下:
- 设备地址:00:1f.6
- 制造商:Intel Corporation
- 设备名称:Ethernet Connection (5) I219-V (rev 31)
- 子系统:Lenovo Device 505d
- 正在使用的内核驱动程序:e1000e
- 内核模块:e1000e
-
无线网络控制器(Wireless 8260)的信息如下:
- 设备地址:03:00.0
- 制造商:Intel Corporation
- 设备名称:Wireless 8260 (rev 42)
- 子系统:Intel Corporation Device 1130
- 正在使用的内核驱动程序:iwlwifi
- 内核模块:iwlwifi
查看网卡驱动详情
modinfo <driver>
示例
[root@zyq ~]# modinfo iwlwifi
filename: /lib/modules/3.10.0-693.el7.x86_64/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko.xz
license: GPL
author: Copyright(c) 2003- 2015 Intel Corporation <linuxwifi@intel>
description: Intel(R) Wireless WiFi driver for Linux
...
版权声明:本文标题:linux查看网卡型号和驱动信息 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1754678964a2715631.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论