Note: The compile process appears to be broken for driver version 3.8.4. So the following steps will not work for that version. This post will be updated when a suitable fix is found for the same.
Here’s a quick guide on how to add the Intel e1000e driver to DKMS (Dynamic Kernel Module Support) so that it gets installed / uninstalled automatically with future kernel updates and removals.
Download the driver from Intel website https://downloadcenter.intel.com/download/15817
As of my writing this article, the e1000e
version is 3.4.2.1. On download the tarball I get e1000e-3.4.2.1.tar.gz
.
Extract it to /usr/src
:
tar -xzf e1000e-3.4.2.1.tar.gz -C /usr/src
Create a dkms.conf
in /usr/src/e1000e-3.4.2.1
with following contents:
PACKAGE_NAME="e1000e"
PACKAGE_VERSION="3.4.2.1"
AUTOINSTALL=yes
MAKE[0]="make -C src/"
BUILT_MODULE_NAME="e1000e"
BUILT_MODULE_LOCATION="src/"
DEST_MODULE_LOCATION="/kernel/drivers/net/ethernet/intel/e1000e"
Next, we have to tell DKMS that such a module has been added and build it for each of the kernels we have on the system:
dkms add -m e1000e/3.4.2.1
for k in /boot/vmlinuz*; do
dkms install -k ${k##*vmlinuz-} e1000e/3.4.2.1
done
Finally, reboot the system and the new module should be live.
Leave a comment