CentOS Install mini-Setup can't find eth0 what should I do?

Source: Internet
Author: User
Tags ssh centos ssh ftp

With the server or virtual machine to minimize the installation of CentOS, some friends will find the login system after the input ifconfig command found that etho0 network card can not find only lo, can not find the eth0 IP address, small series I will be the solution to share the experience.

1, the root user login system, with the Ifconfig command to eth0 a temporary IP address, such as "Ifconfig eth0 192.168.1.115", pay attention to IP address range Oh.

2, because small white I will not vim, in the absence of desktop environment, what to do? So I thought of a roundabout way, click on the SSH FTP tool icon, and login ssh ftp.

3, click the "Quick Connect" button, according to the icon input just the IP address, root username, and select "Password" to set up the connection.

4, enter the root password.

5. Locate the Ifcfg-eth0 file in the/etc/sysconfig/network-scripts directory of the system and open it with the right mouse button.

6, change "Onboot=no" to "Onboot=yes", Save and exit.

7, enter the "Service Network restart" command at the command line to restart the network service.

8, the last input ifconfig command check, OK, finished.

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.