u/Blow-up-the-fed

Captive Portal Login not working? (Like Boingo) Do this:

Just in case anyone else is having problems with an error that says something about a DNS Error when trying to connect to a network that has a captive portal. It seems to have been broken with a recent update.

Somewhere, Zuck broke whatever this is:

isCaptivePortal: isSuccessful()=false isPortal()=true RedirectUrl=https://via.boingohotspot.net/login...
ConnectivityService: Update capabilities for net 101 : +CAPTIVE_PORTAL
E com.oculus.unexpectedevent.ArvrUnexpectedEventBuilder:A00: No Settings Item with key = wifi_captive_portal defined in Settings Service
E com.oculus.unexpectedevent.ArvrUnexpectedEventBuilder:A00: No Settings Item with key = wifi_captive_portal defined in Settings Service

Here's what I did:

  1. Disable private DNS using adb. You'll need developer mode turned on.
adb shell settings put global private_dns_mode off

adb shell settings put global private_dns_specifier null
  1. Find the redirect link. I used adb logcat | grep -iE "dns|wifi|captive|network|boingo" and eventually found where android was trying to redirect to. In my case, it was Boingo. (An extremely mediocre wifi subscription provider)

  2. Open the page in your browser. Luckily, you can do this with adb too to save you some time: adb shell am start -a android.intent.action.VIEW -d "https://via.boingohotspot.net/login"

And that's it. Should work fine!

reddit.com
u/Blow-up-the-fed — 1 day ago