LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-26-2001, 12:40 PM   #1
ajcmmills
LQ Newbie
 
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15

Rep: Reputation: Disabled
I've got a linksys LNE100TX - EtherFast® 10/100 LAN Card


I went to the linksys web site and downloaded the drivers. However, I try unzipping the drivers and all I get is a readme file. But in windows I can unzip them fine. I can't unzip them in windows and then open them in linux, what I get is this error saying you must have a .gz extensions. The extension that I have is .tgz. Any thoughts you guys have would be great.
Allan
 
Old 12-26-2001, 07:21 PM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Why do you even need to download the driver? The card uses the tulip driver, which your kernel should already natively support.

Anyway, for the .tgz file(s), do:
Code:
tar -xzvf filename.tgz
and see what you get.
 
Old 12-26-2001, 09:42 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try to locate tulip.o

then insmod /the/location/to/tulip.o

see what happens


if you can't find it, rebuild the kernel and instead of a module just build the support in for the card.


It's in

>Network device support

>> Ethernet (10 or 100 MB)


y for Ethernet (10 or 100 MB)

y for EISA, VLB, PCI and on board controllers

y for DECchip Tulip (dc21x4x) PCI support






It will boot up working. If you are using dhcp you can build support for that in too.
 
Old 12-26-2001, 11:14 PM   #4
ajcmmills
LQ Newbie
 
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15

Original Poster
Rep: Reputation: Disabled
After typing in "tar -xzvf NETDRV.TGZ" I got kern_compat.h, makefile, pci-scan.c, pci-scan.h, tulip.c. Now that this is done I'm now trying to look for the network card in the hardware list and my network card is still not there, I did re-boot to see if that changed anything, it didn't. You seem to be on the right track though. I have no idea where to go from here. By the way, thank you. Your doing better then the guys at red hat tech support are for me.
Allan

Last edited by ajcmmills; 12-26-2001 at 11:17 PM.
 
Old 12-27-2001, 01:19 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
NOTE: this will not work if you don't have the kernel source tree. if you get errors when you run make post them here.


also make sure you have a folder or link named /usr/src/linux/


if you don't have /usr/src/linux (I'm pretty sure you don't) then you might have /usr/src/linux-2.4 (you will have this if the source is installed, it is a link to linux 2.4.7-10 or whatever your kernel tree is.)


if you do then do this before make will work

ln -s /usr/src/linux-2.4 /usr/src/linux






cd to the folder where the files you mentioned are and type...


make


then do...


insmod ./pci-scan.o

then...

insmod ./tulip.o


then...


depmod -ae




Now if there are no errors your card is working

copy the drivers pci-scan.o and tulip.o to.. /lib/modules/2.4.7-10/kernel/wherever/
put the right folder name in the place of 2.4.7-10

the location can be /lib/modules/......./kernel/drivers/net or wherever you want as long as it's in /kernel/
if the old tulip drivers are in /lib/modules/......./kernel/drivers/net/ then overwrite them. Make sure you don't have the old drivers anywhere in the /lib/modules/......./kernel/ folders



edit /etc/modules.conf


add the following line...


alias eth0 tulip




May the source be with you!


Last edited by DavidPhillips; 12-27-2001 at 01:44 AM.
 
Old 12-27-2001, 02:33 AM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
have you tried just trying a netconfig or setup to access the network configuration so it probes for your card and sets it up ?? redhat usually has no problems in detecting this card using the tulip driver as it has done for me in the past numerous times...
 
Old 12-27-2001, 11:08 AM   #7
ajcmmills
LQ Newbie
 
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15

