Jump to Navigation

087 - Network Adapter Driver Instration

After Linux installation, sometimes OS recognize network card and so on. To fix a problem, you have to install an appropriate driver.

1. Move the base driver tar file to the directory of your choice.  For  example, use /home/username/e1000e or /usr/local/src/e1000e.

2. Untar/unzip archive:

tar zxf e1000e-x.x.x.tar.gz

3. Change to the driver src directory:

cd e1000e-x.x.x/src/

4. Compile the driver module:

# make install

The binary will be installed as:

     /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000e/e1000e.[k]o

5. Load the module using either the insmod or modprobe command:

modprobe e1000e  or  insmod e1000

   Note that 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/e1000e/e1000e.k

  
   With 2.6 based kernels also make sure that older e1000e drivers are
   removed from the kernel, before loading the new module:

rmmod e1000e; modprobe e1000e

 

6. Assign an IP address to the interface by entering the following, where  x is the interface number:

ifconfig ethx <IP_address>

 

7. erify 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>

TROUBLESHOOTING: Some systems have trouble supporting MSI and/or MSI-X
interrupts.  If you believe your system needs to disable this style of
interrupt, the driver can be built and installed with the command:

# make CFLAGS_EXTRA=-DDISABLE_PCI_MSI install

Normally the driver will generate an interrupt every two seconds, so if you can see that you're no longer getting interrupts in
cat /proc/interrupts for the ethX e1000e device, then this workaround may be necessary.

 



Main menu 2

Story | by Dr. Radut