查看无线网卡配置
[wangchengqian@localhost ~]$ ifconfig -a
进入root权限下
[wangchengqian@localhost ~]$ su root
进入network-scripts下
cd /etc/sysconfig/network-scripts/
ls
编辑ifcfg-ens33文件(左上角文件,不同机器不同)
[root@localhost network-scripts]# vim ifcfg-ens33
进入之后使用i在光标处插入,使用:wq保存
重启服务
[root@localhost network-scripts]# service network restart
检测ping值
[root@localhost network-scripts]# ping www.baidu.com