beautypg.com

Installing linux tg3 file, Installing the source rpm package – Allied Telesis AT-2912T User Manual

Page 67

background image

AT-2712FX/SC and AT-2912T Secure Ethernet Network Adapter Installation and User’s Guide

67

Installing LINUX TG3 File

There are two procedures to install the Linux TG3 file:

“Installing the Source RPM Package” on page 67

“Building the Driver from the Source TAR File” on page 68

Installing the

Source RPM

Package

Here are general guidelines for installing the driver:

1. Install the source RPM package by enter the following command:

rpm -ivh tg3.src.rpm

2. Change directory to the RPM path and build the binary driver for your

kernel. Enter one of the following commands:

cd /usr/src/{redhat, OpenLinux, turbo, packages,
rpm..}

or

rpmbuild -bb SPECS/tg3.spec (for RPM version 4.x.x)

Note

The RPM path is different for specific Linux distributions.

3. By default, the driver is compiled for the running kernel. To build the

driver for a kernel different from the running kernel, specify the kernel
by defining it in KVER. If this is not necessary, skip to step 4. Enter the
following command:

rpmbuild -bb SPECS/tg3.spec --define “KVER

version>

where in the form of 2.x.y-z is the version number of
another kernel that is installed on the system.

4. To install the newly-built package (driver and man page), enter the

following command:

rpm -ivh RPMS//tg3-..rpm

where is the architecture of the machine such as i386. For
example:

rpm -ivh RPMS/i386/tg3-.i386.rpm

This manual is related to the following products: