perhaps my steps wil help someone else aswell:
created a VPN manually as informed by theHognl:
Code: Select all
eneco-001-064929:~# /usr/sbin/openvpn --config /etc/openvpn/vpn.conf
Tue Mar 12 20:29:22 2019 DEPRECATED OPTION: --tls-remote, please update your configuration
Tue Mar 12 20:29:22 2019 OpenVPN 2.3.11 arm-hae-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Nov 30 2016
Tue Mar 12 20:29:22 2019 library versions: OpenSSL 1.0.2h 3 May 2016, LZO 1.08
Tue Mar 12 20:29:22 2019 Control Channel Authentication: using '/etc/openvpn/vpn/ta.key' as a OpenVPN static key file
Tue Mar 12 20:29:22 2019 Attempting to establish TCP connection with [AF_INET]34.253.116.121:443 [nonblock]
Tue Mar 12 20:29:23 2019 TCP connection established with [AF_INET]34.253.116.121:443
Tue Mar 12 20:29:23 2019 TCPv4_CLIENT link local: [undef]
Tue Mar 12 20:29:23 2019 TCPv4_CLIENT link remote: [AF_INET]34.253.116.121:443
Tue Mar 12 20:29:25 2019 [VPN-Eneco] Peer Connection Initiated with [AF_INET]34.253.116.121:443
Tue Mar 12 20:29:27 2019 TUN/TAP device tap0 opened
Tue Mar 12 20:29:27 2019 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Mar 12 20:29:27 2019 /sbin/ifconfig tap0 172.28.143.153 netmask 255.255.240.0 mtu 1500 broadcast 172.28.143.255
Tue Mar 12 20:29:27 2019 Initialization Sequence Completed
Code: Select all
eneco-001-064929:~# echo `/sbin/ip route | /bin/grep ^172.*via.*tap0 | /usr/bin/
awk '{print $1}'| /usr/bin/awk 'BEGIN {FS="."}; {print $1"."$2"."$3}'`.1
-sh: /sbin/ip: not found
.1
eneco-001-064929:~# cd /sbin/
manually looking for the grep it seems that is would be: 172.28.128.1
Code: Select all
eneco-001-064929:/sbin# ip route
192.168.1.0/24 dev eth0 scope link src 192.168.1.120
172.28.128.0/20 via 172.28.128.1 dev tap0
172.28.128.0/20 dev tap0 scope link src 172.28.143.153
default via 192.168.1.254 dev eth0 metric 10
eneco-001-064929:/sbin# ping 172.28.128.1
PING 172.28.128.1 (172.28.128.1): 56 data bytes
64 bytes from 172.28.128.1: seq=0 ttl=64 time=77.141 ms
64 bytes from 172.28.128.1: seq=1 ttl=64 time=33.743 ms
so put that into etc/hosts file for .int
127.0.0.1 localhost.localdomain localhost
172.23.16.1 feed.hae.orig feed
172.28.128.1 feed.hae.int feed
127.0.0.1 ping.quby.nl
test:
eneco-001-064929:/etc# ping feed.hae.int
PING feed.hae.int (172.28.128.1): 56 data bytes
64 bytes from 172.28.128.1: seq=0 ttl=64 time=36.642 ms
64 bytes from 172.28.128.1: seq=1 ttl=64 time=38.864 ms
after setting the ip to .orig; the command opkg update worked.
however: command opkg install base-qb2-uni gave an error:
so also tried opkg upgrade and let it run.
after this the command shows it;s up 2 date:
Code: Select all
eneco-001-064929:~# opkg install base-qb2-uni
Package base-qb2-uni (5.0.4-1286-0) installed in root is up to date.
Code: Select all
eneco-001-064929:~# sh /root/update-rooted.sh -f
===================================================================================================================================================================
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: 3.71 - TheHogNL & TerrorSource & yjb - 5-3-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
===================================================================================================================================================================
Only fixing files.
creating backup of inittab...
creating backup of chrony.conf...
creating backup of hosts...
creating backup of config_happ_scsync.xml...
creating backup of qmf_tenant.xml.save ...
FIXING: Downloading resources.rcc TSC mod for this version 5.0.4.
FIXING: Now updating all toonstore installed apps
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/toonstore-2.1.2/toonstore_2.1.2-r0_qb2.ipk.
Installing toonstore (2.1.2-r0) to root...
Executing pre-install script for toonstore-2.1.2
Previous installation detected.
Creating backup for /qmf/etc/qmf_release.xml ...
Patching /qmf/etc/qmf_release.xml for 403-forbidden error ...
Restarting http server ...
Cleaning garbage....
rm: can't remove '/HCBv2/qml/apps/toonstore/*.qmlc': No such file or directory
rm: can't remove '/HCBv2/qml/apps/toonstore/*.jsc': No such file or directory
ToonStore pre-install script completed ...
Configuring toonstore.
Executing post-install script for toonstore-2.1.2 ...
Writing app version number to /HCBv2/qml/apps/toonstore-2.1.2/version.txt ...
Adding toonstore key to opkg keyring ...
OK
This is a Toon QB2, checking to Globals.qml
No settings to be restored
Removing stale link /HCBv2/qml/apps/toonstore ...
Creating symbolic link /HCBv2/qml/apps/toonstore to /HCBv2/qml/apps/toonstore-2.1.2
Firmware version 5 or greater detected, changing app for firmware compatibility...
Posting message ...
EDITING: Time server, removes unnecessary link to Quby
EDITING: Hosts file, removes unnecessary link to Quby
EDITING: disable ovpn connection to quby
EDITING: Adding serial connection
EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay
EDITING: removing data gathering by Quby and whitelisting web services