beautypg.com

Building the driver from the source tar file – Allied Telesis AT-2912T User Manual

Page 84

background image

Chapter 6: Enabling LINUX

84

Note

The force option may be needed on some Linux distributions if
conflicts are reported.

Depending on the kernel, the driver is installed in one of the following
directories:

2.4.x kernels:

/lib/modules//kernel/drivers/net/
tg3.o

2.6.x kernels:

/lib/modules//kernel/drivers/net/

tg3.ko

5. To load the driver, enter one of the following commands:

insmod tg3.o

or

insmod tg3.ko (on 2.6 kernels)

or

modprobe tg3

To configure the network protocol and address, refer to the Linux version-
specific documentation.

Building the

Driver from the

Source TAR File

To build the LINUX driver from the source TAR file, do the following:

1. Create a directory, called tg3 - version, and extract the TAR files to the

directory. Enter the following command:

tar xvzf tg3-version.tar.gz

2. Build the driver tg3.o or tg3.ko as a loadable module for the running

kernel. Enter the following commands:

cd src
make

This manual is related to the following products: