今天打开许久没用的centos之后,发现网络服务器不可用,通过service network restart 依然无法使用,简单记录一下处理过程:
1、通过setup 命令查看Network configuration :
2、如果网络配置没问题,则查看一下系统服务:
3、如果NetworkManager 前面的[]没有*,则表示未启动,此时需要设置开机启动:
设置开机启动:
chkconfig NetworkManager on
启动NetworkManager服务:
service NetworkManager start
如果在某些时候想要停用网络及wpa_supplicant 服务,执行:
chkconfig network off
chkconfig wpa_supplicant off