Enable the NIC service of centos in vbox

Source: Internet
Author: User

I am tired of installing the real machine, so I am tossing the Virtual Machine :)


Centos 6 is installed in the vbox and the NIC is configured, but the network cannot be automatically started when the instance is started. However, onboot clearly sets yes in the NIC parameters.

I found it online and found that the network service was not started.

The solution is as follows:

1.

Chkconfig -- list network check whether the network service is running


Before the change, all of them are off. The preceding number indicates the running level. The corresponding number can be viewed in the/etc/inittab.


2

Chkconfig -- level 3 network on

In this way, you can enable it. Pay attention to the current running level. The changed result is shown in the figure above, which contains an on. After reboot, ifconfig will be able to see that the two NICs are started :)


References:

1. About the issue that the ora cannot automatically activate the dynamic website card (resolved)

Http://phorum.study-area.org/index.php? Topic = 59257.0

2. [help] The NIC cannot be started automatically after fedora10 is started

Http://www.linuxsir.org/bbs/thread363444.html

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.