eth0 has disapeared (SIOCSIFADDR: No such device)

Asked by LucyB

I'm running 64bit gutsy (upgraded from feisty last week) and yesterday afternoon my network card disapeared. It was working a few hours before and no changes had been made. Looking in the logs, eth0 is brought up, the link is active and a dhcp lease is obtained successfully, but when I come to login to the machine I have no network connection and there is no trace of eth0 in /proc or anywhere else that I can find.

When restarting networking/doing an ifup (using dhcp or a static address) I get roughly the following:

eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device

Sorry about the lack of info, but pasting logs is a bit difficult at the moment! I was just wondering if anyone has any suggestions as I've never seen this before and have run out of debugging ideas.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
LucyB
Solved:
Last query:
Last reply:
Revision history for this message
Stephen Drake (spd106) said :
#1

Try running these commands to see if the card is still recognised.

lspci
sudo lshw -C network

You could also look to see if the driver is still loaded or maybe just try reloading it using modprobe.

Revision history for this message
LucyB (lucybridges) said :
#2

Thanks for the reply Stephen.

I'm not at the computer at the moment, but I do recall that lspci/lshw did not show the device at all (I didn't know about the -C flag though!). I didn't check the output of lsmod, but there was nothing in the logs about the module being unloaded, I'll check tonight though. I'll also check to see if it still works under the live cd - that would rule out a hardware issue at least.

Thanks for your help. I'll let you know what I find.

Revision history for this message
LucyB (lucybridges) said :
#3

Typical, 24 hours later and all is working fine. Not sure what happened, I'd be tempted to say it was a network/cable issue but that shouldn't make the card disappear. At least I'll be better at debugging next time!

Revision history for this message
Chris Cook (chris-cook10) said :
#4

If its a PCI network card, it might be worth double-checking its properly pushed in.

Revision history for this message
LucyB (lucybridges) said :
#5

Thanks, but unfortunately it's onboard and not a PCI card.