新装CentOS无法联网 1.问题:ping: www.baidu.com: Name or service not known 2.解决:经过搜索做了以下设置:2.1配置文件进入ifcfg-ens33文件后找到选项:"onboot=no",修改为 "onboot=yes" 2.2设置系统网络2.3.重启网络服务 3.测试:搞定! 1.问题: ping: www.baidu.com: Name or service not known 2.解决: 经过搜索做了以下设置: 2.1配置文件 进入ifcfg-ens33文件后找到选项:“onboot=no”,修改为 “onboot=yes” 2.2设置系统网络 2.3.重启网络服务 service network restart 3.测试: 搞定!