Linux - NetworkingThis 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.
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 used DrakConnect to make all my network configurations... It automatically detected my ethernet card and set the driver (8139too) to it. I also did all the other settings like IP, netmask, gateway, host...
But during start up while "Bringing up interface eth0:" it "[FAILED]".
I am using a Billionton LNRDL - 100B ethernet card and Mandrake 9.1.
---- in the output of command dmesg it writes...
8139cp: pci dev 02:00.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: try the "8139too" driver instead.
BUT
---- in /etc/modules.conf it writes
probeall usb-interface usb-uhci
alias eth0 8139too
What is the problem? Does anybody know?
Urgent Help Please
There is a strong likelyhood that the 8139too module will work. Most drivers are already in the kernel for you, so any distro-specific ones will not be too helpful. I'd stay away from binary drivers if possible. Saying all that, lets get you online!
Can you check to see if when you have the machine all bboted if the module has already loaded? Use lsmod and see if the 8139too module is actually in the list. If not, try
Code:
modprobe 8139too
and see if it'll load and stay there. If so, then the easy path for you is this:
There's a file in /etc on Mandrake 10.0 and above called /etc/modules.preload. Open that with your favorite editor and add the name of the module to it on its own line, with nothing else (there are instructions within the file anyways, but I feel compelled to repeat them, and myself, again)
vectordrake wrote
*********************************************
There is a strong likelyhood that the 8139too module will work.
*********************************************
have to agree with him .
Birgi,check ur kernel version and make sure you download the driver for kernel 2.4-
you would know that by doin this
********
uname -r
*******
and this is where you will fine the realtek driver.
First of all I want to thank you cryus_the_yrus and vectordrake, both. It was my second post and you were the first ones to reply it. I (who is certainly a newbie at linux) started to believe that there is something like "linux spirit".
Now what did i do?
vectordrake;
8139too does not appear at the lsmod list, but it was loaded when i used modprobe 8139too. But i forgot to mention something. I am using Mandrake 9.1 and there is nothing like modules.preload in etc. I read the explanation of /etc/modules so i thought that it would to the samething. I added the line '8139too' to the file /etc/modules and rebooted but it did not worked.
crys_the_yrus;
my kernel is 2.4.21-0.13mdk. I downloaded the driver from the site. I read your previous post but i thing Mandrake has a different location than
/usr/src/<kernel version>/drivers/<make a folder here>... So i don't know where to copy 8139too.c.
Do you have any other pcmcia or cardbus cards plugged into your machine? I am curious if the pcmcia-cs package is loading. I've never owned a laptop, so I'll be a bit hazy on the "hands on" but I know my way around.
BTW, the source code for the kernel is not automatically installed on the har drive for Mandrake. You'd have to install it if you needed to compile a new module into your kernel. You don't have to as its already included in the kernel you're running. What you need to do is make sure that the module is applying to the card. Are the two listed together in Harddrake? After you reboot, does lsmod show the module loaded? Does ifconfig show that eth0 is up, with an IP address?
Last edited by vectordrake; 10-02-2004 at 09:37 PM.
to be honest.iam all out of ideas as far as mandrake goes.
however as vectordrake said ..you could give the card a static ip and check if its up with "ifconfig " or you could do an explicit "ifup etho" to bring it up .
"lsmod" should list that the module is loaded if it is indeed loaded.if not you still have to go back to the step where you have to compile the driver urself. like i said .. am not well conversant with mandrake . mebbe you could do a "find" and see where rest of the module files say for any other driver are located .thats the place you could put the 8139too.o file too .once that file is copied do a insmod 8139too which will install the module for you.
good luck
could you mebbe post the output of "dmesg".
of course only the part of the output that is relevant to the network card .might give an insight into what exactly is goin wrong .
thanks
- i don't have any pcmcia or cardbus cards plugged in.
- they are listed together in the harddrake2. I mean module of the ethernet device(RTL-8139 it writes) seems to be 8139too.
- but 8139too does not show up in the lsmod list although I have a line '8139too' int /etc/modules
- for last ifconfig shows that eth0 is UP but it does not show any IP for eth0 although drakconnect has all the settings...
when i use the command 'ifconfig eth0 139.179.217.2 netmask 255.255.255.0' and then check the 'ifconfig eth0' i can see the IP address, netmask, broadcast and so... However after rebooting they all disappear.
cyrus_the_yrus;
do you have any idea about the place of modules??? because i really don't .
and what is gcc ???
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
8139cp: pci dev 02:00.0 (id 10ec:8139 rev 10) is not an 8139+ compatible chip
8139cp: try the "8139too" driver instead
...
eth0: Realtek RTL8139 Fast Ethernet at 0xc4901000, 00:10:60:74:3b:1e, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
i do know my way around with modules on redhat but am kinda lost with mandrake coz i havent used it.
you could find any info you need on modules in the linux HOW TO. http://www.yolinux.com/HOWTO/Module-HOWTO.html
as far as gcc goes .its the GNU C and C++ compiler.
you could fine more info on it if you do a "man gcc".
hope it helps
usually, the list of the actual modules that match the kernel(s) is in /lib/modules/<kernel#>/kernel/<category to fit your query>. If there is no module listed for your particular card (this applies to any device), then it certainly won't load.
Now, since modprobing the card worked, the 8139too driver is there. no need to compile it in again. Can you post the output of lsmod? Sounds like your card is using the "C" revision of the chip and requires an extra parameter loaded (perhaps another module). According to your dmesg, the card is loading and being assigned 1/2 duplex (like my 10baseT hub). If you ifconfig and there is an IP address, that's a god thing. After the IP gets assigned (which in this case, you added manually a static one), can you get online? Do domains resolve?
Your IP address information is in /ect/sysconfig/network-scripts/ifcfg-eth0(look for a line ONBOOT=y for booting the settings every time) and your DNS info is in /etc/resolv.conf. You can view the files with a text editor. To change them, you'd have to be root.
- in /lib/modules/2.4.21-0.31mdk/kernel/drivers/pcmcia (I think this is the location) there is not anything as '8139too'. Let me list the things there...
ds.o.gz
i82092.o.gz
i82365.o.gz
pcmcia_core.o.gz
tcic.o.gz
yenta_socket.o.gz
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.