CentOS Add Network card

Source: Internet
Author: User
Tags dmesg

I did a stupid thing to add a new Web card to the server, but because it couldn't be initiated,

So it's natural that CentOS 6 has many other set requirements,

So we looked up two days's information and tried many ways, but it didn't work.

This morning, I wanted to try it in the simplest way,

The result is that this is done ~ ~ ~ ~ .....

So the process is put on, one side of the vigilance of themselves, one side also let oneself smile.

1. Add a network card to confirm

A. Ifconfig

New network card will not be self-activating, so there is no IP

B. ls/etc/sysconfig/network-scripts

It's normal, no setup.

C. dmesg | Grep-in ETH

There is a network card eth1, but not up

2. Setting

A. Network Configuration

Enter setup and select "Network Configuration"

B. Device Configuration

C. New Device

See here, should know, I also want to laugh ~ ~ ~

D. Ethernet

E. Name & Device

Because I am using the Internet, I use DHCP to assign IP after I enter the name and the name of the device.

3. Finish confirming

A. Confirm that the installation has been added and stored

B. dmesg | Grep-in eth1

The network card is up

C. ifup eth1

D. ls/etc/sysconfig/network-scripts

Complete, it is so simple to complete, has been to the difficult place to think, the results in a simple way to get out ~ ~

CentOS Add Network card

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.