Toon mobile access
Moderators: marcelr, TheHogNL, Toonz
Re: Toon mobile access
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
Member of the Toon Software Collective
-
- Advanced Member
- Posts: 678
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon mobile access
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
Re: Toon mobile access
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.
Re: Toon mobile access
For now easiest will be to make your own copy of the mobile app in another folder for your own changese
Member of the Toon Software Collective
Re: Toon mobile access
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?
Re: Toon mobile access
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?
Member of the Toon Software Collective
Re: Toon mobile access
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
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
Member of the Toon Software Collective
Re: Toon mobile access
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

It looks like it is working again like before.

Big thanks!
Ron.
-
- Advanced Member
- Posts: 678
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon mobile access
Sorry my mistake about the extra <enter> in the version.txt
Re: Toon mobile access
No worriesoepi-loepi wrote:Sorry my mistake about the extra <enter> in the version.txt

-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon mobile access
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?
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?
Re: Toon mobile access
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?
Please run the update script with option -f to repair the firewall settings and reboot.
Member of the Toon Software Collective
-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon mobile access
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
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
Re: Toon mobile access
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
Member of the Toon Software Collective
-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon mobile access
Done...Mobile access seems to work again.
Thank you for the support...learning all the time
Thank you for the support...learning all the time
