device-eth0-does-not-seem-to-be-present,delaying initialization

Error:  "device-eth0-does-not-seem-to-be-present"



Cause : 
when I cloned one of my Linux virtual machine. So the cloned machine was not able to detect the NIC and every time I tried to restart the network it was throwing this error


Solution: 

The MAC id details for the NIC card is stored in the below mentioned file which is automatically created every time the machine boots.

                     /etc/udev/rules.d/70-persistent-net.rules

If you open this file the contents would be like this


Delete this file

           rm -f /etc/udev/rules.d/70-persistent-net.rules

Reboot the machine i.e  init 6

Now we can see difference in MAC id and NIC card name


Copy the new MAC id and NIC card name to your ifcfg-eth0 file

vi /etc/sysconfig/network-scripts/ifcfg-eth0



Restart the Network service using :  service network restart

check for IP details using " ifconfig"


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.