Toon firmware: issues (and solutions)

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

Post Reply
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware: issues (and solutions)

Post by michel30 »

Did someboddy received the latest 4.8 firmware?

I am waiting now more than 2 1/2 day with an connection to the service center.
I also reboot the Toon a couple of times but still did not receive any update also not with okpg update the last time it want okay.
What I did so far is changed the hosts file and set up the openVPN connection. Ping works okay to the serivce center.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

It may take up to two weeks for a toon to receive the updates ...
Vibestar
Member
Member
Posts: 53
Joined: Wed Sep 06, 2017 11:42 pm
Location: Rosmalen

Re: Toon firmware: issues (and solutions)

Post by Vibestar »

In firmware 4.7.23 I can't find the option for the smart plug (slimme stekkers). They were in older firmware. Does someone know how to get the option back?
hanplo
Starting Member
Starting Member
Posts: 20
Joined: Tue Aug 29, 2017 1:12 pm

Re: Toon firmware: issues (and solutions)

Post by hanplo »

Is anyone working at an option to install the firmware updates with the assistance of the Toon store..... I have a rooted Toon and I want to install the updates and keep the Toon store.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

Not that I'm aware of.
Quby's updates, when installed as-is, lock you out of your toon. There are ways to circumvent this, but so far, it's a tedious process, not easily automated.
If we want to keep the toonstore AND retain access to Quby, the low-level code of the Toonstore needs to be rewritten from scratch. At the same time we need to find a way to start system software from the GUI. The first s a lot of work, the second impossible, unless we write our own GUI code.

Be my guest.
Timmeh82
Starting Member
Starting Member
Posts: 3
Joined: Thu Sep 28, 2017 8:51 pm

Re: Toon firmware: issues (and solutions)

Post by Timmeh82 »

RomMon wrote:
Timmeh82 wrote: I have the same issue. I found this: domoticaforum.eu/viewtopic.php?f=87& ... 150#p77719
Will running this script work or will I mess up my Toon?
Yes, you can use that script.
I used it to from 2.9.26 to, 3.0.29 to 3.1.22 to 3.2.18, and finally to 3.5.4 (still my current version).
You can go direct to the version you like (but I have no experience with the use of the script after 3.5.4).
It is some time ago I did this, and hope my notes are complete.

You probably also need to change a port in iptables.conf, and set a new passwd. See:
viewtopic.php?f=87&t=8743&start=90#p77550
Not sure anymore if I had to change the passwd via serial.

