Simple server that returns a 204, for use with the WiFi connectivity check for Android
2.5K
Simple server that returns a 204, for use with the WiFi connectivity check for Android
If you're running a stripped down form of Android (ex Lineage), you may be disappointed to find that your device still 'phones home' to Google whenever it joins a WiFi network. It specifically looks for a 204 response code from https://connectivitycheck.gstatic.com/generate_204. This docker image generates a similar response and can be set as the connectivity check URL:
settings put global captive_portal_http_url "http://yoursite.com/"
settings put global captive_portal_https_url "https://yoursite.com/"
docker run -d --name=android-connectivity-check --publish=80:8080 zweizs/android-connectivity-check
Combine with Traefik or reverse proxy of your choice for best results.
I'm available for freelance, contracts, and consulting both remotely and in the Hudson Valley, NY (USA) area. Some more about me and what I can do for you.
Feel free to drop me a message at:
hi [a+] zweisolutions {●} com
Content type
Image
Digest
sha256:01360ed84…
Size
32.5 MB
Last updated
almost 4 years ago
docker pull zweizs/android-connectivity-check