查了很多都无效,这个亲测可用 第一步 systemctl stop NetworkManager 第二步 systemctl disable NetworkManager 第三步 systemctl start network.service