Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Toon firmware - update script

Postby PeJeWe » Wed May 15, 2019 8:27 pm

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??
PeJeWe
Starting Member
Starting Member
 
Posts: 12
Joined: April 2019

Re: Toon firmware - update script

Postby marcelr » Wed May 15, 2019 9:15 pm

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?
marcelr
Global Moderator
Global Moderator
 
Posts: 1050
Joined: May 2012
Location: Ehv

Re: Toon firmware - update script

Postby PeJeWe » Wed May 15, 2019 9:29 pm

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?
PeJeWe
Starting Member
Starting Member
 
Posts: 12
Joined: April 2019

Re: Toon firmware - update script

Postby mAiden » Thu May 16, 2019 7:10 am

Who root you're Toon? If it was Quby, they remove you're VPN.
mAiden
Member
Member
 
Posts: 207
Joined: July 2017

Re: Toon firmware - update script

Postby PeJeWe » Thu May 16, 2019 4:27 pm

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
PeJeWe
Starting Member
Starting Member
 
Posts: 12
Joined: April 2019

Re: Toon firmware - update script

Postby TheHogNL » Thu May 16, 2019 7:20 pm

Why did you remove it yourself?

Here
openvpn_2.3.11-r1_qb2.zip
(243.44 KiB) Downloaded 1 time
the latest ipk for openvpn for the toon 1 (qb2). You can install it with opkg install filename
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017

Re: Toon firmware - update script

Postby PeJeWe » Thu May 16, 2019 7:30 pm

TheHogNL wrote:Why did you remove it yourself?


I thought I did not need to use it.
PeJeWe
Starting Member
Starting Member
 
Posts: 12
Joined: April 2019

Re: Toon firmware - update script

Postby TheHogNL » Thu May 16, 2019 7:39 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017

Re: Toon firmware - update script

Postby PeJeWe » Thu May 16, 2019 7:48 pm

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
PeJeWe
Starting Member
Starting Member
 
Posts: 12
Joined: April 2019

Re: Toon firmware - update script

Postby PeJeWe » Thu May 16, 2019 8:01 pm

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...
PeJeWe
Starting Member
Starting Member
 
Posts: 12
Joined: April 2019

Re: Toon firmware - update script

Postby TheHogNL » Thu May 16, 2019 8:33 pm

Please remove all lines containing feed.hae.int in /etc/hosts (and /etc/hosts.template if that exists).
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017

Re: Toon firmware - update script

Postby PeJeWe » Thu May 16, 2019 8:44 pm

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
PeJeWe
Starting Member
Starting Member
 
Posts: 12
Joined: April 2019

Re: Toon firmware - update script

Postby TheHogNL » Thu May 16, 2019 9:19 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017

Previous

Return to Toon Firmware

Who is online

Users browsing this forum: No registered users and 0 guests