Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old August 28th, 2006   #11
jefrat72
5 Cups of Ubuntu
 
Join Date: Aug 2006
Location: Kentwood MI
Beans: 23
Re: eth0: Device not found

lsmod:

Module Size Used by
vmnet 62104 12
vmmon 165652 0
ipv6 327296 14
af_packet 42252 0
dm_mod 69704 1
md_mod 83192 0
lp 22208 0
pcspkr 10760 0
parport_pc 47856 1
parport 50700 2 lp,parport_pc
tg3 113284 0
psmouse 47492 0
serio_raw 16900 0
snd_intel8x0 45224 0
snd_ac97_codec 117180 1 snd_intel8x0
snd_ac97_bus 11136 1 snd_ac97_codec
snd_pcm_oss 66080 0
snd_mixer_oss 27520 1 snd_pcm_oss
snd_pcm 110984 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 35592 1 snd_pcm
hw_random 14240 0
snd 74080 6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_ oss,snd_pcm,snd_timer
soundcore 19872 1 snd
snd_page_alloc 21136 2 snd_intel8x0,snd_pcm
intel_agp 34744 1
shpchp 58272 0
pci_hotplug 38800 1 shpchp
evdev 21632 0
tsdev 17408 0
sg 50736 0
usbhid 49952 0
ext3 151824 1
jbd 72872 1 ext3
ide_generic 9984 0
ehci_hcd 41480 0
uhci_hcd 43424 0
usbcore 152124 4 usbhid,ehci_hcd,uhci_hcd
sd_mod 28416 3
ata_piix 20740 4
libata 93088 1 ata_piix
scsi_mod 166904 3 sg,sd_mod,libata
ide_cd 42912 0
cdrom 48184 1 ide_cd
piix 20996 1
generic 14340 0
thermal 23692 0
processor 37128 1 thermal
fan 13576 0
capability 14344 0
commoncap 16896 1 capability
vga16fb 22288 1
cfbcopyarea 12288 1 vga16fb
vgastate 17536 1 vga16fb
cfbimgblt 11392 1 vga16fb
cfbfillrect 12928 1 vga16fb
fbcon 49792 70
tileblit 11264 1 fbcon
font 17152 1 fbcon
bitblit 14592 1 fbcon
softcursor 10880 1 bitblit


lspci:

0000:00:00.0 Host bridge: Intel Corporation 945G/P Memory Controller Hub (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 945G/P PCI Express Graphics Port (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corporation 945G Integrated Graphics Controller (rev 02)
0000:00:02.1 Display controller: Intel Corporation 945G Integrated Graphics Controller (rev 02)
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
0000:00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
0000:00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 01)
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
jefrat72 is offline   Reply With Quote
Old August 28th, 2006   #12
cat5
Spilled the Beans
 
cat5's Avatar
 
Join Date: Jun 2006
Location: Ottawa, Canada
Beans: 14
Ubuntu 6.06
Re: eth0: Device not found

The 'lspci' output does not show an VMnet adaptors, only
a broadcom card. I don't have any broadcom's myself, so I am unsure of the driver. Your /etc/modules.aliases file is
pointing eth0 to the wrong driver being loaded...

I not at work either at the moment, so I can not verify which
drive you would need. Google?
cat5 is offline   Reply With Quote
Old September 3rd, 2006   #13
scmerisina
First Cup of Ubuntu
 
Join Date: Sep 2006
My beans are hidden!
After Ghosting, eth0: Device not found

I am a fairly experienced Linux person, but this problem has stumped me so far. I have read all the posted messages in this thread, and I think they are NOT on a track to find a solution.

I my opinion, the problem is due to "ghosting". I used UDPcast, not g4u.

I cloned a lab full of identical machines (25) from a working "Golden Client" fully verified to be "good". The clones booted fine, but in the clones eth0 is not found. The relevant NIC is module is loaded; dmesg, lsmod, cat /proc/modules, lspci, etc show proper things corresponding to this NIC. Just to be sure, I rmmod it and reload it (modprobe -v ...), and reassuring messages show up in /var/log/dmesg. But ifconfig eth0 gives the "error fetching interface information". Of course, /proc/interrupts on the clone does not show eth0; the golden client shows it with an IRQ of 209.

I am deliberately not giving info regarding the specific NIC, the Ubuntu version, etc. Let me just add that the hw did not go haywire after cloning. I booted several of the clones with a LiveCD, and all are fine including the NICs.

If any of you have insights into this: How a raw image, entire disk to disk, cloning causes this problem so that the machine fails in dhcp but the rest is OK. I am wondering if the recently introduced UUIDs for disks etc have anything to do with this.

Many thanks.

Last edited by scmerisina; September 3rd, 2006 at 01:30 PM.. Reason: typos
scmerisina is offline   Reply With Quote
Old September 4th, 2006   #14
hda
Just Give Me the Beans!
 
Join Date: Feb 2005
My beans are hidden!
Re: eth0: Device not found

Hi!

Had the same problem when I found this post. Fortunately I found out what happened. After cloning the VMware virtual machine the network interface got renamed. Don't know why.

With
Code:
ifconfig -a
I was able to see the new name of the interface. It was eth1 instead of eth0 (which appeared in dmesg). After changing the interface in /etc/network/interfaces everything was fine again.

hth
hda is offline   Reply With Quote
Old September 4th, 2006   #15
newlinux
Iced Blended Vanilla Crème Ubuntu
 
newlinux's Avatar
 
Join Date: Jun 2006
Location: Neither here nor there
Beans: 2,985
Ubuntu 10.04 Lucid Lynx
Re: eth0: Device not found

I've had problems with the network interface mapping changing from login to login... (that's why I thought the problem might be the mapping). I ended up setting them in /etc/iftab using the MAC addresses obtained from ifconfig. Not sure how much different this is on a server install.

