1. 查看网关

[[email protected] ~]# route -n

Linux系统连接无线网
2. 进入/etc/sysconfig/network-scripts,查看此目录下是否存在route-br0,若存在将其移除。

[[email protected] ~]# cd /etc/sysconfig/network-scripts/
[[email protected] network-scripts]# ls

[[email protected] network-scripts]# mv route-br0 /

Linux系统连接无线网
3. 编辑ifcfg-br0 ,找到gateway,并删除。

[[email protected] network-scripts]# vim ifcfg-br0 

Linux系统连接无线网
4. 编辑/etc/sysconfig/network ,注释掉gateway

[[email protected] network-scripts]# vim /etc/sysconfig/network

Linux系统连接无线网

  • 然后在连接无线网就可以了

相关文章: