Toon firmware: issues (and solutions)

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

globegrabber
Starting Member
Starting Member
Posts: 47
Joined: Thu Sep 21, 2017 9:14 pm

Re: Toon firmware: issues (and solutions)

Post by globegrabber »

Hallo,
Please a little question about how to use, in specific to run the update _script, for all those they want to update there Toon, and so as i don't now how to use this script after pasting it to Toon?
So how to command the running of this file/script: update-rooted.sh?
Thanks in advance.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

You can start the script with

Code: Select all

sh update-rooted.sh
Member of the Toon Software Collective
jozg
Member
Member
Posts: 56
Joined: Wed Nov 15, 2017 1:13 pm

Re: Toon firmware: issues (and solutions)

Post by jozg »

Hello Thehognl,

i've treid your script, but receive an error:

grep: 4.11.6: No such file or directory
Unable to determine your current running version!
DEBUG information:
base-qb2-ene - 4.9.23-1183-1
base-qb2-uni - 4.11.6-1205-0
END DEBUG information

My toon has currectly 4.11.6.

Is there something i can do?
Thanks.

Regards,

Jos

EDIT: Found the problem, i copy a base from 4.11.6 from another toon and did the upgrade. I now removed the old 4.9.23 with opkg remove base-qb2-ene and now the script is working. The update to 4.12.0 is now busy. Thanks.
Demif
Starting Member
Starting Member
Posts: 24
Joined: Mon Nov 27, 2017 3:22 pm

Re: Toon firmware: issues (and solutions)

Post by Demif »

i gave it a try but get this error "Could not enable VPN in a normal reasonable time.. exiting!" debug information ect.
VPN is open ?? any idea's (it looks that vpn isn't open)
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

jozg wrote: EDIT: Found the problem, i copy a base from 4.11.6 from another toon and did the upgrade. I now removed the old 4.9.23 with opkg remove base-qb2-ene and now the script is working. The update to 4.12.0 is now busy. Thanks.
Correct. Somehow you had the two base versions installed (ene and uni). That should never happen. You probably did a manual install/update with opkg I guess before :)
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

Demif wrote:i gave it a try but get this error "Could not enable VPN in a normal reasonable time.. exiting!" debug information ect.
VPN is open ?? any idea's (it looks that vpn isn't open)
Please post the debug information.
This means that the script can not determine a proper vpn connection.
Can you try 'ping feed.hae.int' ?
Member of the Toon Software Collective
Demif
Starting Member
Starting Member
Posts: 24
Joined: Mon Nov 27, 2017 3:22 pm

Re: Toon firmware: issues (and solutions)

Post by Demif »

Ok the information

ping = 64 bytes from 127.0.0.1: seq=0 ttl=64 time=1.74 ms ect ect.

log
DEBUG information:
192.xxx.x.x/24 dev wlan0 src 192.xxx.x.xx
default via 192.xxx.x.x dev wlan0
# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1 localhost.localdomain localhost eneco-001-265919
127.0.0.1 feed.hae.int feed
END DEBUG information

i have seen in an earlier attempt something like" Kill all openvnp"
thanks
Arcidodo
Starting Member
Starting Member
Posts: 23
Joined: Fri Apr 03, 2015 1:06 pm

Re: Toon firmware: issues (and solutions)

Post by Arcidodo »

Code: Select all

:~# ./update-rooted.sh 
=================================================================================================================================-=================================
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN if necessary.
Please be advised that running this script is to your own risk!

Version: 1.2 - ThehogNL - 3-3-2018

===================================================================================================================================================================

You are currently running version 4.11.6

Available versions:
1.9.10 2.1.0 2.2.24 2.3.17 2.3.29 2.3.36 2.4.12 2.5.11 2.5.14 2.5.18 2.6.24 2.6.33 2.8.16 2.8.21 2.9.15 2.9.26 3.0.29 3.0.32 3.1.22 3.2.14 3.2.18 3.3.8 3.4.4 3.5.4 3.6.3 3.7.8 3.7.9 4.3.20 4.4.21 4.7.23 4.8.25 4.9.23 4.10.6 4.11.6 4.12.0 4.13.6
Which version do you want to upgrade to?
4.13.6
./update-rooted.sh: line 79: 6: not found
Smartass.. 4.13.6 is not a upgrade for 4.11.6!

i think a little bug :)



EDIT:

its not a bug, i copied and paste it in the terminal i guess line 79 is not copied properly. i copied the script using Filezilla and its working! thanks!
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

Demif wrote:Ok the information

ping = 64 bytes from 127.0.0.1: seq=0 ttl=64 time=1.74 ms ect ect.

log
DEBUG information:
192.xxx.x.x/24 dev wlan0 src 192.xxx.x.xx
default via 192.xxx.x.x dev wlan0
# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1 localhost.localdomain localhost eneco-001-265919
127.0.0.1 feed.hae.int feed
END DEBUG information

i have seen in an earlier attempt something like" Kill all openvnp"
thanks
Your VPN is not working. If it works it will overwrite the 127.0.0.1 feed.hae.int of /etc/hosts to point to the correct IP address.
Try running the openvpn manually with

Code: Select all

/usr/sbin/openvpn --config /etc/openvpn/vpn.conf 
(you can stop it with ctrl-c)

Post the output.
Member of the Toon Software Collective
Demif
Starting Member
Starting Member
Posts: 24
Joined: Mon Nov 27, 2017 3:22 pm

Re: Toon firmware: issues (and solutions)

Post by Demif »

there is a problem !
the result after starting vpn

Tue Mar 6 17:40:12 2018 DEPRECATED OPTION: --tls-remote, please update your configuration
Tue Mar 6 17:40:12 2018 OpenVPN 2.3.11 arm-hae-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Nov 30 2016
Tue Mar 6 17:40:12 2018 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 1.08
Tue Mar 6 17:40:12 2018 MANAGEMENT: Socket bind failed on local address [AF_INET]127.0.0.1:8000: Address already in use
Tue Mar 6 17:40:12 2018 Exiting due to fatal error
if i read this, a adress conflict?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

There is already a (not working) openvpn running.
Strange, because if openvpn is running but not working correctly the Toon software will restart it automatically.

Is there a reason you have openvpn still running? The script will start it temporarily for the update to work and stop it again.
Only reason to have the openvpn running is when you have a working subscription, but then you would already have the update :)

To shutdown the current openvpn:
- check your /etc/inittab (there should be a # in front of the openvpn config line)
- if there was NOT a #, put it there, save the file and restart your Toon
- if there was a # already, check with "ps w | grep openvpn" if it is indeed still running, then type "killall -9 openvpn" and check with "ps w | grep openvpn" again if it is indeed killed

If there is no openvpn running but you are still getting the 'already in use' message, then private message me a complete "ps w" output
Member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware: issues (and solutions)

Post by michel30 »

I just read on the toon forum that 4.13 is released.
Did they skipped 4.12?

@TheHogNL

When I want to use your new scrip to upgrade my Toon from 4.11 to 4.13 can this directly?

Do I also need to uninstall some software? and do I need to add something on my Toon for receiving new package and do I need to open the vpn first and reboot and than start the scrip and wait.
Or just start the scrip and wait and everything is installed?

Thanks
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon firmware: issues (and solutions)

Post by Toonz »

michel30 wrote:I just read on the toon forum that 4.13 is released.Did they skipped 4.12?
4.12.0 was only targeted at Warmtewinner customers to fix a bug. No other new functionality in that release
member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware: issues (and solutions)

Post by michel30 »

Ah, okay thanks for the information.

In the scrip it says:

Code: Select all

Available versions:
4.11.6  4.12.0  4.13.6
But on the forum site it says: Software update 4.13.7

Maybe a new scrip is needed? with 4.13.7 in it and not 4.13.6 ?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

michel30 wrote:
But on the forum site it says: Software update 4.13.7

Maybe a new scrip is needed? with 4.13.7 in it and not 4.13.6 ?
4.13.7 is indeed just released, just after I created the script. I will update the script to also add newer versions. But for just edit line 21 and add 4.13.7 to the end of it. Would not be hard I guess 8)
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”