
3-5
Chapter 3: Installation
4. Compile the driver module:
# make install
The binary will be installed as:
/lib/modules/<KERNEL_VERSION>/kernel/drivers/net/igb/igb.
[k]o
The install location listed above is the default location. This location might not
be correct for certain Linux distributions.
5. Load the module using either the insmod or modprobe command:
modprobe igb
insmod igb
For 2.6 kernels, the
insmod
command can be used if the full path to the driver
module is specified. For example:
insmod /lib/modules/<KERNEL VERSION>/kernel/drivers/
net/igb/igb.ko
In addition, when using 2.6-based kernels, make sure that older igb drivers are
removed from the kernel before loading the new module. To do this, use:
rmmod igb; modprobe igb
6. Assign an IP address to the interface by entering the following, where x is the
interface number:
ifconfig eth<x> <IP_address>
7.
Verify that the interface works. Enter the following, where <IP_address> is the
IP address for another machine on the same subnet as the interface that is
being tested:
ping <IP_address>