Skip to content

Instantly share code, notes, and snippets.

@abelardojarab
Created December 20, 2017 17:50
Show Gist options
  • Select an option

  • Save abelardojarab/b98dc99bcc8c40bb9769ef29995e07ec to your computer and use it in GitHub Desktop.

Select an option

Save abelardojarab/b98dc99bcc8c40bb9769ef29995e07ec to your computer and use it in GitHub Desktop.
Install a DKMS module usind dkms.conf file
$ wget http://tenet.dl.sourceforge.net/project/e1000/ixgbe%20stable/4.3.15/ixgbe-4.3.15.tar.gz
$ sudo tar -xf ixgbe-4.3.15.tar.gz -C /usr/local/src
$ sudo mv /usr/local/src/ixgbe-4.3.15/src /usr/src/ixgbe-4.3.15

Create the following dkms.conf file under this directory as follows.

$ sudo vi /usr/src/ixgbe-4.3.15/dkms.conf
PACKAGE_NAME="ixgbe"
PACKAGE_VERSION="4.3.15"
BUILT_MODULE_NAME[0]="ixgbe"
DEST_MODULE_LOCATION[0]="/kernel/drivers/net/ethernet/intel/ixgbe/"
AUTOINSTALL="yes"

Next, add the module to the kernel tree.

$ sudo dkms add -m ixgbe -v 4.3.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment