Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Can't change captive_portal_https_url

  • /e/OS version: 2.9 official
  • Device model(s): Fairphone 4
  • Impacted Application: ~

The problem

My ISP blocks Murena ip's so when I connect to wifi I'm getting the message "Connected to device. Can't provide internet" with "!" on wifi icon. The phone continues to use mobile network instead of wifi.

I've tried to change captive portals via adb

FP4:/ $ settings put global captive_portal_http_url http://connectivitycheck.gstatic.com/generate_204
FP4:/ $ settings put global captive_portal_https_url https://connectivitycheck.gstatic.com/generate_204
FP4:/ $ settings put global captive_portal_fallback_url http://204.ecloud.global 
FP4:/ $ settings put global captive_portal_other_fallback_urls http://ecloud.global/generate_204

reboot

But it has no effect, the phone still uses https://connectivity.murena.io (logcat string)

05-13 13:01:40.642 2566 11255 D NetworkMonitor/211: PROBE_HTTPS https://connectivity.murena.io`` Probe failed with exception java.net.SocketTimeoutException: failed to connect to connectivity.murena.io/157.90.154.178 (port 443) from /192.168.1.77 (port 45286) after 10000ms``

How to change captive_portal settings?

Steps to reproduce

Technical details

logcat-wifi.txt

Edited by Daniel El