I have the following line in /etc/init.d/dropbear at around line 87 to adapt iptables.conf after an additional reboot following the upgrade.
(see viewtopic.php?f=87&t=8743&sid=691c23d4e ... 210#p78584 )

Code: Select all

sed -i 's/\/Toon:/\/2Toon:\n-A HCB-INPUT -p tcp -m tcp --dport 22 --tcp-flags SYN,RST,ACK SYN -j ACCEPT/g' /etc/default/iptables.conf
Steps I used:
  • cd /HCBv2/tmp/opkg-cache/
    copy _opkg.qb2-ene-3.0.29.script.sh from here http://www.domoticaforum.eu/viewtopic.p ... 150#p77719
    rm /HCBv2/tmp/opkg-cache/_opkg.qb2-ene-2.9.26.script.sh*
    chmod 744 _opkg.qb2-ene-3.0.29.script.sh
    ./_opkg.qb2-ene-3.0.29.script.sh qb2 ene 3.0.29 prepare
    cat _opkg.qb2-ene-3.0.29.script.sh.res
    Look on Toon for new message with the followup steps for the upgrade
Check for errors before continuing:
  • cat /HCBv2/tmp/opkg-cache/_opkg.qb2-ene-3.0.29.script.sh.res
    cat /HCBv2/tmp/opkg-cache/_opkg.qb2-ene-3.0.29.script.sh.log
Start the actual upgrade:
  • cd /HCBv2/tmp/opkg-cache/
    ./_opkg.qb2-ene-3.0.29.script.sh qb2 ene 3.0.29 execute
Verify and adapt iptables.conf (e.g. 5900 for vnc):
  • vi /etc/default/iptables.conf
    -A HCB-INPUT -p tcp -m tcp --dport 10080 --tcp-flags SYN,RST,ACK SYN -j ACCEPT
    -A HCB-INPUT -p tcp -m tcp --dport 80 --tcp-flags SYN,RST,ACK SYN -j ACCEPT
    -A HCB-INPUT -p tcp -m tcp --dport 5900 --tcp-flags SYN,RST,ACK SYN -j ACCEPT
    /usr/sbin/iptables-restore </etc/default/iptables.conf
Verify logs:
  • /HCBv2/tmp/opkg-cache/_opkg.qb2-ene-3.0.29.script.sh.log
    /var/volatile/tmp/hcb_log/99_DEBUG.log.json
Thanks for your explanation. I can't update however.
opkg keeps getting killed. The errors I get are below.
Any ideas as to what could be the problem?

Code: Select all

>> 2017-10-04 08:56:17 +0000 (pid 3440) _opkg.qb2-ene-3.0.29.script.sh qb2 ene 3.5.4 prepare

>> 2017-10-04 08:56:17 +0000 (pid 3440) prepare
>> 2017-10-04 08:56:17 +0000 (pid 3440) preparing
>> Hotfix for writing System Time to RTC
Hardware Clock before: Wed Oct  4 08:56:17 2017  0.000000 seconds
Hardware Clock after : Wed Oct  4 08:56:17 2017  0.000000 seconds
>> configured opkg feeds:
src/gz base http://feed.hae.int/feeds/qb2/ene/3.5.4
src/gz oebase http://feed.hae.int/feeds/qb2/oe/2.6.36-base-r7-glibc
src/gz oekern http://feed.hae.int/feeds/qb2/oe/2.6.36-R10-h25-rtmem2
>> opkg update
Killed
>> 2017-10-04 09:00:05 +0000 (pid 3440) prepare-error-opkg-update 'Exit code 137 for: opkg update'
FunFair
Starting Member
Starting Member
Posts: 42
Joined: Sun Oct 01, 2017 11:40 am

Re: Toon firmware: issues (and solutions)

Post by FunFair »

marcelr wrote:I think it needs a rebuild of x11vnc, linked against later versions of libssl. Will look into it.
Thanks. It seems that all apps that are available needs to be rebuild though. Can't install any of them, they all return the same message.
I read that it is possible to run 2 libssl versions simultaniously, but I have no idea how to install the older version on Toon.
Maybe someone here knows?

Wish I've never updated to version 4.8 before rooting...
Vibestar
Member
Member
Posts: 53
Joined: Wed Sep 06, 2017 11:42 pm
Location: Rosmalen

Re: Toon firmware: issues (and solutions)

Post by Vibestar »

Vibestar wrote:In firmware 4.7.23 I can't find the option for the smart plug (slimme stekkers). They were in older firmware. Does someone know how to get the option back?
Nobody?????
fkruis
Starting Member
Starting Member
Posts: 20
Joined: Sun May 01, 2016 7:44 pm

Re: Toon firmware: issues (and solutions)

Post by fkruis »

@vibestar

You should have in the menu the option "bedienopties". there you find the controls for the slimme stekkers.
If this option is not there, then properly not all of the menu items are enabled.
Vibestar
Member
Member
Posts: 53
Joined: Wed Sep 06, 2017 11:42 pm
Location: Rosmalen

Re: Toon firmware: issues (and solutions)

Post by Vibestar »

fkruis wrote:@vibestar

You should have in the menu the option "bedienopties". there you find the controls for the slimme stekkers.
If this option is not there, then properly not all of the menu items are enabled.
I understand that, but how to enable it?
Before in an older version they where just showing in the menu.
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon firmware: issues (and solutions)

Post by TerrorSource »

Vibestar wrote:
fkruis wrote:@vibestar

You should have in the menu the option "bedienopties". there you find the controls for the slimme stekkers.
If this option is not there, then properly not all of the menu items are enabled.
I understand that, but how to enable it?
Before in an older version they where just showing in the menu.
You should be able to see it when the activation is set correctly. There's a wiki part in the rooting manual for it.
Vibestar
Member
Member
Posts: 53
Joined: Wed Sep 06, 2017 11:42 pm
Location: Rosmalen

Re: Toon firmware: issues (and solutions)

Post by Vibestar »

TerrorSource wrote:
Vibestar wrote:
fkruis wrote:@vibestar

You should have in the menu the option "bedienopties". there you find the controls for the slimme stekkers.
If this option is not there, then properly not all of the menu items are enabled.
I understand that, but how to enable it?
Before in an older version they where just showing in the menu.
You should be able to see it when the activation is set correctly. There's a wiki part in the rooting manual for it.
Activation?? Can you guide me there. I've been looking for an hour now and I don't know where to look anymore.
RomMon
Starting Member
Starting Member
Posts: 44
Joined: Mon Aug 29, 2016 9:05 pm

Re: Toon firmware: issues (and solutions)

Post by RomMon »

Vibestar wrote: Activation?? Can you guide me there. I've been looking for an hour now and I don't know where to look anymore.
Have a look here.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon firmware: issues (and solutions)

Post by Toonz »

RomMon wrote:
Vibestar wrote: Activation?? Can you guide me there. I've been looking for an hour now and I don't know where to look anymore.
Have a look here.
There is more to it, see the manuals topic: viewtopic.php?f=87&t=11235#p83254

You should set the flag ContentApps to 1 as well to get the 'Bedien opties'.
member of the Toon Software Collective
Vibestar
Member
Member
Posts: 53
Joined: Wed Sep 06, 2017 11:42 pm
Location: Rosmalen

Re: Toon firmware: issues (and solutions)

Post by Vibestar »

Toonz wrote:
RomMon wrote:
Vibestar wrote: Activation?? Can you guide me there. I've been looking for an hour now and I don't know where to look anymore.
Have a look here.
There is more to it, see the manuals topic: viewtopic.php?f=87&t=11235#p83254

You should set the flag ContentApps to 1 as well to get the 'Bedien opties'.
Very strange, I found the solution! I never had to change this xml file before when is was rotting the Toon. Also on the new firmware it seemed perfect with all the right flags on. Then I noticed something strange after hours spending. Somehow the id of my machine in the xml was saying neco-etc etc not Eneco-etc etc, four times. So I changed it to Eneco rebooted en there was all the apps. This time a little to much but 'bedien opties' also.
So I paired my zware aliexpress powerplugs and they work great.
Thanks guys for pointing me in the right direction.
Post Reply

Return to “Toon Firmware”