This is an old revision of the document!


Android Captive Portal URLs & Commands

Commands

captive-v2ex-co.sh
settings put global captive_portal_detection_enabled 1
settings put global captive_portal_use_https 0
settings put global captive_portal_server captive.v2ex.co
settings put global captive_portal_http_url http://captive.v2ex.co/generate_204
settings put global captive_portal_https_url https://captive.v2ex.co/generate_204
connect-rom-miui-com.sh
settings put global captive_portal_detection_enabled 1
settings put global captive_portal_use_https 0
settings put global captive_portal_server connect.rom.miui.com
settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204
developers-google-cn.sh
settings put global captive_portal_detection_enabled 1
settings put global captive_portal_use_https 0
settings put global captive_portal_server developers.google.cn
settings put global captive_portal_http_url http://developers.google.cn/generate_204
settings put global captive_portal_https_url https://developers.google.cn/generate_204
www-qualcomm-cn.sh
settings put global captive_portal_detection_enabled 1
settings put global captive_portal_use_https 0
settings put global captive_portal_server www.qualcomm.cn
settings put global captive_portal_http_url http://www.qualcomm.cn/generate_204
settings put global captive_portal_https_url https://www.qualcomm.cn/generate_204

Android Version

  • captive_portal_detection_enabled: 5.0 ~
  • captive_portal_use_https: 7.0 ~
  • captive_portal_server: 5.0 ~ 7.1.0
  • captive_portal_http_url: 7.1.1 ~
  • captive_portal_https_url: 7.1.1 ~

See Alsos