Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Well, this may be a start, but the command line entry to compile the module, by convention, is the last lines in the .c code. Hopefully it will compile without errors. From a little googling, the module for that card (and that older version of redhat), is probably via-rhine and was included in the installation. Try:
Then see what happens. Try 'ifconfig eth0 up' to bring up the card. to automate it... er, hmm... depmod -a er, I can't remember how to do that in redhat, I'm such a gimp.
Thanks a lot for your prompt reply. I checked my /modules/... directory and found via-rhine.o module. However, when I typed modprobe via-rhine, I get an error message..
Device or resource busy
Insmod via-rhine failed.
I have tried to compile the "RTL8139.C" code (the driver for my ethernet), following the instructions at the bottom of the code, but I got a message saying RTL8139.C does not exist even though I tried executing the command from the directory where the file was located. I am not sure what I am missing.
Is there a way, I can download the module directly (from the internet)and then try modprobe via-rhine ?
In your post you typed the name of the source (.c) file in all caps. Case-sensitivity counts; make sure the filename exactly matches that given in the compile command. Specific compile instructions can be found here; read them carefully, as you probably have to compile pci-scan.o before rtl8139.o.
This chipset seems to have danced accross a number of modules:
Originally via-rhine, then I think it was somewhere else before being in rtl8139, and now its part of the brand spanking new code: 8139too. Annoying. If the .c code you had did not come with a def file, then it was probably meant to be put in the kernel source directory and compiled with the kernel, or maybe your install didn't put kernel source on... This could make for a raging hastle.
You have to remember that modules (drivers and a lot of other things), are really just part of the Linux kernel, and have little to nothing to do with the distribution that you are using. Remember, its not a case of 'RedHat' didn't find my card, its always: kernel 2.2.10 didn't find my card, or whatever kernel. You also can't swap out modules from different kernels and run them in a different kernel then they were compiled for... well, okay, technically you can force it to work, but this can be very bad.
Honestly, you have a very old distro of RedHat right now. It went: 6.2, 7, 7.1, 7.2, so you're one major and 3 minor versions back and that could make all the difference in making the switch to linux very easy as RedHat especially has gotten much more newbie friendly in the past few years.
Sorry for not having anything encouraging to post really,