Geprobeerd mijn Toon2 met software v 6 te rooten.
Ik heb https://github.com/ToonSoftwareCollective/Root-A-Toon gevolgd.
Omdat ik las dat het met sw v6 niet werkt heb ik de toon ge-recoverd naar sw versie 4.
Raspi accesspoint gemaakt. Met telefoon ingelogd op SSID: werkte, kon gewoon 'het internet op'.
sudo ./root-toon.sh payload gestart.
Toon gereboot / software gekozen uit menu.
Lo and behold:
`Rooting your toon
Patching firewall
Installing dropbear (2014.66-r0) on root.
Upgrading update-alternatives-opkg from 0.1.8+git0+53274f0875-r1 to 0.1.8+git0+53274f0875-r2 on root.
Downloading http://feed.hae.int/feeds/nxt/oe/angelica-1.7.7-master-zgw-7.14/cortexa9hf-vfp-neon/update-alternatives-opkg_0.1.8+git0+53274f0875-r2_cortexa9hf-vfp-neon.ipk.
Collected errors:
- opkg_download: Failed to download http://feed.hae.int/feeds/nxt/oe/angelica-1.7.7-master-zgw-7.14/cortexa9hf-vfp-neon/update-alternatives-opkg_0.1.8+git0+53274f0875-r2_cortexa9hf-vfp-neon.ipk: Couldn't connect to server.
- opkg_install_pkg: Failed to download update-alternatives-opkg. Perhaps you need to run 'opkg update'?
- opkg_install_cmd: Cannot install package dropbear.
Flushing iptables: iptables.
Loading iptables settings: iptables.
===================================================================================================================================================================
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.81 - TheHogNL - 07-08-2024
===================================================================================================================================================================
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: Trying to fix Global.qml now to add all the Toonstore installed apps again.
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.
EDITING: Time server, removes unnecessary link to Quby
EDITING: Hosts file, removes unnecessary link to Quby
EDITING: Disable add google DNS on top of resolv.conf
EDITING: disable ovpn connection to quby
EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay
EDITING: removing data gathering by Quby and whitelisting web services
EDITING: add disable power management wifi on Toon2
EDITING: add autobrightness feature on Toon2
EDITING: disabling Eneco subscription feature apps which are not working on rooted toons
EDITING: disabling KPI and weather happ as these are not necessary on rooted toons
EDITING: download certificate store pem file
There is a new version of the Mozilla CA pem file. Downloading it!
Download ok! Replacing Mozilla CA pem file!
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
EDITING: lighttpd so tsc/sensors is viewable via a browser
File /HCBv2/etc/qmf_tenant.xml was modified but result is an empty file! Trying to restore!
Restore of /HCBv2/etc/qmf_tenant.xml is failed! Result is also empty! Please check this file before rebooting!
Finished fixing files!
Cannot stat /root/.ssh/known_hosts: No such file or directory
ssh: connect to host 10.42.0.49 port 22: Connection refused`
Mijn vragen: In payload staat:
o.a. op regel 9 een url van een te downloaden pakket:
https://raw.githubusercontent.com/ToonSoftwareCollective/Root-A-Toon/master/dropbear_2014.66-r0_cortexa9hf-vfp-neon.ipk
WAAROM probeert de toon met deze payload dan het pakket te downloaden van:
http://feed.hae.int/feeds/nxt/oe/angelica-1.7.7-master-zgw-7.14/cortexa9hf-vfp-neon/update-alternatives-opkg_0.1.8+git0+53274f0875-r2_cortexa9hf-vfp-neon.ipk ?????
Deze url bestaat niet, het installeren van o.a. dit dropbear (de ssh server) faalt, waardoor aan het einde de fout:
Cannot stat /root/.ssh/known_hosts: No such file or directory
ssh: connect to host 10.42.0.49 port 22: Connection refused
... optreedt.
Maar waarom download de toon niet de pakketten vanaf de urls zoals ze in payload
staan? Waar komt die http://feed.hae.int/ url vandaan?
Iemand die het wel begrijpt?
Ik zie in de log:
Rooting your toon
Patching firewall
Installing dropbear (2014.66-r0) on root.
De eeste 2 regels zie ik in payload
: https://github.com/ToonSoftwareCollective/Root-A-Toon/blob/3b352f1137231a9c8762fec1bd72b5e79b0f4955/payload#L4
... maar dan verwacht ik de regel:
"Detected NXT device, installing dropbear and setting password" OF
"Detected QB2 device, installing dropbear and setting password"
... hoewel ik zie dat de bovenste regel niet naar de log wordt geredirect.
Maar die regel 'installing dropbear' waar komt die vandaan?
Verder nog:
De recovered versie 4 is wellicht te oud, las ik, maar de versie waarin hij geupdate wordt door Eneco: v 6 is weer te nieuw, las ik. Hoe kan ik vóór het rooten ervoor zorgen dat er een versie 5 geinstaleerd staat?