Just curious--
What's the difference between setting these in /etc/iftab and /etc/network/interfaces?
__________________
Ubuntu & MythTV 4 Life
Running ubuntu on a Celeron M 1.6Ghz, Atom 330, P4 3.0HT, Turion 64 X2 TL-56, X2 3800, X2 4200, X2 4600 and an E2180.
My Hardware
newlinux is offline   Reply With Quote
Old September 5th, 2006   #16
cat5
Spilled the Beans
 
cat5's Avatar
 
Join Date: Jun 2006
Location: Ottawa, Canada
Beans: 14
Ubuntu 6.06
Re: eth0: Device not found

editing the /etc/iftab on all cloned machines will most likely fix the issue - not all machines will have this mac, so in essence, eth0 is reserved for this MAC address, and eth1 will be the correct interface.

Remove the line, reboot, and see if it comes up.
I bet it does.

- Cat5
cat5 is offline   Reply With Quote
Old September 5th, 2006   #17
scmerisina
First Cup of Ubuntu
 
Join Date: Sep 2006
My beans are hidden!
solved: After cloning, eth0 Device not found

The "eth0 not found" problem after cloning a lab full of PCs is solved. Indeed it has to do with the contents of /etc/iftab.

On the "Golden Client" source machine the file /etc/iftab was generated by some setup script to name a specific NIC with a specific MAC address as eth0. The other machines in the lab have same brand NICs but of course different MAC addresses as they are supposed to be GUID. I should have checked this file. So, udev and others would name the device as eth1 etc. and ifconfig, dhclient, ... fail even though dmesg shows that the driver loaded fine. You can see the actual names of net devices in /proc/net/dev.

I changed the /etc/iftab to name the NIC as eth0 based on driver name rather than MAC.

Thanks to all.
scmerisina is offline   Reply With Quote
Old July 9th, 2007   #18
blackeyeddog
First Cup of Ubuntu
 
Join Date: Jul 2007
Location: Curitiba - Brasil
Beans: 4
Ubuntu 7.10 Gutsy Gibbon
Re: eth0: Device not found

I had the same problem and by reading all the thread I could find another solution option. I would like to share it, may it be helpful to other people, like your posts were to me.

THE SITUATION
- Ubuntu Feisty (upgraded from Edgy some 3 weeks before) with VMWare running a Windows 98 machine without problem.
- made a Norton Ghost into a better hardware , with different NIC .
- VMware machine went "networkless", claiming on startup that "eth0 is down" . All the other applications kept on running fine.
- new environment had only eth1 . Forcefully trying to bring eth1 down and eth0 up , as suggested in this thread , was not successful.

THE SOLUTION
- checked eth1 MAC address with ifconfig
- checked /etc/iftab , had a single line for eth0 with old MAC address
- edited /etc/iftab , replaced etho MAC address with the new one
- reboot (just for sake, maybe "networking restart" would do the job) . VMWare OK !

As said above , /etc/iftab seems to define persistent eth's, possibly forcing modprobe to assign new eth numbers to different MAC addresses.

Thanks, folks.

Last edited by blackeyeddog; July 9th, 2007 at 03:37 PM.. Reason: typo correction
blackeyeddog is offline   Reply With Quote
Old August 15th, 2007   #19
reukiodo
First Cup of Ubuntu
 
Join Date: Aug 2007
Location: Washington, US
Beans: 3
Xubuntu 7.04 Feisty Fawn
Send a message via ICQ to reukiodo Send a message via AIM to reukiodo Send a message via MSN to reukiodo Send a message via Yahoo to reukiodo Send a message via Skype™ to reukiodo
Unhappy Re: eth0: Device not found

Quote:
THE SOLUTION
- checked eth1 MAC address with ifconfig
- checked /etc/iftab , had a single line for eth0 with old MAC address
- edited /etc/iftab , replaced etho MAC address with the new one
- reboot (just for sake, maybe "networking restart" would do the job) . VMWare OK !
Is there a more permanent solution? I would like to know how to configure modprobe to assign ethX to devices in the order found at boot without caching ethX names to MAC relations. Is this possible? Would it require a kernel modification?

Manually setting each iftab from an image for identical machines is APITA for something that is supposed to be automated.
reukiodo is offline   Reply With Quote
Old August 16th, 2007   #20
reukiodo
First Cup of Ubuntu
 
Join Date: Aug 2007
Location: Washington, US
Beans: 3
Xubuntu 7.04 Feisty Fawn
Send a message via ICQ to reukiodo Send a message via AIM to reukiodo Send a message via MSN to reukiodo Send a message via Yahoo to reukiodo Send a message via Skype™ to reukiodo
Talking Re: eth0: Device finally found!!

After a little research, it seems to be a udev problem, specifically in:
/etc/udev/persistent-net-generator.rules
/etc/udev/rules.d/z25_persistent-net.rules

I found out that I needed to add
Code:
GOTO="persistent_net_generator_end"
to the beginning of /etc/udev/persistent-net-generator.rules and then remove all of the lines from /etc/udev/rules.d/z25_persistent-net.rules so the interface would always come up as eth0 regardless of MAC address.

Let me know if this works for you guys. Finally this ghost image works on all the computers without modification.
reukiodo is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 10:27 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry