The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Self Hosting Connectivity Check on MoodeOS
#1
Hello,

ok, this one is a bit special Blush


I'm using two of my Moode installations on portable music boxes with no internet.
The boxes are headless and for controlling I use the access point feature, connect my android 13 smartphone with its wifi and use the BubbleUPnP app for controling.

Unfortunately, Android checks the connectivity of the Moode WLAN when connecting.
Specifically, the system tries to reach the address https://connectivitycheck.gstatic.com/generate_204.
If this address cannot be reached via the WLAN, the mobile network is used despite the WLAN connection.
In this case, a connection to Moode via the WLAN is no longer possible.
So far, I always had to deactivate the mobile data in this scenario before I could control Moode.

Now I want to adjust Moode so that my smartphone "thinks" it has Internet connectivity when it is connected to its WLAN.
I have also found nice instructions for this:
https://malv.in/posts/2018-11-08-self-ho...droid.html
https://foxdogstudios.com/blog/making-ph...s-internet

However, I don't know how to implement this in Moode.
Can someone help me to make the right adjustments here?


I have set up entries for dnsmasq and in the hosts file already. so dns requests to connectivitycheck.gstatic.com redirects to localhost.
But I don't know how adapt the webserver.


Code:
sudo nano /etc/dnsmasq.d/connectivitycheck.gstatic.com
    address=/connectivitycheck.gstatic.com/127.0.0.1

Code:
sudo nano /etc/hosts
    127.0.0.1               connectivitycheck.gstatic.com
Reply


Messages In This Thread
Self Hosting Connectivity Check on MoodeOS - by psychofaktory - 03-20-2023, 01:51 PM

Forum Jump: