The new one
adb shell "settings put global captive_portal_server captive.v2ex.co"
The old doesn't work now
adb shell "settings put global captive_portal_server www.v2ex.com"