LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-15-2001, 02:52 PM   #1
Nooooobie
LQ Newbie
 
Registered: Aug 2001
Location: Pensacola, FL
Distribution: Win98+WinLinux+Red Hat 7.1 on one system Win98+Peanut 8.4 on the other.
Posts: 27

Rep: Reputation: 15
...eth0 [Failed]


I'm trying to get my Linux box connected to my cable connection. Could somebody please go to http://www.linux.com/learn/newsitem....id=1&aid=12537 and help me figure out why it doesn't work for me. When I boot up I get 'Bringing up interface eth0...' for a really long time. Then of course it fails. I have Red Hat 7.1 and Cox @Home. I know I don't have a hardware problem because when I boot Windows everything works fine.
 
Old 10-17-2001, 02:28 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Make sure the correct kernel module for your ethernet card is loading at boot and that it loads before attempting to contact a DHCP server. To check what modules are loaded do "lsmod" in a console as root. To load a module do "modprobe <module name>".
 
Old 10-17-2001, 12:40 PM   #3
ejtbrown
Member
 
Registered: Mar 2001
Location: Santa Maria CA USA
Distribution: RedHat 6.0 & RedHat 7.0
Posts: 36

Rep: Reputation: 15
The link you provided assumes that your network card is already configured - it only addresses how to get a functional network card working with the cable modem and DHCP. I would recommend looking at the Ethernet HOWTO, as well as any documentation you have on your network card. Since you're using RH 7.1, you should be able to use LinuxConf to setup the card (command 'linuxconf' at the prompt). If the module required to run card is not listed on the LinuxConf list, you'll be in for some extra work, but in most cases it should be pretty easy. If you continue to have problems, post back on this thead and include the make and model of your network card.
 
Old 10-17-2001, 01:46 PM   #4
Nooooobie
LQ Newbie
 
Registered: Aug 2001
Location: Pensacola, FL
Distribution: Win98+WinLinux+Red Hat 7.1 on one system Win98+Peanut 8.4 on the other.
Posts: 27

Original Poster
Rep: Reputation: 15
I use a D-Link DFE-550TX, which (I hope) uses the Sundance module. The 'lsmod' command shows that Sundance is loaded. If I run 'ifup eth0' it does the same thing that it does during bootup (but I don't know if that's the exact command it runs during bootup). This should mean that it can't contact the DHCP server even after the module loads.
 
Old 10-17-2001, 02:30 PM   #5
ejtbrown
Member
 
Registered: Mar 2001
Location: Santa Maria CA USA
Distribution: RedHat 6.0 & RedHat 7.0
Posts: 36

Rep: Reputation: 15
Looks like the sundance module is the right one (http://www.dlink.com.au/tech/drivers...ux_drivers.txt) for the DFE-550Tx (but the DFE-550Fx uses a different one). As it turns out, I ran into a lot of the same touble installing a DFE-530Tx under RH 7.0, so I'll tell you what I did to make it work:

*In the Networking | Client Tasks | Basic Host Infomation | Adaptor 1 section of LinuxConf, I selected the module name that D-Link listed for the DFE-530Tx (via-rhine).

*I compiled the module object that came on the driver disk (there was a directory called 'linux' on it that contained the linux driver). This created a file called rtl8139.o. I put this file in the /root directory (for lack of any other good place to put it that I knew of at the time).

*I edited the file /etc/rc.d/init.d/network. A little ways down, there was a line that read:

case "$1"
start)

This is the beginning of the part that starts up the network interface. At the beginning of this section (on the line directly after the the lines listed above) I put in the command

insmod /root/rtl8139.o

This is almost certainly not the most effifient way to handle this (installing the module on the system), but it does have the virtue of working.


