亲自尝试:
解决办法: 禁用NetworkManager
1、禁用NetworkManager服务systemctl stop NetworkManager 2、永久关闭NetworkManager服务 systemctl disable NetworkManager
最后重启网卡,会发现可以正常启动并且可以ping通。
systemctl restart network
尝试查询状态并ping 百度
systemctl status network
[[email protected]] ping 114.114.114.114 PING 114.114.114.114 (114.114.114.114) 56(84) bytes of data. 64 bytes from 114.114.114.114: icmp_seq=1 ttl=128 time=73.8 ms 64 bytes from 114.114.114.114: icmp_seq=2 ttl=128 time=73.4 ms 64 bytes from 114.114.114.114: icmp_seq=3 ttl=128 time=80.5 ms 64 bytes from 114.114.114.114: icmp_seq=4 ttl=128 time=57.3 ms 64 bytes from 114.114.114.114: icmp_seq=5 ttl=128 time=68.6 ms 64 bytes from 114.114.114.114: icmp_seq=6 ttl=128 time=67.9 ms
原文地址:https://www.cnblogs.com/pythonx/p/12090320.html
时间: 2024-10-12 13:31:29