[ale] Linksys & rh6.2

John J. Cruz casacruz at bellatlantic.net
Fri Aug 17 09:01:41 EDT 2001


Good Morning,

Has anyone gotten Linksys LNE100TX Ethernet card
(http://www.linksys.com/products/product.asp?prid=31&grid=10) working in
the Red Hat 6.2 Linux environment?  If so would you be so kind to email
me the binary or rpm form of the driver.  I've tried compiling the
driver/source code that is provided but I have not had any success in
compiling it. I have never been able to go beyond make.  I've attached
the procedures provided by Linksys. Thank you.

john




****************************************************************************
		Linksys LNE100TX Fast Ethernet Adapter(LNE100TX v4)
			  Linux Driver Installation
			  ~~~~~~~~~~~~~~~~~~~~~~~~~

	   Copyright (C) 2000 Linksys. All rights reserved.
****************************************************************************

I. Installation Guide using TurboLinux 6.0.X (It will also work for all other linux but some directories will be different)
=============================================
 *Note: Before starting make sure the diskette is not write protected! (won't matter much)

Step 1: Mount the Linksys driver diskette with the following command;

	mount -t msdos /dev/fd0 /mnt/floppy 

Change directories into the Linux directory on the diskette;

	cd /mnt/floppy/Linux

Step 2: Create a temp directory called netdrivers in /root;

	mkdir netdrivers

Step 3: Copy netdrivers.tgz on the floppy diskette to the new directory you have just created;

	cp /mnt/floppy/netdrivers.tgz /root/netdrivers

Step 4: Decompress netdrivers.tgz to extract the source files;

	tar xzvf netdrivers.tgz

	The extracted files should now be located within the netdrivers directory

Step 5: Compile the modules;

	make

	You now have compiled the modules successfully

Step 6: Install the modules;

	insmod pci-scan.o
	insmod tulip.o

Step 7: Issue the depmod command;

	depmod -a

Step 8: Initialize the eth0 adapter

	ifup eth0

Step 9: Run ifconfig to make sure that the eth0 interface is loaded;

	ifconfig

	You should see the loopback adapter (lo), and the Ethernet adapter (eth0)

Step 10: To have the eth0 load everytime you boot into Linux you must copy tulip.o, and pci-scan.o into the 	following directories;

	/lib/modules/2.2.14-3/net

	/lib/modules/2.2.14-3BOOT/net

	/lib/modules/2.2.14smp/net

	If you are prompted to replace the current files, say YES

Step 11: You will have to add two lines of code to the following file;

	/etc/rc.modules

	Add the following;

	pci-scan.o
	tulip.o

	To write the changes to the file type the following;

	Shift+: wq (this is only true if they use vi, you not telling them to use vi).

Step 12: Edit etc/modules.conf (if needed).

	vi etc/modules.conf

	Add the following to the begining of the file;

	alias eth0 tulip

	To write the changes to the file type the following;

	Shift+: wq


A. Get source Code and produce a binary code 
=============================================
Step 1 : Get the source code from the following site;

	FTP://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/tulip.c
	FTP://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/kern_compat.h

Step 2 : Compile the source code by using
 
         "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet 
          -Wall -Wstrict -prototypes -O6 -c tulip.c 
          '[ -f /usr/include/linux/modversions.h ] && echo 
          -DMODVERSIONS`"
                 


B. Installation guide using Slackware 3.XX
==========================================

Step 1 : Copy tulip.o into the latest kernel's modules:
         cp tulip.o /lib/modules/2.0.XX/net/tulip.o
         Where the XX is the version number of the latest kernel.

Step 2 : Modify /etc/rc.d/rc.modules:
         Unmark the line /sbin/modprobe  tulip

Step 3 : Reboot system:
         reboot

Step 4 : when system boots, the driver will be load.

Step 5 : run netconfig to setup TCP/IP
         (run 'ifconfig' or 'netstat -i' to see if there is a 
         interface 'eth0')



C. Installation guide using Redhat 5.XX
=======================================

Step 1 : Copy tulip.o into the latest kernel's modules:
         cp tulip.o /lib/modules/2.0.XX/net/tulip.o
         Where the XX is the version number of the latest kernel.

Step 2 : Update kernel's module dependencies:
         /sbin/depmod -a

Step 3 : Check /etc/conf.modules:
         alias eth0 tulip
         options tulip options=X debug=X

Step 4 : Valid media types selections for options=X are:
         0 Auto-select (default to the 10baseT link)
         1 10base2
         2 AUI
         3 100baseTx
         4 10baseT-FD
         5 100baseTx-FD
         6 100baseT4
         7 100baseFx
         8 100baseFx-FD
         9 MII 10baseT
        10 MII 10baseT-FD
        11 MII (autoselect)
        12 10baseT (no autoselect), v0.69 and later only
        13 MII 100baseTx
        14 MII 100baseTx-FD
        15 MII 100baseT4

Step 5 : Valid debug levels for debug=X are:
         1 normal output
         2 more verbose
         3 even more verbose
         4 even more verbose
         6 insanely verbose

Step 6 : Reboot system:
         /sbin/shutdown -r now

Step 7 : when system boots, the driver will be load.

Step 8 : run netconfig to setup TCP/IP
         (run 'ifconfig' or 'netstat -i' to see if there is a interface 
         'eth0')


begin:vcard 
n:Cruz;John J.
x-mozilla-html:FALSE
org:BAE Systems;Naval Systems/AEGIS Radar Engineer Group
version:2.1
email;internet:casacruz at bellatlanatic.net
title:Radar Systems Engineer
adr;quoted-printable:;;2361 Jefferson Davis Highway=0D=0ACentury II Building, Suite 1014=0D=0AArlington, VA 22202  USA;;;;
note;quoted-printable:August 17, 2001 BAE Systems is moving to the Washington Navy =0D=0AYards.  No indoor parking, no office, no power lunches.  A METRO =0D=0Acommuter, brown bag lunches, and an office that fits in my cat's =0D=0Apoop box.=0D=0A=0D=0ALinux user since Red Hat 5.2 (1998), currently using rh 6.2, and =0D=0Awill upgrade to rh 7.2 when it is released.=0D=0A=0D=0ARed Hat Linux -- so dependable, your server might get a little bored.
fn:John J. Cruz
end:vcard





More information about the Ale mailing list