Page 37 of 54

Re: Rooting Toon (or boxx)

Posted: Mon Aug 13, 2018 7:48 pm
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.

Re: Rooting Toon (or boxx)

Posted: Mon Aug 13, 2018 9:35 pm
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...

Re: Rooting Toon (or boxx)

Posted: Tue Aug 14, 2018 8:51 am
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.

Re: Rooting Toon (or boxx)

Posted: Mon Oct 29, 2018 12:26 am
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?

Re: Rooting Toon (or boxx)

Posted: Mon Oct 29, 2018 8:21 am
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.

Re: Rooting Toon (or boxx)

Posted: Mon Oct 29, 2018 8:43 am
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.

Re: Rooting Toon (or boxx)

Posted: Tue Nov 06, 2018 10:00 am
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?

Re: Rooting Toon (or boxx)

Posted: Wed Nov 07, 2018 10:08 pm
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?

Re: Rooting Toon (or boxx)

Posted: Wed Nov 07, 2018 11:02 pm
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.

Re: Rooting Toon (or boxx)

Posted: Thu Nov 08, 2018 7:47 am
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?

Re: Rooting Toon (or boxx)

Posted: Thu Nov 08, 2018 9:21 am
by marcelr
It's a continuous process, no need to restart anything.

Re: Rooting Toon (or boxx)

Posted: Thu Nov 08, 2018 9:37 am
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.

Re: Rooting Toon (or boxx)

Posted: Thu Nov 08, 2018 10:32 pm
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:

Re: Rooting Toon (or boxx)

Posted: Fri Nov 09, 2018 10:07 am
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:

Re: Rooting Toon (or boxx)

Posted: Fri Nov 16, 2018 2:01 am
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?