My phone running stock Android 6 automatically disconnects from any WiFi network about five seconds after detecting the lack of internet connection. This is very inconvenient because it makes WiFi use for local file sharing impossible without internet.

On other occasions, phones connect to our WiFi and display "no internet" for a few seconds even when there is connection, and this bothers is but it's not critical.

Is there a way to program LibreMesh to fool my phone into thinking there is internet all the time? I do not know how Android checks connectivity. Is the spoofing (if this is a proper use of the term) as simple as configuring a static route for a particular IP and pointing it to a mini server in the router that responds to a ping?

~ Pato