LinuxQuestions.org
Visit Jeremy's Blog.
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 04-04-2012, 05:07 PM   #1
marmirelo
LQ Newbie
 
Registered: Apr 2012
Posts: 6

Rep: Reputation: Disabled
eth0 fails to come up why?


I have just installed a Dlink DGE-528T ethernet card.
I cannot get an ethernet connection, the following messages appear when I boot debian 6.0 squeeze in recovery mode:
Configuring network interfaces ... Internt Systems Consortium DHCP Client 4.1.1-P1
SIOCSIFADDR: No such device
eth0: Error while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0

I have run the command lspci and the ethernet card is listed
cat /proc/ioports shows an entry for the driver r8169
cat /proc/interrupts does not show anything that I can recognize

Can anyone suggest why the etho is failing.
Thanks
 
Old 04-04-2012, 05:12 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Is (or was) there a different card in that system? May be the card is simply not eth0, i have that problem sometime when switching cards or cloning an OS to a different system. In that case the solution is to remove /etc/udev/rules.d/70-persistent-net.rules and restart the machine.
 
Old 04-04-2012, 07:11 PM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Tobi, are you sure to remove the file? I would recommend to edit the file (as root) and remove the lines mentioning eth0, eth1, etc.

I do agree with your conclusion that udev is renaming the network adapter.

To the OP: you can do dmesg | less and search for eth. Most probably you will see that eth1 or eth2 is installed instead of eth0. Which is solved by editing the file mentioned.

jlinkels
 
Old 04-04-2012, 07:35 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by jlinkels View Post
Tobi, are you sure to remove the file?
Yes, I am. I do that all the time, udev will simply create a new one when the machine is rebooted, with the new card named eth0.
 
  


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 does not seem to be present" : RHEL 5 suddenly fails to recognize eth0 linaru Linux - Networking 8 03-14-2008 08:01 AM
eth0 fails shueib Linux - Newbie 6 10-19-2005 02:36 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 fails at boot up jaysturm Linux - Networking 11 02-27-2004 06:09 PM


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