admin管理员组文章数量:1531727
网卡驱动的安装
准备工作
- 查找网卡的型号
查看网卡的型号有两种途径,一个是直接查看物理网卡硬件上面的厂商标识,此种方式一般需要对桌面机或者服务器进行拆机操作才能查看;另一个是从计算机厂商网站上查看对应型号的硬件列表,以此来确定物理网卡的确切型号.
还有一种方式,使用 lspci(列出连接到 PCI 总线上的所有设备) 指令进行筛选.
[root@centos7 ~]#
[root@centos7 ~]# lspci | grep -i ethernet
02:00.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
[root@centos7 ~]#
- 查找系统文件(/lib)中是否包含支持的驱动文件
/lib/modules/release/kernel/drivers
目录中查找所支持的所有驱动程序,其中的release
是 unix 的版本型号,使用uname -a
进行核对.该目录下的/net
目录存储的是支持的所有网络设备列表;其内的/ethernet
目录存储的是支持的以太网卡
设备.
总言之,/drivers
目录里的驱动文件,罗列了通用的支持列表,若是自己的设备没有对应的文件,就需要去手动下载驱动文件了.
[root@centos7 ~]#
[root@centos7 ~]# uname -a
Linux centos7 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@centos7 ~]# ls /lib/modules/3.10.0-862.14.4.el7.x86_64/kernel/drivers/
acpi bcma char dca firmware hv infiniband leds message mtd nvme pinctrl pps scsi thermal uwb virtio
ata block cpufreq dma gpio hwmon input md mfd net parport platform ptp ssb tty vfio watchdog
auxdisplay bluetooth crypto edac gpu i2c iommu media misc ntb pci power
版权声明:本文标题:centos7-如何手动安装网卡驱动文件 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1725515975a1026885.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论