Re: Toon mobile access
Posted: Thu Nov 04, 2021 1:01 pm
So it did install it indeed. Once a day or after a reboot it will run.
I will see how to prevent updating on user request
I will see how to prevent updating on user request
Domotica - Home Automation Forum
https://www.domoticaforum.eu/
Th most ugly but effective way is to skip the update if the user has created a noupdate.txt file in the folder. But i leave it to you to find something. Your experience is far beyond mine.TheHogNL wrote:So it did install it indeed. Once a day or after a reboot it will run.
I will see how to prevent updating on user request
You are correct, after a reboot it will change within 10 minutes. Without a reboot it will be changed in a day.TheHogNL wrote: Once a day or after a reboot it will run.
For the customizing it is, but there is still the lighttpd.conf (disable login) issue that keeps being pushed back.TheHogNL wrote:For now easiest will be to make your own copy of the mobile app in another folder for your own changese
It happened always. It is just that we didn't modify the application before. Only just recently.Ron_nl wrote:For the customizing it is, but there is still the lighttpd.conf (disable login) issue that keeps being pushed back.TheHogNL wrote:For now easiest will be to make your own copy of the mobile app in another folder for your own changese
Why did this never happen before?
Is there some new kind of checksum in order with this latest version?
Code: Select all
echo "0" > /qmf/www/mobile/version.txt
That explains what happens, and made me think of a sort of checksumTheHogNL wrote:Just discovered a fault in the version.txt file. Because it has a dos linefeed it doesn't match the version number on github anymore and therefore each day it will get updated.
And I am updating the update script to ignore if the version.txt has content '0'
So to make sure mobile (and lighttpd.conf) are not updated do
Code: Select all
echo "0" > /qmf/www/mobile/version.txt
No worriesoepi-loepi wrote:Sorry my mistake about the extra <enter> in the version.txt
If you touch 'lokale toegang' the internal firewall will reset after 2 hours and you will be blocked. Normally you don't need to touch that on a rooted and it will break the roooted toon modified firewall settings after the 2 hours.Arnout2000 wrote:My mobile access is giving me some troubles. In most cases I cannot access Toon while on my home network.
In the past this worked just fine.
In the Internet menu the option “Mobile access” is on.
If I also switch on the “Lokale Toegang” option (max 2 hours), I have no issue to access Toon via my browser.
What is wrong?
Yes download it first. To be sure you have the latest version.Arnout2000 wrote:I haven't done anything with scripting on my Toon before, but there is a first time for everything.
This is the command I should give while accessing Toon via Putty?
sh /root/update-rooted.sh -f
Or do I need to download the script first with something like this:
curl -Nks https://raw.githubusercontent.com/ToonS ... -rooted.sh -o /root/update-rooted.sh