Skip to content

Instantly share code, notes, and snippets.

@chenshaoju
Last active March 25, 2024 04:58
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save chenshaoju/4f79bfe82ad63d9437744c282b8af35d to your computer and use it in GitHub Desktop.
Save chenshaoju/4f79bfe82ad63d9437744c282b8af35d to your computer and use it in GitHub Desktop.
Android 8.x Captive Portal Server for Mainland China
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