Patrick

Script Install Script for ixgbe on Debian/ Ubuntu

I know a lot of folks are using Xeon D and with the latest batch of chips more folks will be using it. Ubuntu 14.04 LTS (even 14.04.3 LTS) does not ship with the Intel X550 driver required by default.

Caveats:
  • If you want to use a new version, change the version string under #installer version.
  • If you do NOT want the ixgbe driver to load at the next boot, comment out the line under #load at boot

To run
Code:
nano ixgbe.sh
Paste in the below and edit if you need/ want.

Code:
bash ixgbe.sh
Here is the script I have been using to install the driver:

Code:
#!/bin/bash

#Intel 10GbE driver installer/ updater for Debian/ Ubuntu
#(c)2016 ServeTheHome.com
#Author Patrick Kennedy

#installer version
ixgbever=4.3.13

#install dependencies
sudo apt-get install -y linux-headers-$(uname -r) gcc make

#download and unzip driver
wget https://downloads.sourceforge.net/project/e1000/ixgbe%20stable/$ixgbever/ixgbe-$ixgbever.tar.gz
tar xvfvz ixgbe-$ixgbever.tar.gz

#make driver
cd ixgbe-$ixgbever/src
make

#uninstall everything you might want to
sudo rmmod ixgbe
sudo modprobe ptp
sudo modprobe dca
sudo modprobe vxlan
sudo insmod ./ixgbe.ko

echo "Time to install"
sudo make install
sudo modprobe ixgbe

#load at boot
#sudo echo -e "ixgbe" >> /etc/modules
echo 'ixgbe' | sudo tee --append /etc/modules > /dev/null

#clean downloaded files and source
sudo rm -rf ixgbe-$ixgbever*

echo "Script complete"
To cleanup gcc and make (assuming you do not need those on the machine:
Code:
sudo apt-get remove gcc make
Author
Patrick
Views
326
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Patrick

Latest updates

  1. Updated with feedback on script

    Took some advice from @RTM and made some updates to the script.