Solution: no device found for connection 'System eth0 ′

Source: Internet
Author: User

The centos installed on the vmwarevm cannot access the Internet today. Use the service network restart prompt.

Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth0: Error: no suitable device found: no device found for connection 'System eth0'. [failed]

Prompt with ifconfig eth0 up

Eth0: Unknown interface: no such device

Then modify the/etc/sysconfig/network-script/ifcfg-eth0 file, no problem found. After studying for a long time, I finally solved this problem.

Solution:

1. Delete the/etc/udev/rules. d/70-persistent-net.rules file and restart the system.

2. If the above does not work, check whether the hwaddr in the ifcfg-eth0 file is correct and change it to the correct hwaddr.

I solve the problem by using these two methods.

Author: frotian tribe address: http://www.frostsky.com/2012/07/no-device-found-for-connection/
The author and original source must be indicated in the form of links when all copyrights are reprinted!

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.