toon activation problem

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, Toonz

Post Reply
patricx
Starting Member
Starting Member
Posts: 11
Joined: Wed Apr 18, 2018 8:07 am

toon activation problem

Post 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
flamingbob
Starting Member
Starting Member
Posts: 32
Joined: Wed Nov 23, 2016 4:11 pm

Re: toon activation problem

Post 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.
patricx
Starting Member
Starting Member
Posts: 11
Joined: Wed Apr 18, 2018 8:07 am

Re: toon activation problem

Post 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
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: toon activation problem

Post 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.
Member of the Toon Software Collective
EJanus
Starting Member
Starting Member
Posts: 25
Joined: Sun Jan 28, 2018 9:07 pm

Re: toon activation problem

Post 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.
patricx
Starting Member
Starting Member
Posts: 11
Joined: Wed Apr 18, 2018 8:07 am

Re: toon activation problem

Post 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 ?
EJanus
Starting Member
Starting Member
Posts: 25
Joined: Sun Jan 28, 2018 9:07 pm

Re: toon activation problem

Post 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).
patricx
Starting Member
Starting Member
Posts: 11
Joined: Wed Apr 18, 2018 8:07 am

Re: toon activation problem

Post 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.
patricx
Starting Member
Starting Member
Posts: 11
Joined: Wed Apr 18, 2018 8:07 am

Re: toon activation problem

Post 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
EJanus
Starting Member
Starting Member
Posts: 25
Joined: Sun Jan 28, 2018 9:07 pm

Re: toon activation problem

Post 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!
DAP61
Starting Member
Starting Member
Posts: 1
Joined: Mon Mar 04, 2019 10:23 pm

Re: toon activation problem

Post 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?
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: toon activation problem

Post 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
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: toon activation problem

Post by TheHogNL »

DAP61 wrote: And i'm not allowed to change the config file.
Why? You are root. You can do everything you want.
Member of the Toon Software Collective
Post Reply

Return to “Toon issues and support (Nederlands toegestaan)”