LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 11-26-2005, 02:23 PM   #1
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 771

Rep: Reputation: 32
eth0: link down during boot


Running Debian Unstable. Recently when booting I sometimes get the message:

eth0: link down

and then the PC cannot connect to the network. There are 5 DHCP DISCOVER attempts and then it gives up. Once booted, ifup eth0 doesn't work.

This NEVER happens if I boot Mandrake 10.1 and in fact booting Mandrake and the restarting and choosing Debian seems to fix it.

The problem _might_ be related too an init tools upgrade. Not sure.

Can anybody suggest a way to proceed to fix this?
 
Old 11-26-2005, 02:36 PM   #2
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
Do you have multiple enabled network controllers on that computer?

As I have noticed on my computers running Debian testing/unstable that have multiple enabled network controllers that on some bootups the NICs get reordered, so e.g. the network controller that is normally eth0 becomes eth1, so the "new" eth0 doesn't have any cable connected to it (as it is connected to the "new" eth1) and thus it fails to acquire an address.
A solution would be to disable the network controllers one doesn't use, e.g. for onboard network controllers there is typically some setting in the BIOS that allows one to do so.
 
Old 11-26-2005, 03:38 PM   #3
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 771

Original Poster
Rep: Reputation: 32
Thanks, that may have done the trick. I disabled the on-board NIC, which is there as a "spare" and rebooted twice successfully.
 
Old 11-27-2005, 04:25 PM   #4
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 771

Original Poster
Rep: Reputation: 32
I can confirm that that was the solution. I rebooted about 5 times today (no, not problems, switching OSes) and each time the PC booted OK as far as this went. (there's another new problem but that's for another question if it persists)

Thanks dastrike.
 
  


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
bcm5700: eth0 NIC link is DOWN cyclonecross Red Hat 0 10-18-2005 10:48 PM
eth0 losing link shortly after 'setting network parameters' on boot scylla Linux - Networking 1 04-13-2005 10:11 AM
lsmod =eth0 media link down master Linux - Networking 3 01-24-2005 04:42 AM
eth0 won't recognize link upon bootup Buckaroo Linux - Networking 15 07-28-2004 12:03 PM
ip link setup eth0 up hangs thomasb Linux - Networking 0 01-12-2003 09:24 AM


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