Toon firmware: issues (and solutions)

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

maomanna
Starting Member
Starting Member
Posts: 8
Joined: Tue May 20, 2014 12:26 pm

Re: Toon firmware: issues (and solutions)

Post by maomanna »

is there a way to fix the vpn directory, problem is posted in viewtopic.php?f=87&t=11449&hilit=vpn&start=270#p85759

I get this error:

Code: Select all


You are currently running version 3.7.9

Which version do you want to upgrade to? You can look at the list of currently k                                          nown Toon versions at https://notepad.pw/raw/6fmm2o8ev
4.9
Please enter a valid version!
4.9.11
Please enter a valid version!
4.10.6
Alright, I will try to upgrade to 4.10.6
Waiting for tunnel to be alive and configured...
Waiting for tunnel to be alive and configured...
Waiting for tunnel to be alive and configured...
Waiting for tunnel to be alive and configured...
Waiting for tunnel to be alive and configured...
Waiting for tunnel to be alive and configured...
Could not enable VPN in a normal reasonable time.. exiting!
DEBUG information:
192.168.88.0/24 dev wlan0  src 192.168.88.19
default via 192.168.88.1 dev wlan0
# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1               localhost.localdomain           localhost               eneco-001-282734
172.26.96.1             feed.hae.int            feed
END DEBUG information
killall: openvpn: no process killed
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

maomanna wrote:I'd like to update my toon from 3.7.9. to 4.x.x but it seems my VPN connection isnt working.
/etc/openvpn/vpn.conf exists and points to /etc/openvpn/vpn where my .cert & .key etc should be, but the directory vpn is missing.

How can i fix this problem?
is there a eneco-something.tar.gz file in the /etc/openvpn directory? If yes then just extract that. That file contains the keys and crt for each seperate toon.
If not, there is no way to get the vpn working anymore or ask a friend to share his keys. But remember that you can not have two vpn's running with the same key.
Member of the Toon Software Collective
maomanna
Starting Member
Starting Member
Posts: 8
Joined: Tue May 20, 2014 12:26 pm

Re: Toon firmware: issues (and solutions)

Post by maomanna »

TheHogNL wrote:
maomanna wrote:I'd like to update my toon from 3.7.9. to 4.x.x but it seems my VPN connection isnt working.
/etc/openvpn/vpn.conf exists and points to /etc/openvpn/vpn where my .cert & .key etc should be, but the directory vpn is missing.

How can i fix this problem?
is there a eneco-something.tar.gz file in the /etc/openvpn directory? If yes then just extract that. That file contains the keys and crt for each seperate toon.
If not, there is no way to get the vpn working anymore or ask a friend to share his keys. But remember that you can not have two vpn's running with the same key.
there is no eneco-....tar.gz in that directory.

I've asked quby to send me those files.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

maomanna wrote: I've asked quby to send me those files.
Let us know if that works.
Member of the Toon Software Collective
Fietspomp
Starting Member
Starting Member
Posts: 27
Joined: Tue Jan 30, 2018 12:09 pm

Re: Toon firmware: issues (and solutions)

Post by Fietspomp »

I have few questions. On one of my Toons the time was completely wrong (Jan 2011).
Tried to figure out if Chrony was working, so I installed xinetd on my debian server to make sure I have a proper server to sync with.

Code: Select all

210 Number of sources = 1
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^? 192.168.1.3                   2   8     3   114    +37ms[  +37ms] +/-   81ms
eneco-001-237576:~# chronyc tracking
Reference ID    : 127.127.1.1 ()
Stratum         : 10
Ref time (UTC)  : Thu Mar 15 18:05:38 2018
System time     : 0.000000000 seconds fast of NTP time
Last offset     : 0.000000000 seconds
RMS offset      : 0.000000000 seconds
Frequency       : 5.844 ppm fast
Residual freq   : 0.000 ppm
Skew            : 0.000 ppm
Root delay      : 0.000000 seconds
Root dispersion : 0.000001 seconds
Update interval : 0.0 seconds
Leap status     : Not synchronised
Seems to have reached my NAS (192.168.1.3), but still Leap status is not sync'd? Anybody got different results?

Also with the latest firmware the stupid message that Service center can't be reached keeps popping up even tho I modified the correct file.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

I have

Code: Select all

210 Number of sources = 1
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^* ntp4.bit.nl                   1  10   377   126   +708us[ +996us] +/- 3722us


Reference ID    : 213.136.0.252 (ntp4.bit.nl)
Stratum         : 2
Ref time (UTC)  : Thu Mar 15 18:42:38 2018
System time     : 0.000017758 seconds fast of NTP time
Last offset     : 0.000101874 seconds
RMS offset      : 0.000324824 seconds
Frequency       : 9.368 ppm fast
Residual freq   : 0.002 ppm
Skew            : 0.113 ppm
Root delay      : 0.006678 seconds
Root dispersion : 0.001394 seconds
Update interval : 1032.4 seconds
Leap status     : Normal
So it seems that your chrony isn't working; not reaching your nas.
Member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon firmware: issues (and solutions)

Post by Toonz »

I had to put this into /etc/chrony.conf to get the clock synchronized:

Code: Select all

