Device eth0 does not seem error resolution in CentOS

Source: Internet
Author: User
Tags centos oracle vm virtualbox vm virtualbox


Mirrored files that directly replicate Oracle VM VirtualBox It is convenient to create a new system mirror directly, but you have encountered
Device Eth0 does does not seem the question of the to be present, find a solution to the same problem on the Internet,
A smooth solution to the record:

Ifconfig ... Didn't see eth0. Then reboot the NIC and report the following error.

Failure phenomenon:

Service Network restart
Shutting down loopback insterface: [OK]
Bringing up loopback insterface: [OK]
Bringing up interface Eth0:device eth0 does not seem to be present,delaying initialization. [FAILED]

CentOS linux resolves device eth0 does not seem to be present

Solution:


First, open the/etc/udev/rules.d/70-persistent-net.rules content as shown in the following example:

# Vi/etc/udev/rules.d/70-persistent-net.rules
# This file is automatically generated by the/lib/udev/write_net_rules
# program, run by the Persistent-net-generator.rules rules file.
#
# You can modify it, as long as your keep each of a single
# line, with the value of the Name= key.
# PCI Device 0x1022:0x2000 (Pcnet32)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "08:00:27:7e:8c:e7″, attr{type}==" 1″, KERNEL== "eth*" , name= "Eth0″
# PCI Device 0x1022:0x2000 (Pcnet32)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "08:00:27:30:c2:57″, attr{type}==" 1″, KERNEL== "eth*" , name= "Eth1″

Record the MAC address of the ETH1 network card 08:00:27:30:c2:57

Next, open/etc/sysconfig/network-scripts/ifcfg-eth0

# Vi/etc/sysconfig/network-scripts/ifcfg-eth0

The device= "Eth0″ into Device=" Eth1″,
Change the hwaddr= "08:00:27:7e:8c:e7″ to the MAC address Hwaddr=" 08:00:27:30:c2:57″

Finally, restart the network

# Service Network Restart
Or

#/etc/init.d/network Restart

It's normal, it's done.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.