Page 6 of 24
Re: Toon firmware: issues (and solutions)
Posted: Sun Oct 01, 2017 4:31 pm
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.
Re: Toon firmware: issues (and solutions)
Posted: Sun Oct 01, 2017 5:13 pm
by marcelr
It may take up to two weeks for a toon to receive the updates ...
Re: Toon firmware: issues (and solutions)
Posted: Mon Oct 02, 2017 6:44 pm
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?
Re: Toon firmware: issues (and solutions)
Posted: Mon Oct 02, 2017 7:52 pm
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.
Re: Toon firmware: issues (and solutions)
Posted: Mon Oct 02, 2017 8:39 pm
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.
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 11:04 am
by Timmeh82
RomMon wrote:
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'
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 11:52 am
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...
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 1:26 pm
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?????
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 2:38 pm
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.
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 9:18 pm
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.
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 9:25 pm
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.
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 10:16 pm
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.
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 10:46 pm
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.
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 04, 2017 11:06 pm
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'.
Re: Toon firmware: issues (and solutions)
Posted: Thu Oct 05, 2017 10:02 pm
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.