Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I have been a UNIX user for many years now, but have just entered the world of LINUX and system administration. I apologize in advance if some of this is mickey-mouse, but I have spent 3 days now searching for the answers and have given up trying to find them online & need some direction.
1. I have a Linksys Ethernet LAN PCI card on my HP Pavilion. I installed RedHat 8.0 and cannot configure the card properly. From what I can tell I need to use the Tulip driver (There's no Tulip on the list of Network Adapters, but I *think* that I am supposed to be using "DEC 21*40 and clones" for the Tulip driver). Even after selecting the "DEC 21*40" (I also tried "NE1000, NE2000, and compatible"), I was unable to activate the card.
When I run "modprobe tulip", the insmod returns an error along the lines of "init_module: No such device". I'm not really sure what this means.
If I run dmesg, I can tell that it is trying to load the Tulip driver because I see about 30 lines of:
Linux Tulip driver version 0.9.15-pre11 (May 11, 2002)
It doesn't really say anything else that I can definitely associate with Tulip though, so I can't tell if it is detecting my card.
When I run "cat /proc/pci" I can see:
Bus 0, device 10, function 0:
Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller (rev 0).
Master Capable. Latency=90. Min Gnt=11.Max Lat=52
I/O at 0x1400 [0x14ff]
Non-prefetchable 32 bit memory at 0xf4000000 [0xf40000fff].
Which (I think) tells me that the card IS being detected, but somehow the driver isn't associating with the card.
If you have ANY suggestions on what I should try (no matter how insultingly simple), PLEASE let me know. I am quite simply lost.
As a last-ditch effort (I REALLY wanted to assume that the 8.0 release would have a Tulip driver that works with a LAN card from 2001), I went to the Linksys site and downloaded the latest Tulip.c file, which brings me to my next question...
2. According to RedHat 8.0 release notes, gcc 3.2 is part of the installation. Needless to say, gcc isn't in any bin directory that I can find. When I do "ls -R | grep gcc", all I find are library files - but no gcc executable. I can't compile the new Tulip driver without gcc. What should I do?
I would check your RedHat CDs for the gcc package and try to reinstall it. I don't know how the commands for package management in RedHat so I can't help you with that. However, if you've got the development packages on CD-ROM you could probably reinstall it. Additionally, are you sure that your Linksys NIC is to use the Tulip driver? Another thing to try is
insmod tulip.c
to install the module that you've downloaded--if you're able to. Then do your modprobe. I don't know how well this helps, but hopefully it has.
Additionally, if you can't get gcc or gcc++ off of your CD (or it's a corrupt file) you can probably ftp the "rpm" for it from somewhere. I had to do that for my Slackware 8.1 gcc and gcc++ packages. I had them, but they were corrupt due to a bad burn on the CD. I downloaded them and I'm now able to compile from source all my downloads. Also, you might want to look into getting Slackware 8.1 since you're a long time UNIX user (or maybe try one of the BSDs). Supposedly, Slackware is the most "unix-like" of all the Linux distributions. I know it's got the BSD inits as opposed to the Sys-V inits like RH and others. Something to think about anyway. Hope this helps.
you're trying to use the wrong driver, hence the device not counf message (there are no compatible devices found) you want the natsemi driver instead.
modprobe natsemi
[Texicle: "tupli.c" is a source file... not a driver. this would fail totally.]
if that comes up ok then a line in /etc/modules.conf along the lines of "alias natsemi eth0" will auotmatically load it for you forever more.
as for gcc, you probaly chose a dekstop install and so it assumed you never wanted to do anything clever, so just install the gcc rpm's from the distro cd's.
you're trying to use the wrong driver, hence the device not counf message (there are no compatible devices found) you want the natsemi driver instead.
modprobe natsemi
[Texicle: "tupli.c" is a source file... not a driver. this would fail totally.]
if that comes up ok then a line in /etc/modules.conf along the lines of "alias natsemi eth0" will auotmatically load it for you forever more.
as for gcc, you probaly chose a dekstop install and so it assumed you never wanted to do anything clever, so just install the gcc rpm's from the distro cd's.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.