Original Poster
Rep: Reputation: Disabled
First of all, I couldn't find the files "/usr/src/linux , /usr/src/linux-2.4, -s /usr/src/linux-2.4 /usr/src/linux. Thin I went to the /root/Desktop/Linux/... and typed in "make", this is what the error was: gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -06 -I/usr/src/linux/include -pipe -fno-strength-reduce -DMODVERSIONS -c -o pci-scan.o pci-scan.c
pci-scan.c: In function 'init_module':
pci-scan.c:558: wrning: implicit declaration of fundction 'apm_register_callback'
pci-scan.c: In function 'cleanup_module':
pci-scan.c:565: warning : implicit declaration of function 'apm_unregister_callback'
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -06 -I/usr/src/linux/include -pipe -fno-strength-reduce -DMODVERSIONS -c -o tulip.o tulip.c
tulip.c: In function 'tulip_open':
tulip.c:1488: structure has no member named 'tbusy'
tulip.c:1489: structure has no member named 'start'
tulip.c: In function 'tulip_start_xmit':
tulip.c:2607: structure has no member named 'tbusy'
tulip.c:2640: structure has no member named 'tbusy'
tulip.c: In function 'tulip_interrupt':
tulip.c:2659: structure has no member named 'interrupt'
tulip.c:2663: structure has no member named 'interrupt'
tulip.c:2744: structure has no member named 'tbusy'
tulip.c:2748: structure has no member named 'tbusy'
tulip.c:2845: structure has no member named 'interrupt'
tulip.c: In function 'tulip_close':
tulip.c:2991: structure has no member named 'start'
tulip.c:2992: structure has no member named 'tbusy'
tulip.c: In function 'tulip_get-stats':
tulip.c:3031: structure has no member named 'start'
tulip.c: In function 'private_ioctl':
tulip.c:3117: "SIOCSPARAMS' undeclared (first use in this function)
tulip.c:3117: (Each undeclard identifier is reported only once
tulip.c:3117: for each function it appears in.)
tulip.c: In function 'set_rx_mode':
tulip.c:3303: structure has no member named 'tbusy'
make: *** [tulip.o] Error 1
Thats the error. I hope you can make something out of it. And once again thank you....
Allan
 
Old 12-27-2001, 10:02 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
go ahead and try setup and select network configuration

It sounds like you don't have the source tree so without it you cannot compile drivers.


what do you have in /usr/src/


and try locate tulip.o
 
Old 12-27-2001, 10:49 PM   #9
ajcmmills
LQ Newbie
 
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15

Original Poster
Rep: Reputation: Disabled
In "/usr/src/" I've got "redhat". When I try finding tulip.o I get "No such file or directory". If you can't think of anything else, I want to say thank you for trying, and if one day I do figure it out, I'll let you know on this board.
Allan
 
Old 12-27-2001, 11:49 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
About the only thing to do is get the kernel-source for the version you are using, install it, then compile the driver. The kernel source rpm should be on the cdrom
 
Old 12-28-2001, 01:13 AM   #11
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
I haven't configured Redhat via the GUI since they stopped using linuxconf/netconf, but here are the instructions for their new GUI network configuration tool:
http://www.redhat.com/docs/manuals/l...rk-config.html.
Give it a shot, it might make things easier.
I don't know why RH is giving you such a fight on this one, because I'm sure that support for the tulip driver is native to the kernel that ships with 7.2.

Last edited by DMR; 12-28-2001 at 01:19 AM.
 
Old 12-28-2001, 09:29 PM   #12
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
It depends on which version you got, becuase on my other computer (LNE100TX v.2) it doesnt work.

I put Linux on this computer (LNE100TX v.4) and it works like a charm (no configuration needed).

just my .02
 
Old 12-29-2001, 03:38 PM   #13
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
Quote:
Originally posted by DMR
I haven't configured Redhat via the GUI since they stopped using linuxconf/netconf, but here are the instructions for their new GUI network configuration tool:
http://www.redhat.com/docs/manuals/l...rk-config.html.
Give it a shot, it might make things easier.
I don't know why RH is giving you such a fight on this one, because I'm sure that support for the tulip driver is native to the kernel that ships with 7.2.
That utility doesnt' have the LNE100TX listed, RedHat should automatically detect your network card, if it doesnt try to save up and buy a new LNE100TX that is the 4th+ revision becuase the older revisions have no support anymore, or at least very hard to get working. good luck mate.
 
Old 12-29-2001, 06:08 PM   #14
ajcmmills
LQ Newbie
 
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks for the info. I've got version 5.1, which is the newest kind. At least thats what I thought when I bought it. I've got the drivers for the card, which are for linux, I'm just have a problem getting the drivers loaded.
Allan
 
Old 12-30-2001, 01:04 AM   #15
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
You know, sometimes redHat installs bad...if all fails try to do a fresh copy of redhat if you haven't got alot of stuff set up in it already,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linksys Etherfast 10/100 AdmiralJaneway *BSD 5 05-06-2005 11:33 PM
Linksys EtherFast LNE100TX Mal495 Linux - Networking 21 02-04-2005 06:33 AM
Will I Have Problems Using Linksys EtherFast 10/100 LAN Card With Slackware 10.0? Christopher Linux - Hardware 1 07-20-2004 08:25 AM
Linksys Etherfast 10/100 v3 PCMIA card jose Linux - Networking 3 09-17-2001 08:40 PM
LinkSys LNE100TX 10/100 Ethernet Card SnoozeButton Linux - Networking 15 02-26-2001 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration