Page 1 of 1

toon activation problem

Posted: Wed Apr 18, 2018 8:15 am
by patricx
Hello

i have changed config_happ_scsync.xml in the folder /HCBv2/config

but every time i reboot the toon, toon overwrite that file and come back in the wizard menu.

please can someone help me ?

patrick

Re: toon activation problem

Posted: Wed Apr 18, 2018 11:06 am
by flamingbob
Hi,
but every time i reboot the toon, toon overwrite that file and come back in the wizard menu.
Simple questions first. Have you disabled the ipsec tunnel? If you still talk to the mothership it always override that exact file.

Re: toon activation problem

Posted: Wed Apr 18, 2018 7:36 pm
by patricx
i have change the line

ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1

in

#ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1

but the same problem

Re: toon activation problem

Posted: Thu Apr 19, 2018 8:01 am
by TheHogNL
patricx wrote:i have change the line

ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1

in

#ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1

but the same problem
That is impossible. The scsync file is only overwritten if the openvpn is running. Did you reboot after editing the line (add the # in front)?
After the reboot, change the scsync file (look in the forum for the exact changes you need to make, this is answered over and over again), reboot again, and it would be fine then.

Re: toon activation problem

Posted: Thu Apr 19, 2018 12:11 pm
by EJanus
Or (but this is perhaps to simple :wink: ) it could be that saving the file goes wrong.


So open config_happ_scsync.xml
edit the file
save
close
open config_happ_scsync.xml again
Check if your changes were in fact saved.

Re: toon activation problem

Posted: Thu Apr 19, 2018 12:37 pm
by patricx
when i check the file config_happ_scsync.xml that's i write to the toon it's ok.

when i go to the activation center it's tell that er is no conection to the activation center.

I have follow al instructions but i do not see what's wrong.

is the a other way to see if the openvpn is running ?

Re: toon activation problem

Posted: Thu Apr 19, 2018 4:01 pm
by EJanus
But what is your problem exactly?

If you want to change the VPN status, you can do that in the file /etc/inittab and put a # in front of the line ovpn:2345:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1 as stated in the root manual.

If you want to disable the wizard menu, you can try to do that in de file config_happ_scsync.xml and check if this is there: <activated>1</activated><wizardDone>1</wizardDone> (in line 11).

Re: toon activation problem

Posted: Thu Apr 19, 2018 4:23 pm
by patricx
Ejanus,

I have do everythink follow the root manual .

i have put # for the openvpn row and i have change config_happ_scsync.xml as you write.

I have root the toon by a rapberry pi with that script without problems or errors.

and all other thinks in the manual i have do it also.

but every time i reboot te toon it overwrite the config_happ_scsync.xml file that's te problem and i can not find the solution.

Re: toon activation problem

Posted: Thu Apr 19, 2018 7:45 pm
by patricx
in /etc/inittab

i have change flas:245:respawn:/usr/bin/startflash >/dev/null 2>&1 to #flas:245:respawn:/usr/bin/startflash >/dev/null 2>&1
and reboot the toon but then it's do not start to the home screen.

remove the # and reboot again and now the toon work

Re: toon activation problem

Posted: Fri Apr 20, 2018 12:08 am
by EJanus
So you put the # in front of: flas:245:respawn:/usr/bin/startflash >/dev/null 2>&1

That is not going to work and Toon will not boot correctly.

You should put the # in front of: ovpn:2345:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1

So it looks like:
# ovpn:2345:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1

The # tells Toon to ignore the line after the #. So Toon can not connect to the Eneco server using vpn.

Good luck!

Re: toon activation problem

Posted: Thu Mar 14, 2019 7:09 pm
by DAP61
Hello,
I bought myself a rooted Toon 43 weeks ago.
I updated it to 5.0.4.
But i can't get past the activation code.
And i'm not allowed to change the config file.
Who can tell me what to do so I can get more use out of TOON then yust a thermostat?

Re: toon activation problem

Posted: Fri Mar 15, 2019 12:07 am
by TerrorSource
DAP61 wrote:Hello,
I bought myself a rooted Toon 43 weeks ago.
I updated it to 5.0.4.
But i can't get past the activation code.
And i'm not allowed to change the config file.
Who can tell me what to do so I can get more use out of TOON then yust a thermostat?
What did you already read on this forum? Solution and additional possibilities are mentioned everywhere! :D

Re: toon activation problem

Posted: Fri Mar 15, 2019 12:18 am
by TheHogNL
DAP61 wrote: And i'm not allowed to change the config file.
Why? You are root. You can do everything you want.