Today in the practice of a sudden thought if the current use of the virtual machine in the system is broken or an unknown failure to affect the learning progress what to do, after all, re-install a system to delay a lot of time, so want to use the current normal system copy a backup
After copy, use VMware to open and change the name, boot OK, login OK, test network faile ... Restart the NIC
Tip "Device eth0 does not seem to be present,delaying initialization"
Think carefully, clone backup ... Oh, the network card settings must be wrong, the current virtual machine network card information about where to find it?
Baidu find the following file
/etc/udev/rules.d/70-persistent-net.rules
Open it
# This file is automatically generated by the/lib/udev/write_net_rules
# program, run by the Persistent-net-generator.rules rules file.
#
# can modify it, as long as you keep each rule to a single
# line, and change is only the value of the Name= key.
# PCI Device 0x8086:0x100f (e1000)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:29:27:aa:db", attr{type}== "1", kernel== "eth*" , name= "Eth0"
# PCI Device 0x8086:0x100f (e1000)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:29:0e:59:33", attr{type}== "1", kernel== "eth*" , name= "Eth1"
Record the Mac of eth1
Go to/etc/sysconfig/network-scripts/ifcfg-eth0 to change Mac, device and static IP address after saving restart Nic ... Ok
Linux Basic Learning-Nic does not start after cloning backup