Skip to content

Instantly share code, notes, and snippets.

@chenshaoju
Last active September 1, 2018 04:43
Show Gist options
  • Save chenshaoju/c819d48ef68544a484751dc3f8cb28e1 to your computer and use it in GitHub Desktop.
Save chenshaoju/c819d48ef68544a484751dc3f8cb28e1 to your computer and use it in GitHub Desktop.
Android portal server config
settings put global captive_portal_mode 1
settings put global captive_portal_use_https 1
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
settings put global captive_portal_fallback_url http://captive.v2ex.co/generate_204
settings put global captive_portal_other_fallback_urls http://www.google.cn/generate_204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment