Toon mobile access

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

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
Member of the Toon Software Collective
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon mobile access

Post by oepi-loepi »

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
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.
Ron_nl
Member
Member
Posts: 78
Joined: Tue Mar 26, 2019 3:20 pm
Location: Friesland

Re: Toon mobile access

Post by Ron_nl »

TheHogNL wrote: Once a day or after a reboot it will run.
You are correct, after a reboot it will change within 10 minutes. Without a reboot it will be changed in a day.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

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
Ron_nl
Member
Member
Posts: 78
Joined: Tue Mar 26, 2019 3:20 pm
Location: Friesland

Re: Toon mobile access

Post by Ron_nl »

TheHogNL wrote:For now easiest will be to make your own copy of the mobile app in another folder for your own changese
For the customizing it is, but there is still the lighttpd.conf (disable login) issue that keeps being pushed back.
Why did this never happen before?
Is there some new kind of checksum in order with this latest version?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

Ron_nl wrote:
TheHogNL wrote:For now easiest will be to make your own copy of the mobile app in another folder for your own changese
For the customizing it is, but there is still the lighttpd.conf (disable login) issue that keeps being pushed back.
Why did this never happen before?
Is there some new kind of checksum in order with this latest version?
It happened always. It is just that we didn't modify the application before. Only just recently.
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

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 
Member of the Toon Software Collective
Ron_nl
Member
Member
Posts: 78
Joined: Tue Mar 26, 2019 3:20 pm
Location: Friesland

Re: Toon mobile access

Post by Ron_nl »

TheHogNL 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 
That explains what happens, and made me think of a sort of checksum :mrgreen:
It looks like it is working again like before. 8)

Big thanks!

Ron.
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon mobile access

Post by oepi-loepi »

Sorry my mistake about the extra <enter> in the version.txt
Ron_nl
Member
Member
Posts: 78
Joined: Tue Mar 26, 2019 3:20 pm
Location: Friesland

Re: Toon mobile access

Post by Ron_nl »

oepi-loepi wrote:Sorry my mistake about the extra <enter> in the version.txt
No worries :) It's fixed.
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon mobile access

Post by Arnout2000 »

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?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

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?
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.
Please run the update script with option -f to repair the firewall settings and reboot.
Member of the Toon Software Collective
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon mobile access

Post by Arnout2000 »

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
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

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
Yes download it first. To be sure you have the latest version.
Member of the Toon Software Collective
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon mobile access

Post by Arnout2000 »

Done...Mobile access seems to work again.

Thank you for the support...learning all the time :)
Post Reply

Return to “Toon Apps”