
3-4
AOC-SGP-i2 Add-on Card User's Guide
3-6 Building the Driver Manually
Follow the instructions below to build the driver manually.
1.
Move the base driver tar file to the directory of your choice. For example, use
'/home/username/e1000' or '/usr/local/src/e1000'.
2.
Untar/unzip the archive, where <x.x.x> is the version number for the driver
tar file:
tar zxf e1000-<x.x.x>.tar.gz
3.
Change to the driver src directory, where <x.x.x> is the version number for
the driver tar:
cd e1000-<x.x.x>/src/
4.
Compile the driver module:
# make install
The binary will be installed as:
/lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/e1000.[k]o
The install location listed above is the default location. This may differ for various
Linux distributions.
5.
Load the module using either the insmod or modprobe command:
modprobe e1000
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/e1000/e1000.ko
With 2.6 based kernels also make sure that older e1000 drivers are removed from
the kernel, before loading the new module:
rmmod e1000; modprobe e1000
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>
Содержание AOC-SGP-i2
Страница 1: ...User s Guide Revision 1 0 AOC SGP i2 ...
Страница 14: ...2 4 AOC SGP i2 Add on Card User s Guide Notes ...