centos7 网卡启动不了,修复方法

  • Post author:
  • Post category:其他



刚刚装好的虚拟机突然不

能上网

了,报错很诡异,没有IP地址了.执行以下命令



systemctl stop NetworkManager



systemctl disable NetworkManager

Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.

Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.

Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.

重新启动网络:



systemctl start network.service

ifconfig



版权声明:本文为chtjava原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。