# ntp servers in the Netherlands (main application area of toon)
server 0.nl.pool.ntp.org minpoll 8
server 1.nl.pool.ntp.org minpoll 8
server 2.nl.pool.ntp.org minpoll 8
server 3.nl.pool.ntp.org minpoll 8
# driftfile location
driftfile /var/lib/chrony/chrony.drift
#log tracking measurements statistics
logdir /var/log/chrony
dumponexit
dumpdir /var/lib/chrony
local stratum 10
allow 10/8
allow 192.168/16
# Generate syslog messages if large offsets occur (> x secs)
logchange 10
# Specify that the real time clock keeps UTC not local time
rtconutc
#rtcfile /var/lib/chrony/chrony.rtc
# Step system clock if large correction is needed (> x secs within y clkupdates)
makestep 1000 100
# Trim the system clock on boot-up. (> x secs from host)
initstepslew 30 0.nl.pool.ntp.org
# Stop bad estimates upsetting machine clock
maxupdateskew 100.0
member of the Toon Software Collective
Fietspomp
Starting Member
Starting Member
Posts: 27
Joined: Tue Jan 30, 2018 12:09 pm

Re: Toon firmware: issues (and solutions)

Post by Fietspomp »

Thanks for the replies guys!

Used Toonz' config and now it works, even tho I though I read in the rooting manual NTP servers didn't work.

Now to search and remove the nagging "no connection to service center" banner.
Strange thing is when I click it it says Im connected to Eneco so the spoof in the InternetSettingsApp.qml works sort of...
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 »

Fietspomp wrote:Used Toonz' config and now it works, even tho I though I read in the rooting manual NTP servers didn't work.
I know, that should be updated in the manual.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

Fietspomp wrote:Thanks for the replies guys!

Used Toonz' config and now it works, even tho I though I read in the rooting manual NTP servers didn't work.

Now to search and remove the nagging "no connection to service center" banner.
Strange thing is when I click it it says Im connected to Eneco so the spoof in the InternetSettingsApp.qml works sort of...
This is because BXT (boxtalk, the internals of the toon) has the status set that there is no connection to the service center.
The modification in internetsettings is only to fool that app (the screen you see) and to fool the wifi icon.

But the banner itself is being fed from BXT itself. So everytime a connection to the internet is made, but the service center is unavailable this message reappears. This is normally only after a startup. But if your internet is broken, or your wifi disconnects all the time, the message reappears also while the Toon is running.

Haven't found out how to block the message myself. I am only seeing the message after a reboot. My internet is flawless :P But I'll take a look at the message part of the code this weekend to check if there is a way to block it. On the forum there are some people who did block the message bar completly but this is maybe something you don't want because you will miss other messages also.
Member of the Toon Software Collective
Fietspomp
Starting Member
Starting Member
Posts: 27
Joined: Tue Jan 30, 2018 12:09 pm

Re: Toon firmware: issues (and solutions)

Post by Fietspomp »

TheHogNL wrote:
Fietspomp wrote:Thanks for the replies guys!

Used Toonz' config and now it works, even tho I though I read in the rooting manual NTP servers didn't work.

Now to search and remove the nagging "no connection to service center" banner.
Strange thing is when I click it it says Im connected to Eneco so the spoof in the InternetSettingsApp.qml works sort of...
This is because BXT (boxtalk, the internals of the toon) has the status set that there is no connection to the service center.
The modification in internetsettings is only to fool that app (the screen you see) and to fool the wifi icon.

But the banner itself is being fed from BXT itself. So everytime a connection to the internet is made, but the service center is unavailable this message reappears. This is normally only after a startup. But if your internet is broken, or your wifi disconnects all the time, the message reappears also while the Toon is running.

Haven't found out how to block the message myself. I am only seeing the message after a reboot. My internet is flawless :P But I'll take a look at the message part of the code this weekend to check if there is a way to block it. On the forum there are some people who did block the message bar completly but this is maybe something you don't want because you will miss other messages also.
Makes some sense, I was rebooting Toon all the time, left it on all night and now the message is not returning indeed.
Internet here is also quite stable, as long as Ziggo stays stable :roll:
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon firmware: issues (and solutions)

Post by Toonz »

Fietspomp wrote:Now to search and remove the nagging "no connection to service center" banner.
My approach is to comment (or remove) the line 'notifications.init' in ..\qml\Canvas.qml

Code: Select all

Component.onCompleted: {
......
//		notifications.init();
......
}
This will remove the banner completely without impacting other functionality.
Banner is pretty useless anyway if you ask me
member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware: issues (and solutions)

Post by TheHogNL »

Alright, I managed to remove the annoying network error notification without disabling the notification completly.

Find the "function show" in /qmf/qml/qb/notifications/NotificationBar.qml and add the line shown below (the line between the two comment lines) as the first line after the opening of the show function:

Code: Select all

        function show(expanded) {
//mod to remove network errors in notification bar
                notifications.removeByTypeSubType("error","network");
//end mod
                if (notifications.count === 0 || blockConditions)

This will delete each network error notifcations just before they are shown.
Last edited by TheHogNL on Mon Mar 19, 2018 12:14 pm, edited 4 times in total.
Member of the Toon Software Collective
PowerAce
Starting Member
Starting Member
Posts: 18
Joined: Thu Aug 31, 2017 1:21 pm

Re: Toon firmware: issues (and solutions)

Post by PowerAce »

Hi TheHogNL,

I've tried your mod for the NotificationBar.qml file. Unfortunately for my Toon (FW 4.10.6) this is not working. When i reboot Toon it stops somewhere halfway and ends with a 'white' screen. Luckily i was still able to log in using SSH.

I had the mod inserted around line 27 is that correct? It looks by the way that your file is different anyway, when i look at the very last line of your code just after '#end mod'. Yours says something about blockConditions which i don't see in my NotificationBar.qml

Regards
Fietspomp
Starting Member
Starting Member
Posts: 27
Joined: Tue Jan 30, 2018 12:09 pm

Re: Toon firmware: issues (and solutions)

Post by Fietspomp »

Nice, I'll try it tonight!
Post Reply

Return to “Toon Firmware”