Android Captive Portal Server
安卓系统wifi连接后,与CPS服务器通信,检测是否连接到互联网,当不能默认的CPS时就会有感叹号。
通过ADB设置可以消除这个感叹号。
下好ADB之后,打开ADB文件夹,按住shift鼠标右键,在当前文件夹打开powershell。
安卓5:
直接关闭检测,这样有可能导致某些需要登陆的wifi连接不上。
adb shell settings put global captive_portal_detection_enabled 0
v2ex设有相关服务,设置检测网址为 captive.v2ex.co
adb shell settings put global captive_portal_server captive.v2ex.co
然而,我发现我的诺基亚N1设置了 captive.v2ex.co 同样不行,选择关闭这个检测。