Rainng Android Captive Portal Server

For Android 5.x-6.x
Run adb command

adb shell "settings put global captive_portal_server captive.rainng.com"


For Android 7.x-9.x
Run adb command

adb shell "settings put global captive_portal_http_url http://captive.rainng.com/generate_204"
adb shell "settings put global captive_portal_https_url https://captive.rainng.com/generate_204"