Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-26-2001, 12:40 PM
|
#1
|
LQ Newbie
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15
Rep: 
|
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
|
|
|
12-26-2001, 07:21 PM
|
#2
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
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.
|
|
|
12-26-2001, 09:42 PM
|
#3
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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.
|
|
|
12-26-2001, 11:14 PM
|
#4
|
LQ Newbie
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15
Original Poster
Rep: 
|
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.
|
|
|
12-27-2001, 01:19 AM
|
#5
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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.
|
|
|
12-27-2001, 02:33 AM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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...
|
|
|
12-27-2001, 11:08 AM
|
#7
|
LQ Newbie
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15
Original Poster
Rep: 
|
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
|
|
|
12-27-2001, 10:02 PM
|
#8
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
12-27-2001, 10:49 PM
|
#9
|
LQ Newbie
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15
Original Poster
Rep: 
|
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
|
|
|
12-27-2001, 11:49 PM
|
#10
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
12-28-2001, 01:13 AM
|
#11
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
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.
|
|
|
12-28-2001, 09:29 PM
|
#12
|
Member
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913
Rep:
|
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
|
|
|
12-29-2001, 03:38 PM
|
#13
|
Member
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913
Rep:
|
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.
|
|
|
12-29-2001, 06:08 PM
|
#14
|
LQ Newbie
Registered: Dec 2001
Location: CO
Distribution: linux red hat 9.0 and suse 9.2
Posts: 15
Original Poster
Rep: 
|
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
|
|
|
12-30-2001, 01:04 AM
|
#15
|
Member
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913
Rep:
|
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,
|
|
|
All times are GMT -5. The time now is 04:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|