ubuntu intel网卡驱动安装

本文详细记录了在Ubuntu 14.04 LTS系统上安装Intel Corporation Ethernet Connection(2) I219-V网卡驱动的过程,包括使用lspci命令查看硬件信息,下载并安装e1000e-3.4.2.1驱动包,以及通过sudo make install和sudo modprobe e1000e完成驱动的更新。

cm@cm:~/e1000e-3.4.2.1/src$ sudo lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:591f] (rev 05)
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5912] (rev 04)
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a2af]
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
    Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a2ba]
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:a282]
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
    Kernel driver in use: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a294] (rev f0)
    Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a298] (rev f0)
    Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a2c8]
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.2 Memory controller [0580]: Intel Corporation Device [8086:a2a1]
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a2f0]
    Subsystem: ASUSTeK Computer Inc. Device [1043:86c9]
    Kernel driver in use: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a2a3]
    Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
    Subsystem: ASUSTeK Computer Inc. Device [1043:8672]
    Kernel driver in use: e1000e

 

找到对应的网卡型号:Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]

 

找到对应的驱动包:e1000e-3.4.2.1.tar.gz

找到对应的驱动包里面的ReadMe,按照步骤执行就可以了.

下面是我的history:

 sudo lspci -knn
 1993  cd e1000e-3.4.2.1/
 1994  ls
 1995  cd src/
 1996  ls
 1997  sudo make install
 1998  sudo rmmod e1000e; modprobe e1000e
 1999  sudo modprobe e1000e

完成后会出现网卡已经链接的提示.

以上内容我的系统14.04 LTS

### 安装或更新 Ubuntu 系统中的英特尔网卡驱动Ubuntu 系统中安装或更新英特尔网卡驱动,通常需要根据具体的网卡型号选择合适的驱动版本,并确保与当前系统内核兼容。以下是一个详细的指南,涵盖查看网卡型号、下载驱动、解压、安装以及验证驱动是否生效的全过程。 --- #### 查看网卡型号 首先,确认你的英特尔网卡型号。可以通过以下命令查看: ```bash lspci -nn | grep -i net ``` 该命令会列出所有网络适配器的信息,包括无线和有线网卡。找到与英特尔相关的设备,例如 `Network controller: Intel Corporation ...` 或 `Ethernet controller: Intel Corporation ...` [^1]。 --- #### 下载合适的驱动 访问英特尔的官方驱动页面,根据你的网卡型号选择对应的 Linux 驱动程序: - **英特尔® 无线适配器的 Linux* 支持页面**:[Intel® Wireless Adapters Linux* Support](https://www.intel.cn/content/www/cn/zh/support/articles/000005511/wireless.html) - **英特尔® 有线网卡驱动**:[Intel® Network Adapter Driver for PCIe Intel® Gigabit Ethernet Network Connections](https://www.intel.com/content/www/us/en/download/14611/intel-network-adapter-driver-for-pcie-intel-gigabit-ethernet-network-connections-under-linux-final-release.html) 例如,如果你使用的是 `i219-V` 有线网卡,可以下载 `e1000e` 驱动;如果是无线网卡如 `Wireless-AC 9560`,则应下载对应的无线驱动包 [^3]。 --- #### 解压驱动包 下载完成后,使用 `tar` 命令解压驱动包。假设你下载的是 `e1000e-3.8.4.tar.gz`: ```bash sudo tar zxf e1000e-3.8.4.tar.gz ``` 进入解压后的目录: ```bash cd e1000e-3.8.4/src/ ``` --- #### 编译并安装驱动 确保系统中已安装必要的编译工具: ```bash sudo apt install build-essential ``` 然后编译并安装驱动模块: ```bash sudo make install ``` 安装完成后,加载新的驱动模块: ```bash sudo modprobe -r e1000e # 先卸载旧模块(如果有) sudo modprobe e1000e # 加载新模块 ``` --- #### 验证驱动是否生效 使用以下命令检查驱动是否成功加载: ```bash lsmod | grep e1000e ``` 查看网络接口状态: ```bash ip a ``` 如果看到 `eth0` 或 `enpXsY` 等接口并分配了 IP 地址,说明驱动已成功加载。 --- #### 升级内核以支持新驱动 有时,旧内核可能不支持最新的驱动版本。可以使用以下命令查看当前内核版本: ```bash uname -r ``` 如果驱动要求更高版本的内核,可以通过以下命令升级: ```bash sudo apt update sudo apt upgrade sudo apt dist-upgrade ``` 也可以安装更高版本的内核(如 HWE 内核): ```bash sudo apt install linux-generic-hwe-20.04 ``` 安装完成后重启系统: ```bash sudo reboot ``` --- #### 自动更新驱动(可选) 为了确保驱动在系统更新后仍然可用,可以将驱动编译为 DKMS 模块,使其在每次内核更新时自动重新编译。 安装 DKMS 工具: ```bash sudo apt install dkms ``` 将驱动源码复制到 `/usr/src/` 目录并注册为 DKMS 模块(具体操作请参考驱动文档)。 ---
评论 16
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值