-
查看一小时内日志:
sudo journalctl -u network.service --since "1 hour ago"
且通过systemctl restart network.service启动网络失败(ping不通)
systemctl restart network Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
出现:Failed to start LSB: Bring up/down networking.
一般是和networkManager 有冲突导致的,只需要把networkManager服务给停掉,再重启网络服务就可以了。
systemctl stop NetworkManager
systemctl restart network.service
2.也有可能是没设置开启启动网卡,可以去配置文件查看