Toon firmware: issues (and solutions)

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

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 »

Looks good, for chrony.
You can test a proper internet connection by pinging some server outside.

Try this:

Code: Select all

~# ping www.google.com
PING www.google.com (172.217.17.132): 56 data bytes
64 bytes from 172.217.17.132: seq=0 ttl=56 time=6.732 ms
64 bytes from 172.217.17.132: seq=1 ttl=56 time=6.568 ms
64 bytes from 172.217.17.132: seq=2 ttl=56 time=6.565 ms
64 bytes from 172.217.17.132: seq=3 ttl=56 time=6.862 ms
64 bytes from 172.217.17.132: seq=4 ttl=56 time=6.452 ms
^C


This should work.
gijsje
Starting Member
Starting Member
Posts: 25
Joined: Sun Dec 03, 2017 12:52 am

Re: Toon firmware: issues (and solutions)

Post by gijsje »

That works :(

Code: Select all

PING www.google.com (172.217.17.100): 56 data bytes
64 bytes from 172.217.17.100: seq=0 ttl=54 time=16.737 ms
64 bytes from 172.217.17.100: seq=1 ttl=54 time=17.658 ms
64 bytes from 172.217.17.100: seq=2 ttl=54 time=15.830 ms
64 bytes from 172.217.17.100: seq=3 ttl=54 time=35.466 ms
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 »

Hmmm ...

How did you configure your router? If it has a firewall activated, try and switch the firewall off for a few minutes, and see if you get any updates on time and traffic.
gijsje
Starting Member
Starting Member
Posts: 25
Joined: Sun Dec 03, 2017 12:52 am

Re: Toon firmware: issues (and solutions)

Post by gijsje »

Turned of the firewall no connection.
Connected to the hotspot on my phone no connection.
I did not mention i am on software version 4.10.6 maybe that makes a difference?!
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 »

Shouldn't make a difference.
gijsje
Starting Member
Starting Member
Posts: 25
Joined: Sun Dec 03, 2017 12:52 am

Re: Toon firmware: issues (and solutions)

Post by gijsje »

Any other suggestions??
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon firmware: issues (and solutions)

Post by TerrorSource »

Well, actually i have one :)

Refreshing the Verkeersinformatie and ToonStore relies on a accurate date/time set up in the Linux part of the Toon.
When the date/time is more the 300sec(5minutes) off compared to the real time then there wont be information on screen.

Please set up the correct date/time with these following commands:

date --set "YYYY-MM-DD HH:MM:SS"
hwclock -w

YYYY = Year = 2018
MM = Month = 01
DD = Day = 02
HH = Hours = 13
MM = Minutes = 36
SS = Seconds = 00
gijsje
Starting Member
Starting Member
Posts: 25
Joined: Sun Dec 03, 2017 12:52 am

Re: Toon firmware: issues (and solutions)

Post by gijsje »

Thanks the time and date is now correct.
This is ofcourse a good trick to get the time ok but should it not get this info online??
But still no traffic info it still says no internet connection
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon firmware: issues (and solutions)

Post by TerrorSource »

gijsje wrote:Thanks the time and date is now correct.
This is ofcourse a good trick to get the time ok but should it not get this info online??
But still no traffic info it still says no internet connection
Correct, it should do that automatically but somehow some clock in the linux part isn't updating automatically and is causing this issue.
Can you reboot the Toon by removing the power from the ketelmodule for a minute?
gielie
Member
Member
Posts: 70
Joined: Thu Nov 02, 2017 11:06 am

Re: Toon firmware: issues (and solutions)

Post by gielie »

I want to update to 4.10.6 and thus i want to change the .ipk file for the firewall but i can't get it to work.
I used the tut from first post to extract the ipk file,
tar -zxvf base-qb2-ene_4.10.6-1196-0_qb2.ipk
but hen i get this error

Code: Select all

eneco-001-003065:/mnt/data/update# tar zxvf base-qb2-ene_4.10.6-1196-0_qb2.ipk
tar: invalid magic
tar: short read
can someone help me with this?
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 sure how you transferred the file from toon to your PC.
Please check the length of the file on toon and on your computer (the match must be exact).

Edit: I just bumped into the same issue, in my case the terminal settings for the serial transfer were wrong. So, please check these first.
gielie
Member
Member
Posts: 70
Joined: Thu Nov 02, 2017 11:06 am

Re: Toon firmware: issues (and solutions)

Post by gielie »

Ok i tried to unzip the files on the Toon itself, that is wrong. Now i copied the file to my computer using filezilla(osx) i unpacked and changed the files and repacked them and now i have the following error

Code: Select all

eneco-001-003065:/mnt/data/update# opkg install base-qb2-ene_4.10.6-1196-0_qb2.ipk
Upgrading base-qb2-ene on root from 4.9.23-1183-1 to 4.10.6-1196-0...
Collected errors:
 * opkg_install_pkg: Package base-qb2-ene md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package base-qb2-ene.
I understand this because the size of the file has changed because i added some lines to the iptable.conf, what am i doing wrong?

Also in the tut is written i have to do a opkg install *.ipk, but there are a lot of other ipk files, i don't think i want to install them all

Code: Select all

