ubuntu intel网卡驱动安装(华硕B250F GAMING主板 )
1 jikexianfeng@jikexianfeng:~$ sudo sudo lspci -knn 2 00:00.0 Host bridge [0600]: Intel Corporation Device [8086:591f] (rev 05) 3 Subsystem: ASUSTeK Computer Inc. Device [1043:8694] 4 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5912] (rev 04) 5 DeviceName: Onboard IGD 6 Subsystem: ASUSTeK Computer Inc. Device [1043:8694] 7 Kernel driver in use: i915 8 Kernel modules: i915 9 00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a2af] 10 Subsystem: ASUSTeK Computer Inc. Device [1043:8694] 11 Kernel driver in use: xhci_hcd 12 00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a2ba] 13 Subsystem: ASUSTeK Computer Inc. Device [1043:8694] 14 Kernel driver in use: mei_me 15 Kernel modules: mei_me 16 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:a282] 17 Subsystem: ASUSTeK Computer Inc. Device [1043:8694] 18 Kernel driver in use: ahci 19 Kernel modules: ahci 20 00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a294] (rev f0) 21 Kernel driver in use: pcieport 22 Kernel modules: shpchp 23 00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a298] (rev f0) 24 Kernel driver in use: pcieport 25 Kernel modules: shpchp 26 00:1d.2 PCI bridge [0604]: Intel Corporation Device [8086:a29a] (rev f0) 27 Kernel driver in use: pcieport 28 Kernel modules: shpchp 29 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a2c8] 30 Subsystem: ASUSTeK Computer Inc. Device [1043:8694] 31 00:1f.2 Memory controller [0580]: Intel Corporation Device [8086:a2a1] 32 Subsystem: ASUSTeK Computer Inc. Device [1043:8694] 33 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a2f0] 34 Subsystem: ASUSTeK Computer Inc. Device [1043:8723] 35 Kernel driver in use: snd_hda_intel 36 Kernel modules: snd_hda_intel 37 00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a2a3] 38 Subsystem: ASUSTeK Computer Inc. Device [1043:8694] 39 Kernel modules: i2c_i801 40 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] 41 Subsystem: ASUSTeK Computer Inc. Ethernet Connection (2) I219-V [1043:8672] 42 Kernel driver in use: e1000e 43 Kernel modules: e1000e 44 03:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242] 45 Subsystem: ASUSTeK Computer Inc. ASM1142 USB 3.1 Host Controller [1043:8675] 46 Kernel driver in use: xhci_hcd
找到对应的网卡型号:Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
找到对应的驱动包:e1000e-3.4.2.1.tar.gz
找到对应的驱动包里面的ReadMe,按照步骤执行就可以了.
脚本如下:
1 #!/bin/bash 2 sudo apt-get install tar 3 wget https://downloadmirror.intel.com/15817/eng/e1000e-3.4.2.1.tar.gz 4 sudo lspci -knn 5 tar -xzvf e1000e-3.4.2.1.tar.gz 6 cd e1000e-3.4.2.1/ 7 cd src/ 8 sudo make install 9 sudo rmmod e1000e; modprobe e1000e 10 sudo modprobe e1000e