\HELP\LINUX\LINUX.TXT
NETGEAR FA310TX Fast Ethernet PCI Adapter
-----------------------------------------
LINUX Driver Installation Overview
----------------------------------
Preamble
--------
This software may be used and distributed according to the terms
of the GNU Public License, incorporated herein by reference.
This driver is for the Digital "Tulip" ethernet adapter interface.
It should work with most DEC 21x4x-based chips/ethercards, as well as
PNIC and MXIC chips.
This program was originally written and maintained by Donald Becker
who may be reached as becker@CESDIS.gsfc.nasa.gov, or C/O Center of
Excellence in Space Data and Information Sciences Code 930.5,
Goddard Space Flight Center, Greenbelt MD 20771.
The program is further modified and customized for use in the
Netgear FA310TX series of Fast Ethernet PCI adapter cards. For
customer support, please call your respective local Netgear technical
support.
Getting Started
---------------
This installation guide describes the installation procedures of the
two most popular versions of Linux: RedHat Linux 5.2 and Slackware
Linux 3.6. With either Linux variation, you can install it into the
Monolithic Kernel or the Modular Kernel.
RedHat Linux 5.2
----------------
With either the adapter cards based on the DEC 21140 controller (versions
C1, C2 or C6) or the new NETGEAR cards (revisions D1, D2 or D3), the
"Digital 21040 (Tulip)" driver included in the software can be used.
With C1, C2 or C6, the RedHat installation software automatically detects
and points to the proper driver. With revisions D1, D2, or D3, you
must manually instruct Linux to use the "Digital 21040 (Tulip)" driver
under the "Which card to support" network window.
However, the Tulip driver (version 0.89H) included in RedHat Linux 5.2
configures the transmit threshold of the revisions D1, D2, and D3 cards
to Store-and-forward. To improve the network performance of the adapter
card under Linux, it is recommended you use the Linux driver provided
in the floppy (version 0.89K) or the latest Tulip driver (0.90Q) down-
loadable from the following web site:
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html
Installation Procedure for Modular Kernel
-----------------------------------------
1. During installation of Linux, make sure that the "C Development"
selection is choosen under "Component to Install" window. This will
copy the C compiler into the system for compiling the driver.
2. Also the Network Configuration window during installation, you will
be asked if you want to configure LAN (not dailup) networking for
your installed system. Answer YES.
3. Insert the floppy disk with the FA310 driver, and mount the disk into
the system with the following command:
mount -t msdos /dev/fd0 /mnt
4. Copy the Linux-related files from the disk into the system hard disk
with the following command. Four files will be copies: "cctulip",
"tulip.c", "Copying", and "linux.txt".
cp /mnt/linux/*.* .
5. Compile tulip.c by executing the "cctulip" command at the prompt.
The following command will be executed.
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c tulip.c
6. Find the names of the files in the /lib/modules directory. You
might see the following directories.
eg. "2.0.36-0.7" and "preferred".
7. Copy the newly compiled tulip.o into the latest kernel's modules.
cp tulip.o /lib/modules/2.0.36-0.7/net/tulip.o
8. Reboot the system.
9. You can check if the driver is properly activating the card using
the "dmesg" command right after system bootup.
Installation Procedure for Monolithic Kernel
--------------------------------------------
1. cp tulip.c /usr/src/linux/drivers/net/tulip.c
2. /user/src/linux# make config
set the following
a. EISA, VLB, PCI and on board controllers (CONFIG_NET_EISA) [N/y/?] Y
b. DECchip Tulip (dc21x4x) PCI support (CONFIG_DEC_ELCP) [N/y/m/?] Y
3. Rebuild and install new kernel and reboot.
a. make dep
b. make clean
c. make zImage or make zlilo
Slackware 3.6
----------------
With either the adapter cards based on the DEC 21140 controller (versions
C1, C2 or C6) or the cards based on the Lite-on PNIC controller (versions
D1, D2 or D3), the "Digital 21040 (Tulip)" driver included in the driver
disk (version 0.89K) can be used.
The latest original Tulip drive is also downloadable from the following
web site:
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html
Installation Procedure for Modular Kernel
-----------------------------------------
Slackware automatically install the compiler into the system, there is
no need to alter the default installation procedure to add additional
components.
1. Insert the floppy disk with the FA310 driver, and mount the disk into
the system with the following command:
mount -t msdos /dev/fd0 /mnt
2. Copy the Linux drivers from the disk into the system hard disk with
the following command. Four files will be copies: cctulip, tulip.c,
Copying, linux.txt.
cp /mnt/linux/*.* .
3. Compile tulip.c by executing the "cctulip" command at the prompt.
The following command will be executed.
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c tulip.c
4. Find the names of the files in the /lib/modules directory. You
might see the following directories.
eg. "2.0.35" and "preferred".
5. Copy the newly compiled tulip.o into the latest kernel's modules.
cp tulip.o /lib/modules/2.0.35/net/tulip.o
6. Edit the "rc.modules" file in the /etc/rc.d directory with the
following command:
vi /etc/rc.d/rc.modules
7. Search the following line:
"# /sbin/modprobe tulip"
8. Remove the "#" character at the beginning of the line and save the
file.
" /sbin/modprobe tulip"
9. Update kernel's module dependencies with the following command:
/sbin/depmod -a
10. Reboot the system.
11. You can check if the driver is properly activating the card using
the "dmesg" command right after system bootup.
Installation Procedure for Monolithic Kernel
--------------------------------------------
1. cp tulip.c /usr/src/linux/drivers/net/tulip.c
2. /user/src/linux# make config
set the following
a. EISA, VLB, PCI and on board controllers (CONFIG_NET_EISA) [N/y/?] Y
b. DECchip Tulip (dc21x4x) PCI support (CONFIG_DEC_ELCP) [N/y/m/?] Y
3. Rebuild and install new kernel and reboot.
a. make dep
b. make clean
c. make zImage or make zlilo
NOTE:
The latest testing version of the driver should compile with all
1.2.*, 1.3.* development tools, 2.0.* and 2.1.* kernels.
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.