ls
_opkg.qb2-ene-4.10.6.script.sh              
happ-usermsg_1.87-master_qb2.ipk            
libgettextlib_0.18-r5_qb2.ipk
_opkg.qb2-ene-4.10.6.script.sh.log          
happ-weather_1.147-master_qb2.ipk           
libgettextsrc_0.18-r5_qb2.ipk
_opkg.qb2-ene-4.10.6.script.sh.res          
hcb-bxtproxy_1.349-master_qb2.ipk           
libhcb-base_1.293-master_qb2.ipk
_opkg.qb2-ene-4.10.6.script.sh.sig          
hcb-comm_1.184-N-master_qb2.ipk             
libhcb-boxtalk_1.123-master_qb2.ipk
base-qb2-ene_4.10.6-1196-0_qb2.ipk          
hcb-config_1.331-master_qb2.ipk             
libhcb-com_1.124-N-master_qb2.ipk
gettext_0.18-r5_qb2.ipk                     
hcb-log_1.79-master_qb2.ipk                 
libhcb-drv_1.342-master_qb2.ipk
happ-eventmgr_1.212-master_qb2.ipk          
hcb-netcon_1.346-master_qb2.ipk             
libhcb-xml_1.111-master_qb2.ipk
happ-kpi_1.406-master_qb2.ipk               
hcb-rrd_2.159-master_qb2.ipk                
qmf-tenantize_0.1-r0_qb2.ipk
happ-pwrusage_1.674-master_qb2.ipk          
hcb-watchdog_1.69-master_qb2.ipk            
qt-gui_1.8075-ene-release-4.10_qb2.ipk
happ-scsync_1.267-master_qb2.ipk            
hdrv-hue_1.221-master_qb2.ipk               
tenant-eneco-nl_1.14-master_all.ipk
happ-smartplug_1.203-master_qb2.ipk         
hdrv-p1_1.724-master_qb2.ipk                
x11vnc_0.9.13-r2_qb2.ipk
happ-thermstat_1.1919-release-4.10_qb2.ipk  
hdrv-zwave_1.1284-master_qb2.ipk
eneco-001-003065:/mnt/data/update#
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware: issues (and solutions)

Post by michel30 »

There was a TIP somewhere on this forum how to update, by just pressing the upgrade button but first you need to do this:

Code: Select all

1: Download and install cron_3.0pl1-r8_qb2.ipk

2: Edit the crontab for user root, by issueing the following command:

crontab -e 

This opens an editor (typically vi), paste the following into the file:

# crontab for root
#      The time and date fields are:
#
#             field          allowed values
#             -----          --------------
#             minute         0-59
#             hour           0-23
#             day of month   1-31
#             month          1-12 (or names, see below)
#             day of week    0-7 (0 or 7 is Sunday, or use names)
#
SHELL=/bin/sh
# download .ics file for "afvalwijzer" app, every third day of the month,
# at 4:15 in the morning:                            
15 4 3 * * /root/bin/get_data_from_cure.sh

and save. You may omit the lines starting with a hash mark (#).

3: Start the cron daemon, by issueing:

/etc/init.d/cron start


crontab for root:

CODE: SELECT ALL
# crontab for root
#      The time and date fields are:
#
#             field          allowed values
#             -----          --------------
#             minute         0-59
#             hour           0-23
#             day of month   1-31
#             month          1-12 (or names, see below)
#             day of week    0-7 (0 or 7 is Sunday, or use names)
#
SHELL=/bin/sh
# download .ics file for "afvalwijzer" app, every third day of the month,
# at 4:15 in the morning:                            
15 4 3 * * /root/bin/get_data_from_cure.sh


1. Install Cron (see the post about installing the wasteapp)

2. Copy /etc/default/iptables.conf  to /root/iptables.conf

3. Copy /etc/passwd to /root/passwd

4. open Crontab (Crontab -e) and enter the following

@reboot cp /root/iptables.conf /etc/default/iptables.conf
@reboot cp /root/passwd /etc/passwd

5. Open up the VPN connection to Eneco  (remove the # bevore OPENVPN in the /etc/inittab  file)

6. reboot Toon

7. update Toon (mine had to update twice)
At this point you will lose SSH access after the first reboot.

8. Reboot Toon again
SSH access will be restored after this reboot.

9. Close the OpenVPN connection again  (add the # bevore OPENVPN in the /etc/inittab  file)

balans
Starting Member
Starting Member
Posts: 26
Joined: Wed Feb 01, 2017 7:21 pm

Re: Toon firmware: issues (and solutions)

Post by balans »

hi i wanted to upgrade from 4.9 to 4.10 but it failed and this is the log

Code: Select all

>> opkg update
Downloading http://feed.hae.int/feeds/qb2/ene/4.10.6/Packages.gz.
Inflating http://feed.hae.int/feeds/qb2/ene/4.10.6/Packages.gz.
Updated list of available packages in /var/lib/opkg/base.
Downloading http://feed.hae.int/feeds/qb2/ene/4.10.6/Packages.sig.
Signature check passed.
Downloading http://feed.hae.int/feeds/qb2/oe/2.6.36-base-r14-uni/Packages.gz.
Inflating http://feed.hae.int/feeds/qb2/oe/2.6.36-base-r14-uni/Packages.gz.
Updated list of available packages in /var/lib/opkg/oebase.
Downloading http://feed.hae.int/feeds/qb2/oe/2.6.36-base-r14-uni/Packages.sig.
Signature check passed.
Downloading http://feed.hae.int/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.gz.
Inflating http://feed.hae.int/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.gz.
Updated list of available packages in /var/lib/opkg/oekern.
Downloading http://feed.hae.int/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.sig.
Signature check passed.
>> Unknown old flavor! Aborting.
>> 2018-01-03 18:04:36 +0100 (pid 1549) prepare-error-unknown-old-flavor 'Unknown old flavor ! Aborting.'
some body has a clue
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware: issues (and solutions)

Post by michel30 »

Hello,

Do you see in this map the update files: /mnt/data/update
If not than you have no update files, this will be pushed automatic by Toon when you stay connected with the server.

When you see there files, than you could do the steps above.. and after that just press update on your Toon.

If you want to do it manual than go this map: /mnt/data/update and do opkg install *.ipk
Post Reply

Return to “Toon Firmware”