The network card eth0 is not activated when CentOS starts

Source: Internet
Author: User
Briefly

After installing the CentOS operating system, found no network at boot, and finally found that the system does not activate the network card when booting-because only in the active state of the network card to connect to networks, network communication.

  • Briefly
  • Activating the NIC Eth0

Activating the NIC Eth0

Execution of the "ifconfig" command found only the LO Nic, and there is no eth0.

Restart the network service, and found that the command prompt does not open the eth0 prompt.

Modify the NIC profile "Vi/etc/sysconfig/network-scripts/ifcfg-eth0" and Change "Onboot=no" to "onboot=yes" to indicate whether the network card is activated at system startup, save and exit.

Restart the Network service, the command prompt will appear to open eth0 information.

Re-enter "ifconfig" command check, OK, done.

The network card eth0 is not activated when CentOS starts

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.