Centos6.5 network connection failure problem, centos6.5 network connection

Source: Internet
Author: User

Centos6.5 network connection failure problem, centos6.5 network connection

1. First enter the corresponding folder:

Cd/etc/sysconfig/network-scripts/

2. Get the root permission:

Su and enter the root password

3. Modify ifcfg-eth0

Vi ifcfg-eth0

Change no to yes

DEVICE = eth0
HWADDR = 78: 24: AF: 9C: D8: 58
TYPE = Ethernet
UUID = dfbd4d14-d01f-4f02-87f7-6f796b066c15
ONBOOT = yes
NM_CONTROLLED = yes
BOOTPROTO = dhcp

Save and exit. Press esc and enter wq.

4. Restart the network:

/Etc/init. d/network restart

5. test whether the network is connected:

Ping www.baidu.com

6. To view IP addresses:

Ifconfig-

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.