LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-18-2005, 04:59 AM   #1
shueib
LQ Newbie
 
Registered: Oct 2005
Location: Mumbai
Posts: 11

Rep: Reputation: 0
Question eth0 fails


Hello
I have installed Red Hat Linux 7
i want to connect this computer to another computer having fedora to connect to internet.
i went in network configuration but eth0 fails everytime

i tried ifup etho but it says delaying eth0 i tried etc/init.d network restart but it says eth0 fails

i pinged with 127.0.0.1 thn everything is ok

tell me how to activate interface eth0
Is anything wrong with my network card ? :-(
 
Old 10-18-2005, 05:59 AM   #2
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
Call a console (once a console, always a console!)
Check the following:
>ifconfig (should show that eth0 is up, has an IP and a netmask.)
if it is down, type

>ifconfig eth <your desired and UNIQUE IP> up
Next check this

>route (it should show you two thins: The default loopback route and the route to your network. My guess is that there is no route to your network.)
If there is only a loopback address add the route to your network by typing

>route add -net <the target network IP including subnetmask (192.168.1.0 for all hosts 192.168.1.1-192.168.0.255)>
This should add the route to your network.


By the way, check the kernel messeges for a detailed explanations why eth0 fails and what that means exactly (not detected on bus? not responding? network unreachable? host unreachable? eth0 not fed last evening? ethernet cards on strike? Does the union of eth0 labour know about this? eth0 on holidays - will come back later? You know, what does "fail" mean...)
 
Old 10-18-2005, 06:05 AM   #3
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Or possibly RH7 doesn't have support for your network card (old 2.4 kernel, etc, etc ....)

Specifing make and model of your network card might help as well.
 
Old 10-18-2005, 08:19 AM   #4
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Hello,
do one thing.
unplug yr NIC from yr system. Then start and shutdown yr system once to remove older network configs
plug in yr NIC again. Now while trying to configure it using "netconfig" it should prompt with the make/modules.....note down that modules. You may need to load that module.

Lets see first whether u reach upto this or not.......then we will see rest ( as i have to leave now )

regards
 
Old 10-18-2005, 08:46 AM   #5
shueib
LQ Newbie
 
Registered: Oct 2005
Location: Mumbai
Posts: 11

Original Poster
Rep: Reputation: 0
Smile Thank you

Thank you Guys for all ur help and support

Im sure if i have so many linux tech people i can easily be linux expertise..

thanks again
 
Old 10-19-2005, 05:54 AM   #6
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
ruudra, just an idea:
If the kernel lacked the module, the ethernet card would have no instance in the kernels device tables, thus there would be no eth0 to fail!

You have a point though, there might be the wrong driver behind this problem. shueib, a model number of your ethernet card, model etc... Then, given that everything else we proposed failed, post the outpu of a "lsmod" command along with the model identifiers of your ethernet card.
 
Old 10-19-2005, 02:36 PM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
post the O/P of

lspci

this will be helpfull to track down ur network card module


regards
 
  


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 interfce fails majicrobot Linux - Networking 4 10-25-2004 01:43 PM
ifup eth0 fails.... esi-eric Linux - Hardware 4 07-23-2004 01:11 PM
eth0 fails at boot... fowlerlfc Linux - Hardware 3 06-02-2004 11:52 PM
eth0 interface fails linuxbeak Linux - Newbie 5 02-24-2003 04:52 PM
eth0 initialization fails HwzrHlslndr Linux - Hardware 13 01-21-2003 02:14 PM


All times are GMT -5. The time now is 11:02 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