LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-02-2004, 03:17 AM   #1
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Rep: Reputation: 15
Question bringing up interface eth0: [FAILED]


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
 
Old 10-02-2004, 03:43 AM   #2
cyrus_the_yrus
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat ES 2.1
Posts: 20

Rep: Reputation: 0
see if my post here helps
 
Old 10-02-2004, 04:04 AM   #3
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
cyrus_the_yrus;

will RedHat drivers also work for Mandrake???

if so your post will really help

the most
 
Old 10-02-2004, 09:08 AM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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)
Code:
nano -w /etc/modules.preload
...
...
...
8139too
ctrl+x,y,enter
reboot and it should load, with the settings you arranged with drakconnect. Good luck.
 
Old 10-02-2004, 10:08 AM   #5
cyrus_the_yrus
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat ES 2.1
Posts: 20

Rep: Reputation: 0
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.

http://www.realtek.com.tw/downloads/...&Software=True

good luck
 
Old 10-02-2004, 03:09 PM   #6
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
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.



thanks again...

I am waiting for your coming messages...

Last edited by Birgi; 10-02-2004 at 03:23 PM.
 
Old 10-02-2004, 03:47 PM   #7
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

By the way after doing the things you told a new error message occuried during booting and that is something like this...

insmod: Hint: insmod errors occur because of incorrect module parameters...

I don't know if this helps or not...

Thanks
 
Old 10-02-2004, 09:34 PM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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.
 
Old 10-03-2004, 02:08 AM   #9
cyrus_the_yrus
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat ES 2.1
Posts: 20

Rep: Reputation: 0
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
 
Old 10-03-2004, 02:40 AM   #10
cyrus_the_yrus
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat ES 2.1
Posts: 20

Rep: Reputation: 0
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
 
Old 10-03-2004, 02:42 AM   #11
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

- 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 ???
 
Old 10-03-2004, 02:52 AM   #12
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
cyrus_the_yrus;

output of dmesg is as the following...

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.
 
Old 10-03-2004, 03:01 AM   #13
cyrus_the_yrus
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat ES 2.1
Posts: 20

Rep: Reputation: 0
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
 
Old 10-03-2004, 06:47 AM   #14
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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.
 
Old 10-03-2004, 07:46 AM   #15
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

- 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

- output of lsmod is as follows...

Module Size Used by Not tainted
sg ... 0 (autoclean) (unused)
st ... 0 (autoclean) (unused)
sr_mod ... 0 (autoclean) (unused)
sd_mod ... 0 (autoclean) (unused)
scsi_mod ... 4 (autoclean) [sg st sr_mod sd_mod]
ide-cd ... 0 (autoclean)
cdrom ... 0 (autoclean) [sr_mod ide-cd]
nfsd ... 8 (autoclean)
ds ... 2
yanta_socket ... 2
pcmcia_core ... 0 [ds yenta_socket]
af_packet ... 0 (autoclean)
floopy ...
supermount ... 2 (autoclean)
usb-uhci ... 0 (unused)
usbcore ... 1 [usb-uhci]
rtc ... 0 (autoclean)
ext3 ... 2
jbd ... 2 [ext3]

***do you also need the sizes? if so i can also write them down.

- after booting and assigning my static ip with 'ifconfig eth 0 .... netmask ....' i tried to ping an IP from the network.... here is the output...

PING 139.179.217.1 (139.179.217.1) 56(84) bytes of data.

and it stucks... what does it mean???

- in /ect/sysconfig/network-scripts/ifcfg-eth0 there is a line as 'ONBOOT=yes'

- and in /etc/resolv.conf there is only one line... 'nameserver 139.179.124.6'
this IP is my DNS...

thanks

Last edited by Birgi; 10-03-2004 at 07:53 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bringing up interface eth0 [FAILED] 0ver12ide Linux - Newbie 3 06-27-2004 02:31 PM
Bringing up interface eth0... failed Commish66 Linux - Networking 10 02-19-2004 11:27 PM
Bringing up interface eth0: failed Commish66 Mandriva 11 02-17-2004 07:15 PM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 05:33 PM
Bringing up interface eth0.... failed synecdoche Linux - Hardware 2 08-20-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration