Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

Post Reply
gielie
Member
Member
Posts: 70
Joined: Thu Nov 02, 2017 11:06 am

Re: Toon firmware - update script

Post by gielie »

TheHogNL wrote:1) not necessary, the script will start the vpn (and stop it) when needed
2) yes, the script will force this for you if necessary
3) yes, the script will restore your iptables file also. Keeping the crontjob is just an extra failsafe (actually it helped a few already who had some issue's with the script)
4) the script will after upgrade, fix all the necessary files and reinstall toonstore
It worked great, the only thing is the connection with the service centre is still up, could this be a problem?
Here is the complete log

Code: Select all

eneco-001-003065:~# sh update-rooted.sh
===================================================================================================================================================================
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: 2.7 - ThehogNL - 7-4-2018

===================================================================================================================================================================

You are currently running version 4.10.6

Available versions:  1.9.10 2.1.0 2.2.24 2.3.17 2.3.29 2.3.36 2.4.12 2.5.11 2.5.14 2.5.18 2.6.24 2.6.33 2.8.16 2.8.21 2.9.15 2.9.26 3.0.29 3.0.32 3.1.22 3.2.14 3.2.18 3.3.8 3.4.4 3.5.4 3.6.3 3.7.8 3.7.9 4.3.20 4.4.21 4.7.23 4.8.25 4.9.23 4.10.6 4.11.6 4.12.0 4.13.6 4.13.7 

