03-20-2023, 01:51 PM
Hello,
ok, this one is a bit special
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.
ok, this one is a bit special
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