LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-09-2002, 12:19 PM   #1
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Rep: Reputation: 15
eth0 failed during boot


Yes i am a Noob and yes i know there is threads all through out this fourm but. i can not find one that is the same as my problem.

Wehn i first installed RH 7.2 the first time on my dual boot everything ( but windows was working fine ) got that solved and have been running fine for about a week. ( minus a few bugs that any newbie Linux user has ) today i go home at lunch and my eth0 fails during boot. and in turn no internet. I i pretty damn sure that i use DHCP to get an IP and like i said it has been working fin till today! I have my Cable internet running through a 4 port hub that routes the internet connection to my computer as well as a nother box with in my home. ( yes the hub is "routing" i do not have it set up to run the cable connection through my box to the other one ) I have not tried ifconfig yet bucuz i am still new and do not fully understand it! is it just the winblows equvilant of the ipconfig?

<----------- yep thats me!
 
Old 12-09-2002, 12:35 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
1: Are the cables all fine? Try plugging your comp into a different port on the hub.
2: If you're running with DHCP, check to see if your computer is trying to be a dhcp server. I had a situation a while ago where I had my comp setup to be a dhcp server, and there was one already... needless to say the two argued and because the other one was already running, mine lost the argument. If you disable dhcp server, and let it give you an ip, then things might work again.

HTH
 
Old 12-09-2002, 12:48 PM   #3
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Original Poster
Rep: Reputation: 15
how would i disable dhcp server if that is the case?
 
Old 12-09-2002, 02:38 PM   #4
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Depends on what it was you were using.

Under Redhat the default dhcp server is called... dhcp!

Yay.. to check if you have it:

rpm -aq | grep dhcp

You should see the following :

dhcp-2.0pl5-8
dhcpcd-1.3.22pl1-7

although your version numbers might change. The first is the *server* and the second is the client. If you're not using your machine to hand out ip addresses (which it appears you don't) you can safely remove it with :

rpm -e dhcp

If you want to keep it, but disable it :

/etc/init.d/dhcpd stop


Note to the confused : dhcpcd is the *client* for getting an ip address via dhcp. dhcp is the server for handing it out... This naming convention is confusing, and abnormal - I've not seen it outside of Redhat..

Slick.
 
Old 12-09-2002, 02:58 PM   #5
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Original Poster
Rep: Reputation: 15
well i will try that tonight!! if it works on to my next problem

thanks!
 
Old 12-09-2002, 03:20 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
run setup from a terminal

choose System services

if dhcpd is selected then deselect it

run the command as shown above

/etc/rc.d/init.d/dhcpd stop


then run this


dhcpcd eth0

Last edited by DavidPhillips; 12-09-2002 at 03:43 PM.
 
Old 12-09-2002, 04:00 PM   #7
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Original Poster
Rep: Reputation: 15
well it did not fail when i tried it after work!!
if it does fail again i will try your last opinion! until then i am not going to worry!
 
Old 12-09-2002, 05:18 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
probably just timed out before
 
Old 12-09-2002, 11:46 PM   #9
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
or just check the cables are well connected...or

you know what happenes to me in my computer....when ever I boot from Windows into Linux...the internet never works...I cannot login into my DSL connection. I have to power down the computer when I get out of Windows. If I do that, then Linux is able to log into the DSL connection. I think it is because Windows does something funny...that needs to be reset by a power down, and not just a reboot....really weird. When I reboot from Linux to go into Linux it works still fine...and also if I reboot from Linux into Windows...it also work. Only when I reboot from Windows into Linux...it never works. oh well!,
 
Old 12-10-2002, 08:02 AM   #10
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
It is because windows is a damed growing virus.

Ok, I think it might be a config problem with your card, try running neconf (you shouldn't have it, download it from http://www.redhat.com ). then configure your card to boot and to use dhcp. if it still dont work try from a console
Code:
#ifconfig eth0 up
and see if it works. If it does try ping to any local machine (from your internal network).

then tell us what happend.

Save the penguin
 
Old 12-10-2002, 01:32 PM   #11
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
thanks for the insight there, Ciccio, but the problem is of a slight different nature than that of which you think it is. this is not a cable modem to which you just simply type ifup eth0 and then it is a done deal...it's a DSL which has the need to use Roaring Penguine login software. And that's what doesn't login after a straight reboot from Windows. Unless I power down first.
Thanks though,

Last edited by zLinuxz; 12-10-2002 at 01:33 PM.
 
Old 12-10-2002, 01:50 PM   #12
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Sorry, I don't use much the quotes, I was telling JoC to check if his network adapter was working properly, I know DSL channels use something else than a simple ifconfig eth0 up. I've never used one, I still use dialup (yeah, as pathetic as it sounds... And I've downloades the full 3 Cd's of Mandrake with that dialup...)

Anyway... As i understood his eth0 won't start, so, if he startes it manually then he should be able to discard a hardware problem, As you said, elimination.
 
Old 12-10-2002, 04:27 PM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
roaring penguin should connect on boot if you tell it to in the adsl -setup
 
Old 12-10-2002, 10:03 PM   #14
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
yeah david, but right after the Windows reboot, it fails. I need to power down, to sort of like "reset" the ethernet card maybe or the dsl modem, not sure which one is the problem. it's just a fact of windows I need to live with, hehe,
 
Old 12-10-2002, 11:02 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It's been over a year since I had DSL setup on the boat at work, so I don't know the exact setup details, although I have posted it here before. I do know that I had to reset the modem every now and then, which was a real pain since I had to jump in a boat and run up to the landing and reset the stupid thing. I never had to do anything to the linux box connected to it though.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 failed to boot in mandrake 10.0 HollowSoft Mandriva 2 06-01-2004 09:34 PM
bringing up the eth0 failed on boot UddUnderline Linux - Networking 5 04-18-2004 07:20 PM
eth0 failed on boot... duker_d_cooker Linux - Hardware 4 02-27-2004 09:57 AM
Boot Message: 'eth0 failed' but still works? olias Mandriva 11 12-31-2003 05:50 PM
boot eth0 failed sis900 zip Linux - Networking 3 10-06-2003 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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