Which version do you want to upgrade to?
4.13.7
Alright, I will try to upgrade to 4.13.7
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.
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (anything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
Waiting to finish. Sometimes this takes a minute or two  ..     
Done preparing.
Are your sure you want to upgrade to 4.13.7 (yes)? This is the last moment you can stop the upgrade. Answer with 'yes' will start the upgrade.
yes
Starting the upgrade now! Just wait a while... It can take a few minutes.
Waiting to finish. Sometimes this takes a minute or two         
Upgrade done!
Restoring your iptables and passwd files so you can login again after rebooting.
Upgrade is done. However each firmware upgrade will revert the changes to some files needed for a working rooted Toon. Do you want me me to try and fix a few well known issue's for you right now?
yes
FIXING: Trying to fix Global.qml now to add all the Toonstore installed apps again.
Restoring boilerstatus in Globals.qml
Restoring temperaturelogger in Globals.qml
Restoring buienradar in Globals.qml
Restoring wastecollection in Globals.qml
Restoring toonstore in Globals.qml
FIXING: Now fixing internet settings app to fake ST_TUNNEL mode.
Modification in InternetSettingsApp.qml is missing. Fixing it now.
FIXING: Now modifying notifications bar to not show any network errors
Modification in NotificationBar.qml is missing. Fixing it now.
FIXING: Now installing latest toonstore app. This fixes some files also.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps//toonstore-1.1.4/toonstore_1.1.4-r0_qb2.ipk.
Upgrading toonstore on root from 1.1.3-r0 to 1.1.4-r0...
Executing pre-install script for toonstore-1.1.4
Previous installation detected.
Backing up autoUpdateTime.txt ...
Backing up autoUpdate.txt ...
Creating backup for /qmf/etc/qmf_release.xml ...
Patching /qmf/etc/qmf_release.xml for 403-forbidden error ...
Restarting http server ...
killall: lighttpd: no process killed
Collected errors:
 * pkg_run_script: package "toonstore" preinst script returned status 1.
 * preinst_configure: Aborting installation of toonstore.
 * opkg_install_cmd: Cannot install package toonstore.
FIXING: Now installing latest busybox mod. This is necessary to enable console output again which is disabled in 4.10 by Eneco.
Installing custom busybox to replace the native busybox from Eneco so we have a working getty.
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/busybox-1.27.2-r4/busybox_1.27.2-r4_qb2.ipk.
Upgrading busybox on root from 1.27.2-r1 to 1.27.2-r4...
Configuring busybox.
ln: /usr/sbin/i2cget: File exists
ln: /usr/sbin/i2cset: File exists
ln: /usr/sbin/i2cdump: File exists
ln: /usr/sbin/i2cdetect: File exists
update-alternatives: Linking //usr/bin/ar to ../../bin/busybox
update-alternatives: Linking //bin/gunzip to busybox
update-alternatives: Linking //bin/zcat to busybox
update-alternatives: Linking //usr/bin/bunzip2 to ../../bin/busybox
update-alternatives: Linking //usr/bin/bzcat to ../../bin/busybox
update-alternatives: Linking //usr/bin/lzcat to ../../bin/busybox
update-alternatives: Linking //usr/bin/lzma to ../../bin/busybox
update-alternatives: Linking //usr/bin/unxz to ../../bin/busybox
update-alternatives: Linking //usr/bin/xzcat to ../../bin/busybox
update-alternatives: Linking //usr/bin/xz to ../../bin/busybox
update-alternatives: Linking //bin/cpio to busybox
update-alternatives: Linking //bin/gzip to busybox
update-alternatives: Linking //bin/lzop to busybox
update-alternatives: Linking //usr/bin/unlzop to ../../bin/busybox
update-alternatives: Linking //usr/bin/lzopcat to ../../bin/busybox
update-alternatives: Linking //bin/tar to busybox
update-alternatives: Linking //usr/bin/unzip to ../../bin/busybox
update-alternatives: Linking //usr/bin/chvt to ../../bin/busybox
update-alternatives: Linking //usr/bin/clear to ../../bin/busybox
update-alternatives: Linking //usr/bin/deallocvt to ../../bin/busybox
update-alternatives: Linking //bin/dumpkmap to busybox
update-alternatives: Linking //usr/bin/fgconsole to ../../bin/busybox
update-alternatives: Linking //bin/kbd_mode to busybox
update-alternatives: Linking //usr/sbin/loadfont to ../../bin/busybox
update-alternatives: Linking //usr/sbin/setfont to ../../bin/busybox
update-alternatives: Linking //sbin/loadkmap to ../bin/busybox
update-alternatives: Linking //usr/bin/openvt to ../../bin/busybox
update-alternatives: Linking //usr/bin/reset to ../../bin/busybox
update-alternatives: Linking //sbin/setconsole to ../bin/busybox
update-alternatives: Linking //usr/bin/showkey to ../../bin/busybox
update-alternatives: Linking //usr/bin/basename to ../../bin/busybox
update-alternatives: Linking //bin/cat to busybox
update-alternatives: Linking //bin/chgrp to busybox
update-alternatives: Linking //bin/chmod to busybox
update-alternatives: Linking //bin/chown to busybox
update-alternatives: Linking //usr/sbin/chroot to ../../bin/busybox
update-alternatives: Linking //bin/cp to busybox
update-alternatives: Linking //usr/bin/cut to ../../bin/busybox
update-alternatives: Linking //bin/date to busybox
update-alternatives: Linking //bin/dd to busybox
update-alternatives: Linking //bin/df to busybox
update-alternatives: Linking //usr/bin/dirname to ../../bin/busybox
update-alternatives: Linking //usr/bin/dos2unix to ../../bin/busybox
update-alternatives: Linking //usr/bin/unix2dos to ../../bin/busybox
update-alternatives: Linking //usr/bin/du to ../../bin/busybox
update-alternatives: Linking //bin/echo to busybox
update-alternatives: Linking //usr/bin/env to ../../bin/busybox
update-alternatives: Linking //usr/bin/expr to ../../bin/busybox
update-alternatives: Linking //usr/bin/factor to ../../bin/busybox
update-alternatives: Linking //bin/false to busybox
update-alternatives: Linking //bin/fsync to busybox
update-alternatives: Linking //usr/bin/head to ../../bin/busybox
update-alternatives: Linking //usr/bin/groups to ../../bin/busybox
update-alternatives: Linking //usr/bin/id to ../../bin/busybox
update-alternatives: Linking //bin/link to busybox
update-alternatives: Linking //bin/ln to busybox
update-alternatives: Linking //usr/bin/logname to ../../bin/busybox
update-alternatives: Linking //bin/ls to busybox
update-alternatives: Linking //usr/bin/md5sum to ../../bin/busybox
update-alternatives: Linking //usr/bin/sha3sum to ../../bin/busybox
update-alternatives: Linking //usr/bin/sha256sum to ../../bin/busybox
update-alternatives: Linking //usr/bin/sha512sum to ../../bin/busybox
update-alternatives: Linking //bin/mkdir to busybox
update-alternatives: Linking //usr/bin/mkfifo to ../../bin/busybox
update-alternatives: Linking //bin/mknod to busybox
update-alternatives: Linking //bin/mktemp to busybox
update-alternatives: Linking //bin/mv to busybox
update-alternatives: Linking //bin/nice to busybox
update-alternatives: Linking //usr/bin/nl to ../../bin/busybox
update-alternatives: Linking //usr/bin/nohup to ../../bin/busybox
update-alternatives: Linking //usr/bin/nproc to ../../bin/busybox
update-alternatives: Linking //usr/bin/od to ../../bin/busybox
update-alternatives: Linking //usr/bin/paste to ../../bin/busybox
update-alternatives: Linking //usr/bin/printf to ../../bin/busybox
update-alternatives: Linking //bin/pwd to busybox
update-alternatives: Linking //usr/bin/readlink to ../../bin/busybox
update-alternatives: Linking //usr/bin/realpath to ../../bin/busybox
update-alternatives: Linking //bin/rm to busybox
update-alternatives: Linking //bin/rmdir to busybox
update-alternatives: Linking //usr/bin/seq to ../../bin/busybox
update-alternatives: Linking //usr/bin/shred to ../../bin/busybox
update-alternatives: Linking //usr/bin/shuf to ../../bin/busybox
update-alternatives: Linking //bin/sleep to busybox
update-alternatives: Linking //usr/bin/sort to ../../bin/busybox
update-alternatives: Linking //bin/stty to busybox
update-alternatives: Linking //bin/sync to busybox
update-alternatives: Linking //usr/bin/tail to ../../bin/busybox
update-alternatives: Linking //usr/bin/tee to ../../bin/busybox
update-alternatives: Linking //usr/bin/test to ../../bin/busybox
update-alternatives: Linking //usr/bin/[ to ../../bin/busybox
update-alternatives: Linking //usr/bin/[[ to ../../bin/busybox
update-alternatives: Linking //usr/bin/timeout to ../../bin/busybox
update-alternatives: Linking //bin/touch to busybox
update-alternatives: Linking //usr/bin/tr to ../../bin/busybox
update-alternatives: Linking //bin/true to busybox
update-alternatives: Linking //usr/bin/truncate to ../../bin/busybox
update-alternatives: Linking //usr/bin/tty to ../../bin/busybox
update-alternatives: Linking //bin/uname to busybox
update-alternatives: Linking //usr/bin/uniq to ../../bin/busybox
update-alternatives: Linking //usr/bin/unlink to ../../bin/busybox
update-alternatives: Linking //bin/usleep to busybox
update-alternatives: Linking //usr/bin/uudecode to ../../bin/busybox
update-alternatives: Linking //bin/base64 to busybox
update-alternatives: Linking //usr/bin/uuencode to ../../bin/busybox
update-alternatives: Linking //usr/bin/wc to ../../bin/busybox
update-alternatives: Linking //usr/bin/who to ../../bin/busybox
update-alternatives: Linking //usr/bin/whoami to ../../bin/busybox
update-alternatives: Linking //usr/bin/yes to ../../bin/busybox
update-alternatives: Linking //bin/run-parts to busybox
update-alternatives: Linking //sbin/start-stop-daemon to ../bin/busybox
update-alternatives: Linking //usr/bin/which to ../../bin/busybox
update-alternatives: Linking //bin/chattr to busybox
update-alternatives: Linking //sbin/fsck to ../bin/busybox
update-alternatives: Linking //usr/bin/awk to ../../bin/busybox
update-alternatives: Linking //usr/bin/cmp to ../../bin/busybox
update-alternatives: Linking //usr/bin/diff to ../../bin/busybox
update-alternatives: Linking //usr/bin/patch to ../../bin/busybox
update-alternatives: Linking //bin/sed to busybox
update-alternatives: Linking //bin/vi to busybox
update-alternatives: Linking //usr/bin/find to ../../bin/busybox
update-alternatives: Linking //bin/grep to busybox
update-alternatives: Linking //bin/egrep to busybox
update-alternatives: Linking //bin/fgrep to busybox
update-alternatives: Linking //usr/bin/xargs to ../../bin/busybox
update-alternatives: Linking //sbin/bootchartd to ../bin/busybox
update-alternatives: Linking //sbin/halt to halt.sysvinit
update-alternatives: Linking //sbin/poweroff to poweroff.sysvinit
update-alternatives: Linking //sbin/reboot to reboot.sysvinit
update-alternatives: Linking //sbin/init to /sbin/init.sysvinit
update-alternatives: Linking //linuxrc to /bin/busybox
update-alternatives: Error: cannot register alternative addgroup to /usr/sbin/addgroup since it is already registered to /bin/addgroup
update-alternatives: Error: cannot register alternative adduser to /usr/sbin/adduser since it is already registered to /bin/adduser
update-alternatives: Linking //usr/sbin/chpasswd to ../../bin/busybox
update-alternatives: Linking //usr/bin/cryptpw to ../../bin/busybox
update-alternatives: Linking //usr/bin/mkpasswd to ../../bin/busybox
update-alternatives: Error: cannot register alternative deluser to /usr/sbin/deluser since it is already registered to /bin/deluser
update-alternatives: Error: cannot register alternative delgroup to /usr/sbin/delgroup since it is already registered to /bin/delgroup
update-alternatives: Linking //sbin/getty to ../bin/busybox
update-alternatives: Linking //bin/login to busybox
update-alternatives: Linking //usr/bin/passwd to ../../bin/busybox
update-alternatives: Linking //bin/su to busybox
update-alternatives: Linking //sbin/sulogin to ../bin/busybox
update-alternatives: Linking //usr/bin/vlock to ../../bin/busybox
update-alternatives: Linking //usr/bin/beep to ../../bin/busybox
update-alternatives: Linking //bin/conspy to busybox
update-alternatives: Linking //usr/bin/dc to ../../bin/busybox
update-alternatives: Linking //sbin/fbsplash to ../bin/busybox
update-alternatives: Error: not linking //usr/sbin/i2cget to ../../bin/busybox since //usr/sbin/i2cget exists and is not a link
update-alternatives: Error: not linking //usr/sbin/i2cset to ../../bin/busybox since //usr/sbin/i2cset exists and is not a link
update-alternatives: Error: not linking //usr/sbin/i2cdump to ../../bin/busybox since //usr/sbin/i2cdump exists and is not a link
update-alternatives: Error: not linking //usr/sbin/i2cdetect to ../../bin/busybox since //usr/sbin/i2cdetect exists and is not a link
update-alternatives: Linking //usr/bin/less to /usr/bin/less.less
update-alternatives: Linking //usr/bin/lsscsi to ../../bin/busybox
update-alternatives: Linking //sbin/makedevs to /sbin/makedevs.makedevs
update-alternatives: Linking //usr/bin/microcom to ../../bin/busybox
update-alternatives: Linking //usr/sbin/partprobe to ../../bin/busybox
update-alternatives: Linking //bin/setserial to busybox
update-alternatives: Linking //usr/bin/strings to ../../bin/busybox
update-alternatives: Linking //usr/bin/time to ../../bin/busybox
update-alternatives: Linking //usr/sbin/ubiattach to ../../bin/busybox
update-alternatives: Linking //usr/sbin/ubidetach to ../../bin/busybox
update-alternatives: Linking //usr/sbin/ubimkvol to ../../bin/busybox
update-alternatives: Linking //usr/sbin/ubirmvol to ../../bin/busybox
update-alternatives: Linking //usr/sbin/ubirsvol to ../../bin/busybox
update-alternatives: Linking //usr/sbin/ubiupdatevol to ../../bin/busybox
update-alternatives: Linking //usr/sbin/ubirename to ../../bin/busybox
update-alternatives: Linking //usr/bin/volname to ../../bin/busybox
update-alternatives: Linking //sbin/modinfo to /sbin/modinfo.26
update-alternatives: Linking //usr/sbin/ftpd to ../../bin/busybox
update-alternatives: Linking //bin/dnsdomainname to busybox
update-alternatives: Linking //bin/hostname to busybox
update-alternatives: Linking //sbin/ifconfig to ../bin/busybox
update-alternatives: Error: cannot register alternative ifplugd to /usr/sbin/ifplugd since it is already registered to /usr/bin/ifplugd
update-alternatives: Linking //sbin/ifup to ../bin/busybox
update-alternatives: Linking //sbin/ifdown to ../bin/busybox
update-alternatives: Error: cannot register alternative ip to /sbin/ip since it is already registered to /bin/ip
update-alternatives: Linking //sbin/ipneigh to ../bin/busybox
update-alternatives: Linking //usr/sbin/nbd-client to ../../bin/busybox
update-alternatives: Linking //usr/bin/nc to ../../bin/busybox
update-alternatives: Linking //bin/netstat to busybox
update-alternatives: Linking //usr/bin/nslookup to ../../bin/busybox
update-alternatives: Linking //usr/sbin/ntpd to ../../bin/busybox
update-alternatives: Linking //bin/ping to busybox
update-alternatives: Linking //bin/ping6 to busybox
update-alternatives: Linking //usr/bin/pscan to ../../bin/busybox
update-alternatives: Linking //sbin/route to ../bin/busybox
update-alternatives: Linking //usr/bin/ssl_client to ../../bin/busybox
update-alternatives: Linking //usr/bin/telnet to ../../bin/busybox
update-alternatives: Linking //usr/bin/tftp to ../../bin/busybox
update-alternatives: Linking //usr/bin/traceroute to ../../bin/busybox
update-alternatives: Linking //usr/bin/traceroute6 to ../../bin/busybox
update-alternatives: Linking //sbin/tunctl to ../bin/busybox
update-alternatives: Linking //usr/bin/whois to ../../bin/busybox
update-alternatives: Linking //usr/bin/free to ../../bin/busybox
update-alternatives: Linking //usr/bin/fuser to ../../bin/busybox
update-alternatives: Linking //bin/iostat to busybox
update-alternatives: Linking //bin/kill to busybox
update-alternatives: Linking //usr/bin/killall to ../../bin/busybox
update-alternatives: Linking //usr/bin/lsof to ../../bin/busybox
update-alternatives: Linking //bin/mpstat to busybox
update-alternatives: Linking //usr/bin/pgrep to ../../bin/busybox
update-alternatives: Linking //usr/bin/pkill to ../../bin/busybox
update-alternatives: Linking //bin/pidof to pidof.sysvinit
update-alternatives: Linking //usr/bin/pmap to ../../bin/busybox
update-alternatives: Error: cannot register alternative powertop to /usr/sbin/powertop since it is already registered to /bin/powertop
update-alternatives: Linking //bin/ps to busybox
update-alternatives: Linking //usr/bin/pstree to ../../bin/busybox
update-alternatives: Linking //usr/bin/pwdx to ../../bin/busybox
update-alternatives: Linking //usr/bin/smemcap to ../../bin/busybox
update-alternatives: Linking //sbin/sysctl to ../bin/busybox
update-alternatives: Linking //usr/bin/top to ../../bin/busybox
update-alternatives: Linking //usr/bin/uptime to ../../bin/busybox
update-alternatives: Linking //bin/watch to busybox
update-alternatives: Linking //usr/bin/svc to ../../bin/busybox
update-alternatives: Linking //bin/ash to busybox
update-alternatives: Linking //bin/sh to busybox
update-alternatives: Linking //bin/bash to busybox
update-alternatives: Linking //sbin/klogd to ../bin/busybox
update-alternatives: Linking //usr/bin/logger to ../../bin/busybox
update-alternatives: Linking //sbin/logread to ../bin/busybox
update-alternatives: Linking //sbin/syslogd to ../bin/busybox
update-alternatives: Linking //sbin/acpid to ../bin/busybox
update-alternatives: Linking //sbin/blkid to ../bin/busybox
update-alternatives: Linking //sbin/blockdev to ../bin/busybox
update-alternatives: Linking //bin/dmesg to busybox
update-alternatives: Linking //usr/bin/fallocate to ../../bin/busybox
update-alternatives: Linking //bin/fatattr to busybox
update-alternatives: Linking //usr/sbin/fbset to ../../bin/busybox
update-alternatives: Linking //sbin/fdisk to ../bin/busybox
update-alternatives: Linking //usr/bin/flock to ../../bin/busybox
update-alternatives: Linking //sbin/freeramdisk to ../bin/busybox
update-alternatives: Linking //sbin/fsck.minix to ../bin/busybox
update-alternatives: Linking //usr/sbin/fsfreeze to ../../bin/busybox
update-alternatives: Linking //sbin/fstrim to ../bin/busybox
update-alternatives: Linking //bin/getopt to busybox
update-alternatives: Linking //usr/bin/hexdump to ../../bin/busybox
update-alternatives: Linking //usr/bin/xxd to ../../bin/busybox
update-alternatives: Linking //sbin/hwclock to ../bin/busybox
update-alternatives: Linking //bin/ionice to busybox
update-alternatives: Linking //usr/bin/last to last.sysvinit
update-alternatives: Linking //sbin/losetup to ../bin/busybox
update-alternatives: Linking //usr/bin/lspci to ../../bin/busybox
update-alternatives: Linking //usr/bin/lsusb to ../../bin/busybox
update-alternatives: Linking //sbin/mdev to ../bin/busybox
update-alternatives: Linking //sbin/mke2fs to ../bin/busybox
update-alternatives: Linking //sbin/mkfs.ext2 to ../bin/busybox
update-alternatives: Linking //sbin/mkfs.minix to ../bin/busybox
update-alternatives: Linking //sbin/mkdosfs to ../bin/busybox
update-alternatives: Linking //sbin/mkfs.vfat to ../bin/busybox
update-alternatives: Linking //sbin/mkswap to ../bin/busybox
update-alternatives: Linking //bin/more to busybox
update-alternatives: Linking //bin/mount to busybox
update-alternatives: Linking //sbin/pivot_root to ../bin/busybox
update-alternatives: Linking //usr/sbin/rdate to ../../bin/busybox
update-alternatives: Linking //usr/sbin/rdev to ../../bin/busybox
update-alternatives: Linking //usr/sbin/readprofile to ../../bin/busybox
update-alternatives: Linking //usr/bin/renice to ../../bin/busybox
update-alternatives: Linking //bin/rev to busybox
update-alternatives: Error: cannot register alternative rtcwake to /usr/sbin/rtcwake since it is already registered to /usr/bin/rtcwake
update-alternatives: Linking //bin/scriptreplay to busybox
update-alternatives: Linking //bin/linux32 to busybox
update-alternatives: Linking //bin/linux64 to busybox
update-alternatives: Linking //bin/setpriv to busybox
update-alternatives: Linking //sbin/swapon to ../bin/busybox
update-alternatives: Linking //sbin/swapoff to ../bin/busybox
update-alternatives: Linking //sbin/switch_root to ../bin/busybox
update-alternatives: Linking //sbin/uevent to ../bin/busybox
update-alternatives: Linking //bin/umount to busybox
update-alternatives: Linking //usr/bin/unshare to ../../bin/busybox
update-alternatives: Linking //usr/bin/wall to wall.sysvinit
update-alternatives: Linking //sbin/udhcpc to ../bin/busybox
update-alternatives: Linking //usr/sbin/udhcpd to ../../bin/busybox
update-alternatives: Linking //usr/sbin/dhcprelay to ../../bin/busybox
update-alternatives: Linking //usr/bin/dumpleases to ../../bin/busybox
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/busybox-1.27.2-r4/busybox-mountall_1.27.2-r4_qb2.ipk.
Upgrading busybox-mountall on root from 1.27.2-r1 to 1.27.2-r4...
Configuring busybox-mountall.
update-alternatives: Linking //etc/default/mountall to mountall.busybox
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/busybox-1.27.2-r4/busybox-syslog_1.27.2-r4_qb2.ipk.
Upgrading busybox-syslog on root from 1.27.2-r1 to 1.27.2-r4...
Configuring busybox-syslog.
update-alternatives: Linking //etc/init.d/syslog to syslog.busybox
update-rc.d: /etc/init.d/syslog exists during rc.d purge (continuing)
 Removing any system startup links for syslog ...
  /etc/rc0.d/K90syslog
  /etc/rc1.d/K90syslog
  /etc/rc2.d/S20syslog
  /etc/rc3.d/S20syslog
  /etc/rc4.d/S20syslog
  /etc/rc5.d/S20syslog
  /etc/rc6.d/K90syslog
 Adding system startup for /etc/init.d/syslog.
Everything done! You should reboot now! But before that take some time to check if your /etc/passwd file is still valid (contains encrypted password for user root) and if /etc/default/iptables.conf is not blocking SSH access.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

How did you check that the service center is still up? Do you mean from the Toon screen? If yes, that is just because it is being faked by the modifications in the 'fixing files' part of the script ;)
Member of the Toon Software Collective
jossie67
Starting Member
Starting Member
Posts: 16
Joined: Mon Apr 02, 2018 3:57 pm

