Page 7 of 24
Re: Toon firmware: issues (and solutions)
Posted: Fri Oct 06, 2017 12:45 am
by RomMon
Timmeh82 wrote:
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'
I haven't been active that much on the forum for the ~ last 10 months, so maybe it doesn't work anymore?
You do need to have the vpn connection working (think you can verify ifconfig tap0), for the upgrade to work.
Maybe you can find more info about the exit code in e.g. the man pages of opkg, or source code (it is probably also part of the
OpenEmbedded toolchain) ?
Some people manually downloaded the packages and installed them using opkg themselves, see also:
here and the few next posts.
Or also
here (and the next few posts).
Re: Toon firmware: issues (and solutions)
Posted: Mon Oct 09, 2017 9:10 pm
by Timmeh82
RomMon wrote:
I haven't been active that much on the forum for the ~ last 10 months, so maybe it doesn't work anymore?
You do need to have the vpn connection working (think you can verify ifconfig tap0), for the upgrade to work.
Maybe you can find more info about the exit code in e.g. the man pages of opkg, or source code (it is probably also part of the
OpenEmbedded toolchain) ?
Some people manually downloaded the packages and installed them using opkg themselves, see also:
here and the few next posts.
Or also
here (and the next few posts).
Thanks. I hadn't thought about the man pages yet, will give that a try. I was already thinking along the way of updating the packages manually.
The VPN is working by the way.
The other option I have left is doing a factory reset and then rooting again. I just don't know whether that might cause more problems than it's worth.
Re: Toon firmware: issues (and solutions)
Posted: Mon Oct 09, 2017 11:54 pm
by marcelr
Factory reset is not going to help you. It won't revert your toon to being non-rooted either.
The error messaging of opkg is a bit haphazard. Not sure if you can find a list of error codes and corresponding meanings.
Can you check the existence of /etc/opkg/base-feed.conf? I can imagine that opkg gets killed if it doesn't find the repodata ...
Re: Toon firmware: issues (and solutions)
Posted: Tue Oct 10, 2017 6:48 pm
by Ierlandfan
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
That's because they check the "Tenant" option in /qmf/etc/qmf_project.xml which could be "Eneco" or some other provider. (See /qmf/qml/config) Based on that value you get all the Apps or different ones..
Re: Toon firmware: issues (and solutions)
Posted: Mon Oct 16, 2017 7:50 pm
by ams123
ketelparameters (druk temperatuur)
how can i use that on my rooted toon
Re: Toon firmware: issues (and solutions)
Posted: Mon Oct 16, 2017 8:03 pm
by ams123
i have small problem
my Toon have in oktober a wrong power data about 400 euro to mutch
but its not real on my domoticz the power usage is normal
who can help to correct the data
Re: Toon firmware: issues (and solutions)
Posted: Tue Oct 17, 2017 6:40 pm
by FunFair
Anyone knows what log files are in /mnt/data/qmf/log ?
There is like 6MB of files in there called 99_DEBUG.log.json and 10_CONNECTION.log.json and more.
I also see alot of connection errors since I rooted toon. Should I be worried that the logs wil grow too large?
Re: Toon firmware: issues (and solutions)
Posted: Tue Oct 17, 2017 9:02 pm
by michel30
Hello,
What is in your file? because the mine is only 900.5K Oct 17 02:00 99_DEBUG.log.json
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 18, 2017 8:10 am
by FunFair
These are all my files
Code: Select all
eneco-001-047334:/mnt/data/qmf/log# ls -l
-rw-r--r-- 1 root root 895144 Oct 18 02:00 01_GENERAL.log.json
-rw-r--r-- 1 root root 942452 Oct 18 06:00 04_DEVICE.log.json
-rw-r--r-- 1 root 513 2148 Mar 25 2016 06_ALARM.log.json
-rw-r--r-- 1 root root 995429 Oct 18 02:00 09_THERMO.log.json
-rw-r--r-- 1 root root 840746 Oct 18 02:00 10_CONNECTION.log.json
-rw-r--r-- 1 root 513 4534 Oct 16 02:00 11_ASSET.log.json
-rw-r--r-- 1 root 513 4940 Oct 16 02:00 90__UNKNOWN_.log.json
-rw-r--r-- 1 root 513 69302 Jun 14 02:00 92__UNKNOWN_.log.json
-rw-r--r-- 1 root root 907650 Oct 18 02:00 93__UNKNOWN_.log.json
-rw-r--r-- 1 root 513 67704 May 20 2014 94__UNKNOWN_.log.json
-rw-r--r-- 1 root 513 900 Jul 12 2015 96__UNKNOWN_.log.json
-rw-r--r-- 1 root 513 406521 Jul 19 02:00 97__UNKNOWN_.log.json
-rw-r--r-- 1 root 513 959841 Oct 4 02:00 98__UNKNOWN_.log.json
-rw-r--r-- 1 root root 819196 Oct 18 02:00 99_DEBUG.log.json
The debug is only 819k, but the others aswell.
Re: Toon firmware: issues (and solutions)
Posted: Wed Oct 18, 2017 7:33 pm
by michel30
Ooo okay total in your log file is 6mb, that is fine is the same what I have.
When you see some of these log files, they have a old date.
Re: Toon firmware: issues (and solutions)
Posted: Sun Oct 22, 2017 9:12 pm
by Wunser
did anyone manage to recompile/build a newer VNC server against the more recent OpenSSL yet?
Re: Toon firmware: issues (and solutions)
Posted: Sun Oct 22, 2017 10:16 pm
by marcelr
It works with the older libssl (0.9.8 from the top of my head). Will upload that .ipk to the forum ftp server, so you can grab it from there. Haven't had the time to complete recompilation yet (x11vnc is not the problem, but libssl is ...).
EDIT: you can pick it up here:
http://files.domoticaforum.eu/uploads/T ... .1_qb2.ipk
Re: Toon firmware: issues (and solutions)
Posted: Tue Oct 24, 2017 12:50 am
by Wunser
Oh that's a lot easier

Thanks for that suggestion
Re: Toon firmware: issues (and solutions)
Posted: Fri Oct 27, 2017 3:24 pm
by FunFair
marcelr wrote:It works with the older libssl (0.9.8 from the top of my head). Will upload that .ipk to the forum ftp server, so you can grab it from there. Haven't had the time to complete recompilation yet (x11vnc is not the problem, but libssl is ...).
EDIT: you can pick it up here:
http://files.domoticaforum.eu/uploads/T ... .1_qb2.ipk
I've installed this file. Installed xvnc and it worked, changed the firewall...
Next I've updated /etc/inittab as described in the manual you wrote.
then I reboot Toon.. and find out I messed up the firewall... I've accidentially removed port 22 ffs!
Do I have to reconnect with the serial cable again to enable ssh again? or is there another trick?
-edit-
did it with the serial usb cable...
But I noticed that the vnc server started to boot up at port 5900, 5901, etc.
doens't really seem that it is supposed to function like that right?
Re: Toon firmware: issues (and solutions)
Posted: Fri Oct 27, 2017 9:43 pm
by flamingbob
Got a another toon up and running from marktplaats. Fun to root it again and works good.
1 thing i cant find out. How to get rid of the "dual" electic settings. Cant find it realy. Did notice i can also use joe instead of vi on the box. That helps to
