I started the network card normally in the minimal installation of centos,But when we installed the desktop version of centos, we found that no matter which way to start the network card, it would fail to start.

Later, I checked the reason for the error.The networkmanager management tool and/etc/sysconfig/network-scripts/ifcfg-ethx configuration are not synchronized.

Use the following two commands to solve the problem caused by the failed restart of the network card above:

chkconfignetworkmanageroff //comment turn it off, not let it start automatically
service networkmanager stop //Stop this service
  • Previous Pit encountered in the migration of old projects AndroidStudio30
  • Next NET Read and Write Excel Tool SpireXls Getting Started Tutorial (1)