Re: Toon firmware - update script

Post by jossie67 »

Many thanks for TheHogNL for helping me.

Yesterday evening after the TheHogNL had tried to fix my Zwave module and a reboot Toon installed and update by it self


Toon started to reboot by it self every 5 to 10 min

This morning I found out that the zwave antenne a was connected to the wrong connector, I did it after rooting Toon

After I fixed the antenne I could connect to my energie meter


The freezes are coming back very often and I had to press the reset button to restart Toon.
I did a factory reset and connected to my wifi network know I have als to register Toon to Eneco , I do have root access , and Toon keept freezes every 4 or 5 min, after restarting

Toon had lost the wifi setting after restarting and could not even find anyother wifi network

I did an other factory reset and start all over. With the same result,

Finaly I did a factory reset, didn't configure Toon and now it still up and running whitout any freezes

Can I go back to a previous firmware, not beta?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Downgrading is possible but very hard to do. I haven't done it yet. I'm running the same version as you also so I don't think that versions is wrong (Eneco already pushes them to the early adaptors).

Try to remove some addons/apps from the Globals.qml. Check with 'free' how much memory you have free. At least a few 5 to 10 MB should be free for a good running Toon.
Maybe you can also disable some standard apps, like weather etc.
Member of the Toon Software Collective
gielie
Member
Member
Posts: 70
Joined: Thu Nov 02, 2017 11:06 am

