ubuntu intel网卡驱动安装(华硕B250F GAMING主板 )

时间:2022-07-03 17:27:46
 jikexianfeng@jikexianfeng:~$ sudo sudo lspci -knn
:00.0 Host bridge []: Intel Corporation Device [:591f] (rev )
Subsystem: ASUSTeK Computer Inc. Device [:]
:02.0 VGA compatible controller []: Intel Corporation Device [:] (rev )
DeviceName: Onboard IGD
Subsystem: ASUSTeK Computer Inc. Device [:]
Kernel driver in use: i915
Kernel modules: i915
:14.0 USB controller [0c03]: Intel Corporation Device [:a2af]
Subsystem: ASUSTeK Computer Inc. Device [:]
Kernel driver in use: xhci_hcd
:16.0 Communication controller []: Intel Corporation Device [:a2ba]
Subsystem: ASUSTeK Computer Inc. Device [:]
Kernel driver in use: mei_me
Kernel modules: mei_me
:17.0 SATA controller []: Intel Corporation Device [:a282]
Subsystem: ASUSTeK Computer Inc. Device [:]
Kernel driver in use: ahci
Kernel modules: ahci
:1c. PCI bridge []: Intel Corporation Device [:a294] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
:1d. PCI bridge []: Intel Corporation Device [:a298] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
:1d. PCI bridge []: Intel Corporation Device [:a29a] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
:1f. ISA bridge []: Intel Corporation Device [:a2c8]
Subsystem: ASUSTeK Computer Inc. Device [:]
:1f. Memory controller []: Intel Corporation Device [:a2a1]
Subsystem: ASUSTeK Computer Inc. Device [:]
:1f. Audio device []: Intel Corporation Device [:a2f0]
Subsystem: ASUSTeK Computer Inc. Device [:]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
:1f. SMBus [0c05]: Intel Corporation Device [:a2a3]
Subsystem: ASUSTeK Computer Inc. Device [:]
Kernel modules: i2c_i801
:1f. Ethernet controller []: Intel Corporation Ethernet Connection () I219-V [:15b8]
Subsystem: ASUSTeK Computer Inc. Ethernet Connection () I219-V [:]
Kernel driver in use: e1000e
Kernel modules: e1000e
:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:]
Subsystem: ASUSTeK Computer Inc. ASM1142 USB 3.1 Host Controller [:]
Kernel driver in use: xhci_hcd

找到对应的网卡型号:Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
找到对应的驱动包:e1000e-3.4.2.1.tar.gz
找到对应的驱动包里面的ReadMe,按照步骤执行就可以了.

脚本如下:

 #!/bin/bash
sudo apt-get install tar
wget https://downloadmirror.intel.com/15817/eng/e1000e-3.4.2.1.tar.gz
sudo lspci -knn
tar -xzvf e1000e-3.4.2.1.tar.gz
cd e1000e-3.4.2.1/
cd src/
sudo make install
sudo rmmod e1000e; modprobe e1000e
sudo modprobe e1000e