Developer Blog -
  • Skipper - The ORM Designer
  • VsBuilds - Parallel building
  • Pulpo - Free Skipper CLI

Tag: #virtual-machine

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

This article is step-by-step tutorial how to fix a problem which occured after I restored my virtual machines from backup to my ESXI server.

ifconfig<br />

[caption id="" align="aligncenter" width="658"] ifconfig when eth0 is not available[/caption]

when I used **lspci**, result was

lspci<br />

[caption id="" align="alignnone" width="658"] lspci result[/caption]

So network adapter is correctly available in my virtual machine. As next step I need to found out which alias is used for this adapter. I didn't find any easily way than try et0,eth1,....

ifconfig eth0<br />
eth0: error fetching interface information: Device not found</p>
<p>ifconfig eth1<br />
eth1: error fetching interface information: Device not found</p>
<p>ifconfig eth2<br />
eth2: Link encap: Ethernet HWaddr.....<br />

So, I found my network adapter. Now as last step it's necessary to update network interfaces to this adapter

sudo nano /etc/network/interfaces</p>
<p>#and change all eth0 to eth1 values<br />

[caption id="" align="alignnone" width="652"] /etc/network/interfaces[/caption]

As last step restart your machine and everything should work correctly.

External links:

18 Mar 2013

Posted by: ludek.vodicka

Linux #Linux #network #virtual-machine