Re: Toon firmware - update script

Post by gielie »

TheHogNL wrote:How did you check that the service center is still up? Do you mean from the Toon screen? If yes, that is just because it is being faked by the modifications in the 'fixing files' part of the script ;)
Yes from the Toon screen, nicely done, wasn’t aware of this trick. Everything’s running great thanks a lot for the script.
jossie67
Starting Member
Starting Member
Posts: 16
Joined: Mon Apr 02, 2018 3:57 pm

Re: Toon firmware - update script

Post by jossie67 »

TheHogNL wrote:Downgrading is possible but very hard to do. I haven't done it yet. I'm running the same version as you also so I don't think that versions is wrong (Eneco already pushes them to the early adaptors).

Try to remove some addons/apps from the Globals.qml. Check with 'free' how much memory you have free. At least a few 5 to 10 MB should be free for a good running Toon.
Maybe you can also disable some standard apps, like weather etc.
Thanks, I will delete the app when connected to the Lan cable
jumperone
Starting Member
Starting Member
Posts: 17
Joined: Mon Apr 02, 2018 3:23 pm

Re: Toon firmware - update script

Post by jumperone »

I have updated Toon with the sw. 2.7 and that without problems.
If you do everything via the Marcelr manuel (works and stay away everywhere)and the advice of Thehognl then follows 2.3 after 2.9.26.than 4.10.6 then 4.13.7 works all 100%
I have the toon with Version: 2.0 - ThehogNL - 24-3-2018 upgrade from version 2.9.26 upgrade to 4.10.6. Update failled / Bus error

