Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the solution to the initialization error of rhel6.5 network card?

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article shows you what is the solution to the initialization error of the rhel6.5 network card, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Virtual machine can not access the Internet after startup, through the ifconfig to check that the network card did not start, so start the network card service, but the error is: device eth0 does not seem to be present, delaying initialization.

First, first of all, if the previous MAC address is saved in the configuration file of ifcfg-eth0, delete this line and restart the network card, which is still the same error.

Second, try to delete / etc/udev/rules.d/70-persistent-net.rules and restart the machine and find that it is ready.

The 70-persistent-net.rules file binds the network card and the mac address, so when you change the network card, the MAC address changes, which is inconsistent with the binding in this file, which will cause the network card not to start normally. Of course, you can also edit this configuration file directly, and modify the network card and mac address to the correct corresponding, but this is a bit troublesome, then you can delete and restart directly, it will be automatically generated.

Third, the solution

1 、 vi / etc/sysconfig/network-scripts/ifcfg-eth0

The previous MAC address is saved in the configuration file of ifcfg-eth0. Delete this line and restart the network card.

2 、

Restart the machine after / etc/udev/rules.d/70-persistent-net.rules deletion

Because this file is bound to the network card and the mac address, the MAC address has changed after the network card has been changed, so it cannot be started normally. You can also edit this configuration file directly to modify the network card and mac address into the correct correspondence, or delete and restart directly, it will be generated automatically.

What is the solution to the initialization error of the rhel6.5 network card? have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report