Retainability

Life's lessons expressed in UTF-8

Fixing the No Such Device Eth0 on Centos (VirtualBox)


  • Run ifconfig -a and then you will see ethX come up, which has a MAC address in it.
  • Go to /etc/sysconfig/network-scripts/ifcfg-eth0 and changed the MAC address on the eth0 to the MAC that was attached to ethX in the ifconfig.
  •  Remove the file /etc/udev/rules.d/70-persistent-net.rules
  • Reboot the machine