Anyway, with this stuff done, it works like a champ. I hope this helps!
Also, if you haven't bumped into it yet, D-Link's support page for the DFE-550Tx (http://support.dlink.com/products/vi...ctid=DFE-550TX) has a link to download linux drivers for the card.
 
Old 10-17-2001, 03:39 PM   #6
Nooooobie
LQ Newbie
 
Registered: Aug 2001
Location: Pensacola, FL
Distribution: Win98+WinLinux+Red Hat 7.1 on one system Win98+Peanut 8.4 on the other.
Posts: 27

Original Poster
Rep: Reputation: 15
This is funny. The Linux driver files come in a WinZip self-extracting .exe file!
 
Old 10-17-2001, 04:07 PM   #7
ejtbrown
Member
 
Registered: Mar 2001
Location: Santa Maria CA USA
Distribution: RedHat 6.0 & RedHat 7.0
Posts: 36

Rep: Reputation: 15
Are you able to extract it and make the files available in Linux?
 
Old 10-17-2001, 07:05 PM   #8
Nooooobie
LQ Newbie
 
Registered: Aug 2001
Location: Pensacola, FL
Distribution: Win98+WinLinux+Red Hat 7.1 on one system Win98+Peanut 8.4 on the other.
Posts: 27

Original Poster
Rep: Reputation: 15
I have Windows too, so that isn't a problem. This is the Sundance driver. I'm already using this. Should I install it anyway?

Last edited by Nooooobie; 10-17-2001 at 07:31 PM.
 
Old 10-17-2001, 08:24 PM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Do a "lspci" and see what sort of chip is on the card. Linux drivers go by the chip used for the card not the company that made it. My ethernet card was made by Acer but uses a realtek chip (8139) so the module for it is 8139too (rtl8139.o is the old module).
 
Old 10-18-2001, 12:16 AM   #10
Nooooobie
LQ Newbie
 
Registered: Aug 2001
Location: Pensacola, FL
Distribution: Win98+WinLinux+Red Hat 7.1 on one system Win98+Peanut 8.4 on the other.
Posts: 27

Original Poster
Rep: Reputation: 15
Here's the 'lspci' output:

00:09.0 Ethernet controller: D-Link System Inc: Unknown device 1002 (rev 12)

I left out everything but the nic. Also, if it's of any help to you guys, my modem lights look the same way they do in Windows.

Power [on]
Cable [on]
PC [on]
Data [blinks sometimes]
Test [off]

Also, when I run '/sbin/pump -i etho --status' I get 'Operation failed.'
 
Old 10-18-2001, 12:27 AM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok, now we try "cat /proc/pci" your looking for something like this,
Code:
 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 16).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0xe000 [0xe0ff].
      Non-prefetchable 32 bit memory at 0xde000000 [0xde0000ff].
  Bus  1, device   0, function  0:
If this dosn't give up the needed info then you might have to pull the card and look at whats on the chip.

Last edited by Aussie; 10-18-2001 at 12:31 AM.
 
Old 10-18-2001, 01:45 PM   #12
ejtbrown
Member
 
Registered: Mar 2001
Location: Santa Maria CA USA
Distribution: RedHat 6.0 & RedHat 7.0
Posts: 36

Rep: Reputation: 15
To answer your question on weather or not to use the Sundance that came with the driver download, I would say yes. In my case, (with the DFE-530Tx) the rtl8139.o that came with my RH distribution did not work with the card, but the one that I compiled from the driver disk (also rtl8139.o) did work.
 
Old 10-18-2001, 06:21 PM   #13
Nooooobie
LQ Newbie
 
Registered: Aug 2001
Location: Pensacola, FL
Distribution: Win98+WinLinux+Red Hat 7.1 on one system Win98+Peanut 8.4 on the other.
Posts: 27

Original Poster
Rep: Reputation: 15
Here's what I get when I cat /proc/pci:

Ethernet controller: PCI device 1186:1002 (D-Link System Inc) (rev 18).
IRQ 5.
Master Capable. Latency=64. Min Gnt=10.Max Lat=10.
I/O at 0xd800 [0xd87f].
Non-prefetchable 32 bit memory at 0xe9000000 [0xe90001ff].
Bus 0, device 10, function 0:
 
Old 10-18-2001, 06:59 PM   #14
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
I found this link with a d-link driver for the 2.4.x kernel that might help, the readme says its been tested with RH7.1.
 
Old 10-18-2001, 11:28 PM   #15
Nooooobie
LQ Newbie
 
Registered: Aug 2001
Location: Pensacola, FL
Distribution: Win98+WinLinux+Red Hat 7.1 on one system Win98+Peanut 8.4 on the other.
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks Aussie, I'll try the driver as soon as I get time. I'm having a hard time finding time for this stuff because my dad is trying to finish writing a book in two weeks. The other driver that I got from http://www.dlink.com.au/tech/drivers...ux_drivers.txt had a really lousy readme. The readme said there was a makefile and there wasn't. The one you sent had the makefile.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
eth0: [Failed] antiliphe Linux - Networking 1 09-17-2004 06:09 PM
eth0 failed on boot... duker_d_cooker Linux - Hardware 4 02-27-2004 10:57 AM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 06:33 PM
Eth0 failed message buddaguy Linux - Networking 2 01-12-2002 03:33 AM
eth0 Operation failed cvlinux Linux - Networking 0 09-10-2001 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration