4

I've just set up a WiFi router to use with an audio device which is controllable by Android devices through LAN. This router is expected to not have an internet connection - its sole purpose for me is to route the local network and enable the controlling via my Android phone.

However, my phone (a Moto G5S, with Android 7.1.1 installed) simply refuses to connect to this router - even though I can perfectly connect to it from a laptop. I even removed my other routers from my phone, to prevent it from jumping to WiFi connections that have internet, but it still doesn't connect to this "offline router".

Now, a bit of a plot twist: I did see a notification about the WiFi connection not having access to the internet, but I simply swiped it off. I tried connecting with my wife's Android, and, instead of swiping off the notification on her phone, I clicked it and I saw that it offered the option to stay connected even without internet. However, I can't do this on my Android anymore, since I got rid of that notification. Yeah, I feel stupid, but, in my defense, I had no idea that ability would be only available there. I even tried "forgetting" the WiFi connection and re-entering the password, but it just won't show me that notification anymore.

So, any ideas of how to fix this, guys? How can I force the connection to my internet-less router, or, alternatively, how can I force my Android to show me the notification about "WiFi offline" again?

0

3 Answers 3

1

Try deleting the connection. You can do this by Settings -> Wifi -> hit the : on the top right, Saved Networks, select your router's name, then FORGET.

1
  • It just showed my the notification. I don't know what happened, but after multiple attempts to delete the connection, restart my device, retry to connect, it just got back to me, and then I clicked it and chose to stay connected without internet. Yay! :-) Commented Feb 22, 2018 at 1:34
0

As per request, here's my solution as a self-answer:

Somehow, after a series of deletions, restarts, and retries to connect, the notification popped up again. I have no idea why it happened this way, but at least now I can stay connected to that router, which is what I needed.

0

The undermentioned – invoking settings put global captive_portal_detection_enabled 0 (via adb shell, if not performed on-device) – may work:

adb shell "settings put global captive_portal_detection_enabled 0"

As this Reddit comment explains:

That command tells the device not to bother pinging Google's DNS server to check for Internet.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .