A rare device conflict; centos7 changes

Source: Internet
Author: User

Today, we maintain a very old Inspur server with the following configurations:

Intel 5100 motherboard xeon 3.4g

2g ddr2 * 4

Raid5

Centos7

Prepare to configure the bridge to create a ifcfg-br0 file in the network-scripts directory

Follow the tutorial to copy the enp7s0 configuration and add the BRIDGE in enp7s0 (s0)

Restart the network service systemctl restart network (centos7 uses the new method)

Connection interrupted

Use the power key to shut down the video card (this server is not equipped with a video card) to start and find that br0 cannot be seen with ifconfig

It is found that centos7 must first use brctl (the newly added ctrl is too many) to add a bridge. Otherwise, it will not be loaded.

Deleting the configuration and resetting the network found that the network card name was changed.

Baidu's tutorial aims to delete all cfg objects using init. d (system load network in centos7) in a cautious manner to rename io and s0, knock the wrong command to delete the s0 configuration by mistake ...........

Find the source file from the Internet and click re-create a copy to reset the service.

Shutdown remove video card

The arp table on the switch cannot be found and cannot be pinged to the video card.

Suspected system problems, prepare for reinstallation

After installing another pci Nic, it is found that the corresponding cfg is not automatically created. At this time, a colleague recommends using setup.

Because this centos installation is minimal and does not have setup, you can use yum installation to find the system-config-network-tui that yum cannot find for half a day ...........

So I thought of writing a shell script to read ifconfig when removing the video card. I found that the nic name exists between s0 and enp6s *. I used dmesg to determine that it was a video card and changed the device id.

............................ About an hour .........

Find man and find network Manager

First, use systemctl start NetworkManager (uppercase)

Then nmtui

The system annotation can be boldly deleted and rebuilt.

After the quit service is restarted, the configuration file is rebuilt and the uuid is automatically bound.

Shut down, remove the video card, and restart it ..................



This article is from the "a reagent floor" blog, please be sure to keep this source http://15201118278.blog.51cto.com/8316186/1574226

A rare device conflict; centos7 changes

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.