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!
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.
I just installed woody and Im having some problems getting my internet to work with my Realtek 8139 card. I installed debian with the standard 2.2.20 kernel and with dhcp support my internet worked fine. Then I updated to kernel 2.4.18 because that one is also on the debian cd and now my internet doesnt work anymore, even tho i got dhcp support installed. I also double checked that I selected support for my card in the kernel config.
ifup eth0 says its already running.
lsmod doesnt list it. I tried modprobe 8139too but at first it said "version mismatch, 8139too was compiled for kernel v 2.2.20". After that i tried copying 8139too.o from /usr/src/kernel-source-2.4.18/drivers to /lib/modules/2.4.18/net and after modprobe it said "Couldn't find version the module was compiled for". So how do i get this 8139too to work?
Hmmm first try doing insmod -f 8139too
That will hopefully force the module to be loaded.
You recompiled the kernel and started having this problem? I know that when the modules are read when using modprobe or insmod, that is using the modules for whatever the output is from uname -r. I believe the forcing may get it to take that module. Else, you may have to "lie to the kernel and change the version listed from the header files in the include directory. I would really have to march around to find which kernel header needs to be modified. Hopefully insmod - f will work.
When you recompiled the kernel after your upgrade ( I am assuming you applied patches and recompiled for your upgrade) It seems like the module was compiled using the older kernel's headers. Do you have 2 different sets of modules in /lib/modules? Is it possible that when you recompiled the kernel that you didn't have that realtec card module selected for compiling? Plain fact is... you may want to see what you get when you hit google searching for "linux kernel module mismatch" I can almost bet you are not the only one that has encountered that error.
That didn't work, however I got some more info that might make it easier to help.
So I installed woody with the default 2.2.20 kernel. Internet worked, using the rtl8139.o module, which is located in the folder /lib/modules/2.2.20/net.
Now I downloaded the latest 2.4 kernel and installed it over the old kernel. I didn't get any errors or something during installation, however theres no /net folder in /lib/modules/2.4.27 When i modprobe something it says theres a file missing which should be in that folder. I tried copying the net folder from /usr/src/2.4.27 and the 8139too.o (which is indeed the module used for my card in 2.4 and up kernels) but that doesn't work, not like I expected it to. Maybe I did something wrong when installing the kernel? This is what I did after the configuration:
This is how I read it in some howto I found with google.
I hope this info makes it easier to solve my problem because I've been messing around with this for too long now.