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 09-13-2004, 12:03 AM   #1
pikatu
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
"Bringing up interface eth0: failed"


I am connected to my LAN network through eth0, and it worked
fine. After powring off the machine and botting it up later I get this message."Bringing up interface eth0: failed"

Trying "service network restart" I get again the same message.

No changes have been done to my system in between.

I am using Mandrake 10 on an AMD64 machine.

How can my LAN connection be fixed.
 
Old 09-13-2004, 01:28 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Check the files in /var/log. There should be info on why it didn't start. May want to make sure it is loading the modules for the network card too. Mandrake usually makes them modules instead of built into the kernel. It may not be loading them when you reboot. If the modules are not loading, it won't work.

Hope that helps. Need more info at the moment though.

Later

 
Old 09-13-2004, 02:22 AM   #3
scapade
LQ Newbie
 
Registered: Sep 2004
Location: Helsinki, Finland
Distribution: Mandrake 10.0 Official
Posts: 16

Rep: Reputation: 0
I've had a similar problem and was helped out here. In Mandrake Control Center -> Network & Internet -> Manage Connections check under the Options tab that the 'Network Hotplugging' option is NOT selected.

I suppose you can still get eth0 up by typing 'ifup eth0' or 'ifup ifcfg-eth0' as the superuser from the terminal ?

-scapade
 
Old 09-13-2004, 04:44 AM   #4
pikatu
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Here is what I see in /var/log/messages

Sep 13 05:41:14 localhost kernel: eth0: network connection up using port A
Sep 13 05:41:14 localhost kernel: speed: 100
Sep 13 05:41:14 localhost kernel: autonegotiation: yes
Sep 13 05:41:14 localhost kernel: duplex mode: full
Sep 13 05:41:14 localhost kernel: flowctrl: symmetric
Sep 13 05:41:14 localhost kernel: irq moderation: disabled
Sep 13 05:41:14 localhost kernel: scatter-gather: enabled
Sep 13 05:41:39 localhost network: Setting network parameters: succeeded
Sep 13 05:41:39 localhost network: Bringing up loopback interface: succeeded
Sep 13 05:41:39 localhost ifplugd(eth0)[3904]: ifplugd 0.21b initializing.
Sep 13 05:41:39 localhost ifplugd(eth0)[3904]: Using interface eth0/00:0D:61:7A:8D:E9
Sep 13 05:41:39 localhost ifplugd(eth0)[3904]: Failed to detect plug status of eth0
Sep 13 05:41:39 localhost ifplugd(eth0)[3904]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
Sep 13 05:41:41 localhost ifplugd(eth0)[3904]: Program executed successfully.
Sep 13 05:41:41 localhost ifplugd(eth0)[3904]: Exiting.
Sep 13 05:41:41 localhost network: Bringing up interface eth0: failed
 
Old 09-13-2004, 07:54 AM   #5
DertyolBA$HTARD
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10
Posts: 86

Rep: Reputation: 15
Are any of the lights on on the card?

Have you tried another card ?
 
Old 09-13-2004, 05:09 PM   #6
linux_newbie_23
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Rep: Reputation: 0
I vaguely remember a problem like that in Mandrake 10.0. It seems to me a
work-around was to edit my /etc/sysconfig/network-scripts/ifcfg-eth0 file and
change the line saying MII_NOT_SUPPORTED=no to a "yes" instead. Then
it worked for me, when it stopped expecting MII to work for my card. Your
mileage may vary, of course. (As I recall, the kernel log showed that my card
did indeed have MII and the kernel knew it, so I decided the problem/bug was
higher on the food chain.)
 
Old 09-13-2004, 06:12 PM   #7
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
Do you use dhcp to get an ip address?

if so:
become root in a terminal (su)
type:
"ifconfig eth0 down"
"dhclient eth0" and if it says command not found try "pump eth0"
-if they both say command not found do "apropos dhcp" and it will give you some info.

if you set your ip manually, just use the command:
"ifconfig eth0 192.168.0.1 up" and replace it with your ip obviously.

-if you connect directly to the net you should be fine but if you use a router or another computer as a gateway you'll have to tell that to the kernel:
"route add default gw 192.168.1.1" etc.

and also, /etc/resolv.conf holds your info about dns , where each line takes the form
"nameserver x.x.x.x"

it would be really gross to have to do that every time... but you can at least use it to make sure that your card works. if it still is being stupid you should check to make sure that the module is loaded. that info will be located inside /proc

hope this helps out some
 
Old 10-03-2004, 02:25 AM   #8
pikatu
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks to all.
It seems that unsetting the 'Network Hotplugging' as suggested by scapade made it work.

pikatu
 
  


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
Mandrake 10.1 - "Bringing up eth0: FAILED" zhex900 Linux - Networking 10 12-07-2004 11:59 PM
"Bringing up interface eth0" and wait... josejose Linux - Networking 0 10-16-2004 03:22 PM
"Bringing up interface eth0: failed" on 3com NIC zoinkedzonker Linux - Networking 3 08-17-2004 12:18 AM
rh8.0 boot up stuck on "bringing up interface eth0" tnf Linux - Wireless Networking 7 03-22-2004 07:41 AM
RHL7.3 stops loading at "Bringing interface of eth0" rvijay17 Linux - General 1 10-10-2002 01:02 PM

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

All times are GMT -5. The time now is 09:31 PM.

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