Rooting Toon (or boxx)

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, Toonz

marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

It's pinging google:

Code: Select all

$ nslookup 8.8.8.8
Server:		192.168.73.1
Address:	192.168.73.1#53

Non-authoritative answer:
8.8.8.8.in-addr.arpa	name = google-public-dns-a.google.com.
But you're right, this hasn't been working for some time now. Your suggestion should be added to the rooting manual.
mogwai
Starting Member
Starting Member
Posts: 43
Joined: Fri Aug 10, 2018 10:36 pm

Re: Rooting Toon (or boxx)

Post by mogwai »

marcelr wrote:It's pinging google:

Code: Select all

$ nslookup 8.8.8.8
Server:		192.168.73.1
Address:	192.168.73.1#53

Non-authoritative answer:
8.8.8.8.in-addr.arpa	name = google-public-dns-a.google.com.
But you're right, this hasn't been working for some time now. Your suggestion should be added to the rooting manual.
Thanks for your quick response. Pinging google probably doensn't hurt. Then I'll just skip the modification of hosts altogether...
martenjacobs
Member
Member
Posts: 53
Joined: Fri Mar 09, 2018 4:13 pm

Re: Rooting Toon (or boxx)

Post by martenjacobs »

Gleno0hh wrote:
TheHogNL wrote:Did you use the Toon Rooter on https://github.com/martenjacobs/ToonRooter ?
Tried, didnt work with raspberry 1a. Actually, nothing worked with the 1a, see my previous post. After using a model b, it was easy. I believe with the model b it gave me a import error on pyserial with toonrooter.
I've made some changes in my dev branch so it should now work on RPi 1 as well. Make sure you do a git checkout dev after cloning the repo. I'll merge it into master as soon as I get some feedback that it's working or when I have the time to test it myself.
msv
Starting Member
Starting Member
Posts: 13
Joined: Mon Mar 15, 2010 12:58 pm

Re: Rooting Toon (or boxx)

Post by msv »

Hi guys,

I have an fully rooted Toon i try to change the root password.

If i change the password with command passwd i am able to set an new password, thereafter i exit the console and i am able to login with the new password.

If i reboot the Toon i can only login with the old password.

What is going wrong here?
yjb
Member
Member
Posts: 211
Joined: Fri Apr 17, 2009 1:15 pm
Location: Venhuizen, Netherlands

Re: Rooting Toon (or boxx)

Post by yjb »

Have a look at the timestamp of the /etc/passwd file.

Did you root it yourself or is the unit "preowned"? Might be that there is an init script which copies the old password file over the existing one, I guess to make sure that the password is not changed by Eneco.

I would expect that there is some where a backup copy hanging around of the passwd file search with

Code: Select all

find / -name passwd* -print
And see if it matches your passwd file after a reboot.
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Rooting Toon (or boxx)

Post by TerrorSource »

msv wrote:Hi guys,

I have an fully rooted Toon i try to change the root password.

If i change the password with command passwd i am able to set an new password, thereafter i exit the console and i am able to login with the new password.

If i reboot the Toon i can only login with the old password.

What is going wrong here?
Can you check if you have multiple passwd files? Had that issue once before. It created version/temporary copies of the passwd files. Reason why is still unknown.
Cctl01
Starting Member
Starting Member
Posts: 12
Joined: Tue Nov 06, 2018 9:51 am

Re: Rooting Toon (or boxx)

Post by Cctl01 »

Am I correctly understanding that the only way to make Toon adapt to a new house (bought second hand) is to perform a factory reset? On the official toon forum different people seem to think differently.
secondly, am I correctly understanding that a factory reset will only make me lose my schedules etc. Not the root access ssh keys etc?
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

Can't see any reason why you would want to do a factory reset.
And adapting to a new house? What does that mean?
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Rooting Toon (or boxx)

Post by TerrorSource »

marcelr wrote:Can't see any reason why you would want to do a factory reset.
And adapting to a new house? What does that mean?
Well, I recommend a Factory Reset when moving to a new house so the meter values are resetted. Easiest way to do that.
Also, when buying a Toon 2nd hand, a factory reset is the way to go to remove the info of the previous owner.
Cctl01
Starting Member
Starting Member
Posts: 12
Joined: Tue Nov 06, 2018 9:51 am

Re: Rooting Toon (or boxx)

Post by Cctl01 »

marcelr wrote:Can't see any reason why you would want to do a factory reset.
And adapting to a new house? What does that mean?
Obviously I was not clear explaining what I want to achieve.
I would like (unless it happens automatically) to have Toon reinitiate the self learning process. Stookgedrag, zelf lerend if you wish in Dutch.
what options do I have in this matter? Is it as simple as overwriting some file perhaps?
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

It's a continuous process, no need to restart anything.
Cctl01
Starting Member
Starting Member
Posts: 12
Joined: Tue Nov 06, 2018 9:51 am

Re: Rooting Toon (or boxx)

Post by Cctl01 »

marcelr wrote:It's a continuous process, no need to restart anything.
Thanks for clarifying that. Now that I think about it, it makes sense since heat-up- and cool-down-rate is different is autumn, winter and spring.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

Yep, it's called controller auto-tuning. The whole "inleren" thing is just a transient of that tuning process. Some forum members at the toon forum were adamant that it needs to be set/reset to start the process. Ignorant fools :roll:
Rudolf
Member
Member
Posts: 136
Joined: Mon Dec 04, 2017 8:50 pm

Re: Rooting Toon (or boxx)

Post by Rudolf »

I started using my Toon this summer; would be pretty cold :( here if it hadn't adapted to new (outside) temperatures by now.

Good thing it's continuous process. Would be quite tedious to reset Toon every season. :lol: :mrgreen: :lol:

Stay warm! :wink:
WickedMaster
Member
Member
Posts: 76
Joined: Wed Nov 07, 2018 1:53 pm

Re: Rooting Toon (or boxx)

Post by WickedMaster »

Prutzer wrote:Hi Marcel and Rboers,

First of all, thank you for your manual how to root a Toon thermostaat.
I'm also trying to root a Toon but I get stuck. First I tried to use a Orange PI, but that did not work. I did not succeed in configuring openocd. Next I used my raspberry Pi and that is going better.
But now i'm stuck here:

root@raspberrypi:~/rootToon# ls
ed20.cfg raspberrypi.cfg
root@raspberrypi:~/rootToon# openocd -s /usr/share/openocd -f ~/rootToon/raspberrypi.cfg -f ~/rootToon/ed20.cfg
Open On-Chip Debugger 0.9.0 (2018-01-22-06:14)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
/root/rootToon/raspberrypi.cfg:13: Error: invalid command name "bcm2835gpio_peripheral_base"
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "/root/rootToon/raspberrypi.cfg", line 13
root@raspberrypi:~/rootToon#

Before I could start openocd I had to install it. Sudo apt-get install openocd.
What am I doing wrong?
I'm getting the same error on a RPi3 B+. How did you fix it?
Post Reply

Return to “Toon Rooting”