Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon firmware - update script

Post by PeJeWe »

Which version do you want to upgrade to?
5.5.7
Alright, I will try to upgrade to 5.5.7
Now starting the VPN tunnel and waiting for it to be alive and configured...
./update-rooted.sh: line 898: /usr/sbin/openvpn: not found
Now starting the VPN tunnel and waiting for it to be alive and configured...
./update-rooted.sh: line 898: /usr/sbin/openvpn: not found
Now starting the VPN tunnel and waiting for it to be alive and configured...
./update-rooted.sh: line 898: /usr/sbin/openvpn: not found
Now starting the VPN tunnel and waiting for it to be alive and configured...
./update-rooted.sh: line 898: /usr/sbin/openvpn: not found
Now starting the VPN tunnel and waiting for it to be alive and configured...
./update-rooted.sh: line 898: /usr/sbin/openvpn: not found
Now starting the VPN tunnel and waiting for it to be alive and configured...
./update-rooted.sh: line 898: /usr/sbin/openvpn: not found
Could not enable VPN in a normal reasonable time!
DEBUG information:
192.168.***.***/24 dev wlan0 scope link src 192.168.***.***
default via 192.168.***.*** dev wlan0 metric 10
# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1 localhost.localdomain localhost eneco-001-******
127.0.0.1 feed.hae.int feed
127.0.0.1 ping.quby.nl
END DEBUG information
Quitting the upgrade. It was a nice try tho...
killall: openvpn: no process killed

it looks like my vpn is gone??
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware - update script

Post by marcelr »

You can always check if it's there:

Code: Select all

which openvpn
But by the looks of it, it has left the building ...
What FW version are you using now?
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon firmware - update script

Post by PeJeWe »

marcelr wrote:You can always check if it's there:

Code: Select all

which openvpn
But by the looks of it, it has left the building ...
What FW version are you using now?
i get no reaction with: which openvpn
I have 5.2.11 installed

can i reinstall openvpn?
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon firmware - update script

Post by mAiden »

Who root you're Toon? If it was Quby, they remove you're VPN.
Member of the Toon Software Collective
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon firmware - update script

Post by PeJeWe »

mAiden wrote:Who root you're Toon? If it was Quby, they remove you're VPN.
I have rooted nu toon.
And i think that i have removed openvpn.

opgk remove openvpn

Most of the directorys are stil there.

How can i reinstall openvpn
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Why did you remove it yourself?

Here
openvpn_2.3.11-r1_qb2.zip
(243.44 KiB) Downloaded 265 times
the latest ipk for openvpn for the toon 1 (qb2). You can install it with opkg install filename
Member of the Toon Software Collective
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon firmware - update script

Post by PeJeWe »

TheHogNL wrote:Why did you remove it yourself?
I thought I did not need to use it.
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

PeJeWe wrote:
TheHogNL wrote:Why did you remove it yourself?
I thought I did not need to use it.
I hope you didn't remove the files in /etc/openvpn which contain your VPN private key's. Without it it is impossible to connect the VPN to Eneco from your Toon.
Member of the Toon Software Collective
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon firmware - update script

Post by PeJeWe »

TheHogNL wrote:
PeJeWe wrote:
TheHogNL wrote:Why did you remove it yourself?
I thought I did not need to use it.
I hope you didn't remove the files in /etc/openvpn which contain your VPN private key's. Without it it is impossible to connect the VPN to Eneco from your Toon.
i did not remove them
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon firmware - update script

Post by PeJeWe »

I have succefully installed openvpn but now i get the next error:

Code: Select all

Which version do you want to upgrade to?
5.5.7
Alright, I will try to upgrade to 5.5.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:
192.168.1.0/24 dev wlan0 scope link  src 192.168.***.***
172.22.64.0/20 dev tap0 scope link  src 172.22.67.88
172.22.64.0/20 via 172.22.64.1 dev tap0  metric 1024
default via 192.168.***.*** dev wlan0  metric 10
# <persistent /etc/hosts content from /etc/hosts.template file>
# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1               localhost.localdomain           localhost               eneco-001-******
172.30.80.1             feed.hae.int            feed
127.0.0.1               ping.quby.nl
# </persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1               localhost.localdomain           localhost               eneco-001-******
172.22.64.1             feed.hae.int            feed
END DEBUG information
Quitting the upgrade. It was a nice try tho...
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Please remove all lines containing feed.hae.int in /etc/hosts (and /etc/hosts.template if that exists).
Member of the Toon Software Collective
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon firmware - update script

Post by PeJeWe »

TheHogNL wrote:Please remove all lines containing feed.hae.int in /etc/hosts (and /etc/hosts.template if that exists).
edit:

after a reboot, i ran the firmware update succefully :D
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Ok try to enter "127.0.0.1 feed.hae.int" into your hosts file.
somehow your VPN isn't modifying this hosts file entry when the VPN is started.

You could also just manually start the VPN and fill in the host entry your self (the subnet route into the VPN and then feed.hae.int should point to the .1 address).
Member of the Toon Software Collective
FunFair
Starting Member
Starting Member
Posts: 42
Joined: Sun Oct 01, 2017 11:40 am

Re: Toon firmware - update script

Post by FunFair »

I am trying to update to 5.5.7. First used TSC but it failed. Checked the log and getting this message.
After tunning the latest update script manually I get the same result.
Is it safe to continue?

Code: Select all

Which version do you want to upgrade to?
5.5.7
Alright, I will try to upgrade to 5.5.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.
Warning: upgrade script from Eneco server is changed. Do you want to continue downloading the files (if not sure, type no and report in the forums)?
Haven't seen this message before? Coming from firmware 5.2.11
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Ah ok Eneco changed their scripts again. Just checked and it is ok. I updated the update-rooted script to allow this (version 3.86 just published).
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”