Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TerrorSource, Toonz, TheHogNL

Re: Toon firmware - update script

Postby TheHogNL » Thu Jan 02, 2020 11:46 pm

mrgnex wrote:
TheHogNL wrote:
mrgnex wrote:what is the username? Putty asks me for one..)?


Commonplease.... you have ROOTed your toon.. so what should the username be...


Argh. I tried admin, user, nothing, Toon and even Eneco and nothing would work. In hindsight it is logical. Doh!
It worked flawlessly and I am updated! Thank you for your help. Onto installing the Toon Store!


For that, just read the rooting manual https://www.domoticaforum.eu/viewtopic. ... 235#p82533
(just run the update-rooted.sh script with option -f )
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1381
Joined: August 2017

Re: Toon firmware - update script

Postby estate » Tue Jan 14, 2020 2:19 pm

user mostly is: root
and pwd: toon

worked for me :)

mrgnex wrote:
TheHogNL wrote:That automatic rooting printed the password for you at the end of the process :) The whole idea of 'rooting a toon' is about having root acccess, so with a password :) How did you install toonstore and other stuff afterwards? With root password you can not install those.


I did not install those yet because I figured I'd update first. I redid the rooting process and made sure I have the right password. I used putty and the build in SSH in the Raspberry Pi. Both gave me an access denied (what is the username? Putty asks me for one..).
I made sure the Toon shows up in the router and the static IP is correct. I also made sure I was using port 22 (otherwise I do not even get the option to enter a password).
Why does it keep telling me access denied?
estate
Starting Member
Starting Member
 
Posts: 20
Joined: October 2019

Re: Toon firmware - update script

Postby Ierlandfan » Thu Jan 16, 2020 4:52 pm

NVM
Ierlandfan
Member
Member
 
Posts: 150
Joined: October 2013

Re: Toon firmware - update script

Postby iMars » Sat Jan 25, 2020 5:48 pm

Hi, I'd like to upgrade my toon, which is running on version 4.10.6.

I've downloaded the script, yet my VPN won't come up:
Code: Select all
toon:~# ./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: 4.16  - TheHogNL & TerrorSource & yjb - 25-12-2019

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

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

You are currently running version 4.10.6 on a qb2 with flavour ene

Available versions: 1.9.10 2.1.0 2.2.24 2.3.17 2.3.29 2.3.36 2.4.7 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.8.27 2.9.15 2.9.26 2.10.15 3.0.29 3.0.32 3.1.22 3.2.14 3.2.18 3.2.21 3.3.8 3.4.2 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.9.124 4.10.6 4.11.6 4.12.0 4.13.6 4.13.7 4.15.2 4.15.6 4.16.8 4.18.8 4.19.10 4.20.7 4.22.7 5.0.4 5.0.5 5.0.6 5.2.11 5.5.7 5.9.6 5.13.9 5.13.12 5.15.6 5.18.8

Which version do you want to upgrade to?
4.22.7
Alright, I will try to upgrade to 4.22.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...
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...
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...
Could not enable VPN in a normal reasonable time!
DEBUG information:
10.0.0.0/24 dev wlan0 scope link  src 10.0.0.18
default via 10.0.0.1 dev wlan0  metric 10
# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1      localhost.localdomain      localhost      toon
172.24.0.1      feed.hae.int      feed
END DEBUG information
Quitting the upgrade. It was a nice try tho...
toon:~# /usr/sbin/openvpn --config /etc/openvpn/vpn.conf
Sat Jan 25 16:24:34 2020 DEPRECATED OPTION: --tls-remote, please update your configuration
Sat Jan 25 16:24:34 2020 OpenVPN 2.3.11 arm-hae-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Nov 30 2016
Sat Jan 25 16:24:34 2020 library versions: OpenSSL 1.0.2h  3 May 2016, LZO 1.08
Sat Jan 25 16:24:34 2020 Control Channel Authentication: using '/etc/openvpn/vpn/ta.key' as a OpenVPN static key file
Sat Jan 25 16:24:34 2020 Attempting to establish TCP connection with [AF_INET]3.248.26.144:443 [nonblock]
Sat Jan 25 16:24:36 2020 TCP connection established with [AF_INET]3.248.26.144:443
Sat Jan 25 16:24:36 2020 TCPv4_CLIENT link local: [undef]
Sat Jan 25 16:24:36 2020 TCPv4_CLIENT link remote: [AF_INET]3.248.26.144:443
Sat Jan 25 16:24:38 2020 [VPN-Eneco] Peer Connection Initiated with [AF_INET]3.248.26.144:443
Sat Jan 25 16:24:41 2020 AUTH: Received control message: AUTH_FAILED
Sat Jan 25 16:24:41 2020 SIGTERM[soft,auth-failure] received, process exiting
toon:~#


I get an AUTH: Received control message: AUTH_FAILED

Even after reboot, I get the same results. Anybody knows how to fix this VPN issue?
User avatar
iMars
Starting Member
Starting Member
 
Posts: 17
Joined: November 2015

Re: Toon firmware - update script

Postby TheHogNL » Sat Jan 25, 2020 6:43 pm

iMars wrote:Hi, I'd like to upgrade my toon, which is running on version 4.10.6.

I get an AUTH: Received control message: AUTH_FAILED

Even after reboot, I get the same results. Anybody knows how to fix this VPN issue?


It seems that your VPN key is invalidated bij Eneco/Quby. You will need to get a new key from a donor Toon. I you contact me in a PM I am happy to sell you a key from a broken Toon (so not used anymore).
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1381
Joined: August 2017

Previous

Return to Toon Firmware

Who is online

Users browsing this forum: No registered users and 1 guest