Found out what happened thanks to wickedmaster with same issue. Normally the script exists after 15 minutes of running. However the update only took about 8 minutes. Anyway the 15 minutes, or rather a 900 sec counter got to the end. This was because of the sleep command failing during busybox update and hitting the 900 counter limit to fast due to that.TheHogNL wrote:So at the end of the logs everything looks fine.Code: Select all
>> upgrade OK: removing cached package files... HCBv2 apps started via runlvls, preparing startables for next boot. HCBv2 adding: comm eventmgr kpi pwrusage scsync smartplug thermstat usermsg weather bxtproxy config log rrd watchdog hue p1 zwave lighttpd. HCBv2 startables unchanged, not writing /etc/inittab. >> Done, scheduling reboot in 2 secs... >> 2019-01-25 14:33:13 +0000 (pid 10064) executed >> 2019-01-25 14:33:13 +0000 (pid 10064) exit-0 execute-ok-upgrade-qb2.sh 'qb2 uni 5.0.4 execute'
Not sure why the root update script stopped. Better check /etc/default/iptables.conf before rebooting to make sure port 22 is still open.
Toon firmware - update script
Moderators: marcelr, TheHogNL, Toonz
Re: Toon firmware - update script
Member of the Toon Software Collective
Re: Toon firmware - update script
Code: Select all
#-A HCB-INPUT -p tcp -m tcp --dport 22 --tcp-flags SYN,RST,ACK SYN -j ACCEPT
Re: Toon firmware - update script
Uhmm, the line is commented out (#). Probably lost access now.....jossie67 wrote:Yes port 22 is still in so I will rebootCode: Select all
#-A HCB-INPUT -p tcp -m tcp --dport 22 --tcp-flags SYN,RST,ACK SYN -j ACCEPT
member of the Toon Software Collective
Re: Toon firmware - update script
Toonz wrote:Uhmm, the line is commented out (#). Probably lost access now.....jossie67 wrote:Yes port 22 is still in so I will rebootCode: Select all
#-A HCB-INPUT -p tcp -m tcp --dport 22 --tcp-flags SYN,RST,ACK SYN -j ACCEPT
not yet, I didn't reboot, I was doubting

I have to uncomment
This is my tables now
Code: Select all
##############################################################################
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
##############################################################################
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:HCB-INPUT - [0:0]
-A INPUT -j HCB-INPUT
-A FORWARD -j HCB-INPUT
-A HCB-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# These are all closed for Quby/Toon:
#-A HCB-INPUT -p tcp -m tcp --dport 22 --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 udp -m udp --sport 67:68 --dport 67:68 -j ACCEPT
#-A HCB-INPUT -p udp -m udp --dport 137:138 -j ACCEPT
-A HCB-INPUT -i lo -j ACCEPT
-A HCB-INPUT -i tap+ -j ACCEPT
-A HCB-INPUT -i tun+ -j ACCEPT
-A HCB-INPUT -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -j DROP
-A HCB-INPUT -p udp -m udp -j DROP
COMMIT
##############################################################################
Code: Select all
# These are all closed for Quby/Toon:
#-A HCB-INPUT -p tcp -m tcp --dport 22 --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 udp -m udp --sport 67:68 --dport 67:68 -j ACCEPT
#-A HCB-INPUT -p udp -m udp --dport 137:138 -j ACCEPT
Re: Toon firmware - update script
Absolutely yes !!!! Especially port 22.
member of the Toon Software Collective
Re: Toon firmware - update script
Yes,
I reboot, could connect to Toon with putty
and did
./upgrade_rooted.sh -v 5.0.4
Now the upgrade was succesfull!
I reboot, could connect to Toon with putty
and did
./upgrade_rooted.sh -v 5.0.4
Now the upgrade was succesfull!
Re: Toon firmware - update script
I'm afraid my apps are not really fit for general use. They rely heavily on a local web server for producing the necessary data. Also they are not all that spectacular. Just things like showing the current solar power, but obtained from a serial port on my specific brand of inverter instead of the standard toon method.TheHogNL wrote:BTW: could you share your apps?
Schelte
Re: Toon firmware - update script
You know you could feed that info into the meteradapter as a self-made simulated pulse signal (imp/kwh)? Then you could use the original zonoptoon tiles. I'm doing something like that also.hvxl wrote:I'm afraid my apps are not really fit for general use. They rely heavily on a local web server for producing the necessary data. Also they are not all that spectacular. Just things like showing the current solar power, but obtained from a serial port on my specific brand of inverter instead of the standard toon method.TheHogNL wrote:BTW: could you share your apps?
Just use a Pi Zero, ESP32 or something to get the serial data from your inverter, translate the Watts to imp/kwh and let a digital output pulse at that frequency. Using the correct wiring you don't need a pulsing led. Just S0 interfacing.
Member of the Toon Software Collective
Re: Toon firmware - update script
I know you could do that, if you have a meter adapter compatible with zonoptoon. Unfortunately I have the older model.TheHogNL wrote:You know you could feed that info into the meteradapter as a self-made simulated pulse signal (imp/kwh)?
Schelte
Re: Toon firmware - update script
Currently the update script is not working on a Toon 1 due to a BUG in Eneco/Quby's own script.
This result in the message after downloading the update files: /mnt/data/update/upgrade-qb2.sh: line 855: syntax error: unterminated quoted string
They update this script today with this big.
So we now wait for quby to fix this.. shouldn't take long I guess for them to figure out
This result in the message after downloading the update files: /mnt/data/update/upgrade-qb2.sh: line 855: syntax error: unterminated quoted string
They update this script today with this big.
So we now wait for quby to fix this.. shouldn't take long I guess for them to figure out

Member of the Toon Software Collective
Re: Toon firmware - update script
And why we wait if we can fix their bug...TheHogNL wrote: So we now wait for quby to fix this.. shouldn't take long I guess for them to figure out

Member of the Toon Software Collective
Re: Toon firmware - update script
Really? Is Quby deploying update scripts to production without even test it once? Really?
Unbelievable, better hire some students then for your product development.....
Funny enough, they probably don't notice because there is still update activity via your script...
Unbelievable, better hire some students then for your product development.....
Funny enough, they probably don't notice because there is still update activity via your script...

member of the Toon Software Collective
Re: Toon firmware - update script
Hi all,
When I try to update with the update script I got the following message.
Is it save to continue?
When I try to update with the update script I got the following message.
Code: Select all
eneco-001-132690:~# ./update-rooted.sh -v 5.0.4
==============================================================================================================================================================
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 at your own risk!
Version: 3.53 - TheHogNL & TerrorSource & yjb - 25-1-2019
=============================================================================================================================================================
Forcing version: 5.0.4
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Tunnel is alive and configured.
Warning: upgrade script from source server is changed. Do you want to continue downloading the files (if not sure, type no and report in the forums)?
Re: Toon firmware - update script
They change their code again (fixed the bug they had). New version 3.55 accepts this change, so go ahead and update.
Member of the Toon Software Collective
Re: Toon firmware - update script
Thanks @TheHogNL new version 3.55 is working fine I just upgraded my toon1 from 4.19.10 to 5.0.4.
Just another question I do not know if it has to do with the update to 5.0.4 but my brightness settings of the screen doesn't work any more.
Normally it set 50% (Helderheid 50%) dim after 1 min but is going to completely black.
In settings it is now set to Helderheid scherm actief 50% and dimstand 30% or 10% but is going always to completely black, It doesn't matter what I change/set.
Any suggestions?
Just another question I do not know if it has to do with the update to 5.0.4 but my brightness settings of the screen doesn't work any more.
Normally it set 50% (Helderheid 50%) dim after 1 min but is going to completely black.
In settings it is now set to Helderheid scherm actief 50% and dimstand 30% or 10% but is going always to completely black, It doesn't matter what I change/set.
Any suggestions?