首页 > 硬件 > rog3更新后WiFi热点提示网络连接受限

作者:ghostry 发布时间:2021-09-01 浏览: 1567

转载注明出处: https://blog.ghostry.cn/hardware/1039.html

安卓系统有事会提示网络连接受限,但是实际上可以上网。
网上说这是由于检测用的网址连接不上导致的,

adb shell settings delete global captive_portal_http_url
adb shell settings delete global captive_portal_https_url
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204

我的手机没有root,按照网上说法,用usb调试运行命令修改检测网址为miui的,开关飞行后问题依旧。
后来找到了这个

关于captive_portal_mode的值
0:彻底禁用检测
1:检测到需要登录则弹窗提醒(默认值)
2:检测到需要登录则自动断开此热点并不再自动连接

于是

adb shell settings put global captive_portal_mode 0

这样修改后开关WiFi,烦人的提示就消失了。
据说此种修改方式会影响需要登录的WiFi,会导致无法连接,不过我买这个手机以来还没用到过网页登录WiFi。应该是可以牺牲的功能。

标签: rog3 安卓

上一篇: openwrt 每天重新拨号
下一篇: DaVinci Resolve 17 run 转 deb

添加新评论 »

*
*

欢迎评论!歡迎評論!Comments welcome!komentoj bonvenaj!댓글 오신 것을 환영합니다!
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: :cold: :cryy: :cute: :shy: :sleep: :struggle: :tea: :yahou: