3Com 3C996B-T Network Card User Manual


 
7 Linux Driver Setup
68
Installing Advanced Server Features
The driver is released in two packaging formats, source RPM and compressed tar archive.
The file names for the two packages are bcm5700-<version>.src.rpm and bcm5700-
<version>.tar.gz respectively. Identical files to build the driver are included in both
packages.
Installing the TAR Archive
1
To uncompress and expand tar archive, run:
tar xvfz basplnx-{version}.tgz
2
CD to the basplnx-{version} subdirectory:
cd basplnx-{version}
To install the archive, perform the following:
1
Configure the major device number for Advanced Server Features configuration. The
default major number is 254 and it can be changed by modifying “Makefile.”
2
To build kernel module “basp.o”, type:
make
The Make process will automatically build the correct module for different kernel
favors, e.g., symbol versioning and SMP support. There is NO need to define -
DMODVERSIONS in the Makefile.
3
To create device file and to copy files, type:
make install
4
To update the module reference, type:
depmod -a
5
To load the driver, type:
insmod basp
6
See “Configuring Teams” on page 69 to set up the teams.
Installing the RPM Package
1
To install RPM source package, run:
rpm -i basplnx-{version}.src.rpm
2
CD to the RPM path and build the binary driver for the kernel:
cd /usr/src/{redhat, OpenLinux, turbo, ...}
rpm -bb SPECS/basplnx.spec
The RPM path is different for different Linux distributions.
3
To install the newly built package, type:
rpm -i RPMS/i386/basplnx-{version}.i386.rpm
The driver and other required files will be installed.
4
To load the driver, type:
insmod basp
NOTE:
Before installing the tar archive, copy the tar archive from the CD to a temp
directory on your PC.
NOTE:
Kernel sources must be installed and properly configured to build
the driver.