Compare commits

...

2 commits

Author SHA1 Message Date
endernon 7799cc0893 yep 2024-10-10 00:18:49 +01:00
endernon b85c46de4c added the script to run in android 2024-10-10 00:14:56 +01:00
2 changed files with 19 additions and 0 deletions

View file

@ -3,3 +3,4 @@
simple config for a replacement of the android 204 generation.
This repository includes a script to run in root android shell and a nginx config.
You probably need to run this android script with superuser or adb shell.

18
setandroid.sh Normal file
View file

@ -0,0 +1,18 @@
# captive portal has some potential values:
# 0 : Disables captive portal / don't attempt to detect captive portals.
# 1 : Default settings; displays a notification for sign-in prompt whenever captive portal is detected.
# 2 : Automatically disconnects from network & no longer auto-reconnect to it whenever captive portal is detected.
settings put global captive_portal_mode 1
# http connectivity check
settings put global captive_portal_http_url http://204.frfrnocap.men
# https connectivity check
settings put global captive_portal_https_url https://204.frfrnocap.men
# the grapheneos lead dev is a schizo without their meds but its fine to use their check as a fallback
# https fallback check
settings put global captive_portal_fallback_url https://connectivitycheck.grapheneos.network/generate_204
# http fallback check
settings put global captive_portal_other_fallback_urls http://connectivitycheck.grapheneos.network/generate_204