OPKG Do Not Work / Bus error / orange screen with 2 points.
What can I do
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Hi all,

Eneco launched version 4.15.6 (see https://forum.toon.nl/software-updates- ... ndex1.html)

I have already tested it on my own Toon and it seems to run fine. The update script worked without any problem (used the newest version on github or else you will receive a warning that the eneco script is changed).
Member of the Toon Software Collective
User avatar
madpatrick
Member
Member
Posts: 104
Joined: Wed Dec 06, 2017 9:52 pm
Location: Zuid-Holland

Re: Toon firmware - update script

Post by madpatrick »

Today i've updated my Toon 4.9.23 to 4.10.6 to 4.15.6 (latest version) succesfully.
Thanks for the great script !
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Toon firmware - update script

Post by Ierlandfan »

Today i've updated my Toon 4.13.7 to 4.10.6 to 4.15.6 (latest version) by official way.
Toon stayed black after starting up. SSH access stil there so nothing is lost.
Log:

Code: Select all

>> 2018-04-27 18:32:48 +0000 (pid 4375) _opkg.qb2-uni-4.15.6.script.sh

>> 2018-04-27 18:32:49 +0000 (pid 4375)
>> Unknown ACTION arg! Aborting.
>> 2018-04-27 18:32:49 +0000 (pid 4375) -error-unknown-action 'Unknown ACTION arg! Aborting.
'
No hcb_XXX stuff is started hence the black screen since the gui isn't started as well.

My plan is to reinstall and watch what happens but the script doesn't allows for a reinstall since it thinks the version installed is already the latest.
Any pointers to a modification of the script so I can reinstall?
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Toon firmware - update script

Post by Ierlandfan »

Well, I just disabled exit in the script so it doesn't quit. Then I found out that the openvpn service wasn't started so I edited that out and manually started the service. Ifconfig shows Tap0 is now present, ps -f show it's up route shows the right route but I cannot download from the servers...hmm...
Edit: It's just slow as hell..I was just being impatient on the opkg...probably overloaded or so.
Edit..

Code: Select all

 * opkg_download: Failed to download http://feed.hae.int/feeds/qb2/oe/2.6.36-R10-h27-no6/Packages.sig: Couldn't connect to server.
Not sure what;s wrong atm but will try tomorrow.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

The hcb_stuff isn't responsible for the screen. QT-gui is. So check why qt-gui isn't starting.
hcb_stuff should start also ofcourse, so there is something wrong there. Is your toons disk full maybe?

A reinstall is not really the correct term as every update is just a update on top of another update etc. However if you want to try to run the update for the same version again try with the -v 4.15.6 option. That will skip any version check and just run the update to the version you specify (use with caution ofcourse).
Member of the Toon Software Collective
Smiggel
Member
Member
Posts: 57
Joined: Wed Apr 11, 2018 2:20 pm

Re: Toon firmware - update script

Post by Smiggel »

I run version 3.3.8 right now. What Would be the best version to upgrade to from here? 4.10.6?
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Toon firmware - update script

Post by Ierlandfan »

Can someone on 4.15.6 do a opkg list-installed and paste the output here or via DM?
I want to crosscheck something.
jnieuw
Starting Member
Starting Member
Posts: 43
Joined: Fri Oct 13, 2017 2:41 pm

Re: Toon firmware - update script

Post by jnieuw »

edit: was on 4.15.2 here is the 4.15.6 list:

Code: Select all

base-files - 3.0.14-r100
base-passwd - 3.5.20-r1
base-qb2-uni - 4.15.6-1228-0
boot-logos - 1.71
buienradar - 8.3.4-r0
busybox - 1.27.2-r4
busybox-mountall - 1.27.2-r4
busybox-syslog - 1.27.2-r4
ca-certificates - 20160104-r1
chrony - 1.27-r1
cron - 3.0pl1-r8
curl - 7.50.0-r0
directfb - 1.2.8-r1.0
dropbear - 2015.71-r0
firmware-ba - 1.47-master
firmware-ma - 1.128-master
firmware-zwave-ctrlr - 1.8-4.55-NrNfNm-noeep
freetype - 2.4.3-r1
gettext - 0.18-r5
glibc - 2.10.1-r37.1
glibc-binary-localedata-de-de - 2.10.1-r37.1
glibc-binary-localedata-en-gb - 2.10.1-r37.1
glibc-binary-localedata-en-us - 2.10.1-r37.1
glibc-binary-localedata-es-es - 2.10.1-r37.1
glibc-binary-localedata-fr-fr - 2.10.1-r37.1
glibc-binary-localedata-it-it - 2.10.1-r37.1
glibc-binary-localedata-nl-nl - 2.10.1-r37.1
glibc-gconv - 2.10.1-r37.1
glibc-gconv-iso8859-1 - 2.10.1-r37.1
glibc-localedata-i18n - 2.10.1-r37.1
glibc-localedata-iso14651-t1 - 2.10.1-r37.1
glibc-localedata-iso14651-t1-common - 2.10.1-r37.1
glibc-localedata-translit-circle - 2.10.1-r37.1
glibc-localedata-translit-cjk-compat - 2.10.1-r37.1
glibc-localedata-translit-compat - 2.10.1-r37.1
glibc-localedata-translit-font - 2.10.1-r37.1
glibc-localedata-translit-fraction - 2.10.1-r37.1
glibc-localedata-translit-narrow - 2.10.1-r37.1
glibc-localedata-translit-neutral - 2.10.1-r37.1
glibc-localedata-translit-small - 2.10.1-r37.1
glibc-localedata-translit-wide - 2.10.1-r37.1
glibc-patch-dns - 2.10.1-r37.2
gnupg - 1.4.10-r3
gnutls - 2.10.4-r11.0
gpgme - 1.1.4-r5
gpgv - 1.4.10-r3
happ-eventmgr - 1.214-master
happ-kpi - 1.453-master
happ-pwrusage - 1.686-master
happ-scsync - 1.275-master
happ-smartplug - 1.222-master
happ-thermstat - 1.2024-master
happ-usermsg - 1.93-master
happ-weather - 1.166-master
hcb-bxtproxy - 1.363-master
hcb-comm - 1.187-N-master
hcb-config - 1.356-master
hcb-log - 1.88-master
hcb-netcon - 1.384-master
hcb-rrd - 2.159-master
hcb-watchdog - 1.79-master
hdrv-hue - 1.259-master
hdrv-p1 - 1.843-master
hdrv-zwave - 1.1426-master
i2c-tools - 3.0.3-r0
initscripts - 1.2-r6-runlvls
iptables - 1.4.9.1-r7.1
jansson - 1.3-r1.0
joe - 3.1-r3
jpeg - 8b-r1
kernel - 2.6.36-R10-h27
kernel-image - 2.6.36-R10-h27
kernel-module-fat - 2.6.36-R10-h27
kernel-module-ftdi-sio - 2.6.36-R10-h27
kernel-module-msdos - 2.6.36-R10-h27
kernel-module-pl2303 - 2.6.36-R10-h27
kernel-module-rt5370sta - 2.6.36-R10-h27
kernel-module-rt5370sta-cfg - 2.6.36-R10-h27
kernel-module-rtl8191su - 2.6.36-R10-h27
kernel-module-vfat - 2.6.36-R10-h27
kernel-module-zwave300 - 2.6.36-R10-h27
less - 436-r1
libbz2 - 1.0.6-r0
libcrypto - 0.9.8m-r14.1
libcrypto1.0.0 - 1.0.2h-r2
libcurl - 7.50.0-r0
libgcc - 4.5-r33.1+svnr170443
libgcrypt - 1.4.1-r0
libgettextlib - 0.18-r5
libgettextsrc - 0.18-r5
libgpg-error - 1.4-r7.1
libhcb-base - 1.332-master
libhcb-boxtalk - 1.129-master
libhcb-com - 1.132-N-master
libhcb-drv - 1.358-master
libhcb-xml - 1.121-master
libjansson4 - 2.10-r1.0
libnetfilter-conntrack - 0.0.101-r0
libnfnetlink - 1.0.0-r0.0
libopkg - 0.1.8+svns635-r7-gcv
libpng12 - 1.2.44-r3.0
libssl - 0.9.8m-r14.1
libssl1.0.0 - 1.0.2h-r2
libstdc++ - 4.5-r33.1+svnr170443
libsysfs - 2.1.0-r3
libuuid - 2.18-r36.0
lighttpd - 1.4.33-28
lighttpd-mod-hcb-web - 1.4.33-26
locale-base-de-de - 2.10.1-r37.1
locale-base-en-gb - 2.10.1-r37.1
locale-base-en-us - 2.10.1-r37.1
locale-base-es-es - 2.10.1-r37.1
locale-base-fr-fr - 2.10.1-r37.1
locale-base-it-it - 2.10.1-r37.1
locale-base-nl-nl - 2.10.1-r37.1
lzo - 1.08-r15
makedevs - 1.0.0-r10
module-init-tools - 3.12-r6
module-init-tools-depmod - 3.12-r6
modutils-initscripts - 1.0-r3
mtd-utils - 1.4.1-r0
ncurses - 5.7+20110115-r16
ncurses-libncurses - 5.7+20110115-r16
ncurses-libtinfo - 5.7+20110115-r16
ncurses-terminfo - 5.7+20110115-r16
ncurses-terminfo-base - 5.7+20110115-r16
netbase - 4.21-r50
openssh-sftp-server - 7.3p1-r10.0
openssl - 1.0.2h-r3
openssl-conf - 1.0.2h-r3
openvpn - 2.3.11-r1
opkg - 0.1.8+svns635-r7-gcv
opkg-collateral - 1.0-r3
pointercal - 0.0-r22
pth - 2.0.2-r2
qmf-0 - 1.19-master-r0
qmf-tenantize - 1.0-r0-ab4834f1e5212d2f8635adbba46e23d926432a9a
qt-gui - 1.8425-master
qt-libs - 5.3.1-06-setpos
qttools-tools-lrelease - 5.3.1-21-add-x-tools
readline - 5.2-r8
samba-nmbd - 3.0.20-r8
sysvinit - 2.86-r63
sysvinit-inittab - 2.86-r63
sysvinit-pidof - 2.86-r63
sysvinit-utils - 2.86-r63
tenant-eneco-nl - 1.59-master
tsc-certificates - 1.0.1-r0
tslib - 1.0-r28.7hae
tslib-calibrate - 1.0-r28.7hae
tslib-conf - 1.0-r28.7hae
tzdata-americas - 2011b-r8.0
tzdata-europe - 2011b-r8.0
update-modules - 1.0-r10
update-rc.d - 0.7-r2
wastecollection - 3.8-r0
wget - 1.12-r8.3
wireless-tools - 29-r5
wpa-supplicant - 2.6-r0
wpa-supplicant-cli - 2.6-r0
wpa-supplicant-passphrase - 2.6-r0
www-jquery-ui - 1.8.21-16
www-resources - 1.38-master
x11vnc - 0.9.13-r3
zlib - 1.2.3-r7.0
Post Reply

Return to “Toon Firmware”