beautypg.com

Installing the linux driver software, Building a driver from a tar file – Allied Telesis AT-2900 Series Adapters User Manual

Page 74

background image

Chapter 6: Installing the Linux Driver Software

74

Installing the Linux Driver Software

The section describes the following Linux driver installations:

“Building a Driver from a TAR File” on page 74

“Removing the tg3 Driver” on page 74

Note

On some newer Distributions and Kernels, it may be necessary to
remove the tg3 driver before loading the tg3 driver supplied on the
CD. Follow the instructions in the “Removing the tg3 Driver” on
page 74.

Building a Driver

from a TAR File

To build a driver from a TAR file, perform the following procedure.

1. Create a directory and extract the TAR files:

tar xvzf tg3-.tgz

2. Build the driver tg3.o as a loadable module for the running kernel:

cd tg3-

/src

make

Test the driver by loading it:

insmod tg3.o

3. Install the driver and man page:

make install

4. To configure network protocol and address, refer to the manuals

supplied with your operating system.

Removing the tg3 Driver

Many various Linux distributions may load the native tg3 driver by default
for the Allied Telesis Gigabit Ethernet Network adapters. It may be
necessary to unload the native tg3 driver first, before installing the tg3.o
driver from this installation.

Note

On some Distributions and Kernels, it may be necessary to remove
the native tg3 driver before loading the Allied Telesis tg3.o driver.

Although tg3 is a fully functioning driver, Allied Telesis recommends that