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系统连接无线网

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

相关文章:

  • 2021-10-02
  • 2021-08-31
  • 2022-01-20
  • 2022-01-14
  • 2021-12-04
  • 2021-05-24
  • 2021-07-13
  • 2021-10-03
猜你喜欢
  • 2021-08-08
  • 2021-07-04
  • 2021-09-12
  • 2021-12-10
  • 2021-05-17
  • 2021-12-19
  • 2021-12-11
相关资源
相似解决方案