Page 1 of 2

Toon not booting after failed update

Posted: Mon Sep 03, 2018 7:38 pm
by MadDemonoide
Hey.

I tried doing a software update, and the power fell out during the update.
I can access SSH, and the screen is stuck at the T logo.

I tried using the update script, but it cannot seem to connect to the vpn. The keys are in the vpn folder.

What can i do?

Thanks

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:27 pm
by TerrorSource
can you try the update script as followed:
sh update-rooted.sh -v 4.19.10

and tell us wat happens :)

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:30 pm
by marcelr
So it is booting.

You can test whether vpn is started by typing

Code: Select all

ps | grep vpn
If that gives no output (or nothing useful) you can start vpn manually by copying the command part of the openvpn line from /etc/inittab into the ssh console and run it.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:36 pm
by MadDemonoide
Hey. With the forcing it is still waiting for VPN to be alive. See the screenshot.

Thank you :)

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:41 pm
by MadDemonoide
As far as I can see it is running.
I see the line and the conf file defined there.
marcelr wrote:So it is booting.

You can test whether vpn is started by typing

Code: Select all

ps | grep vpn
If that gives no output (or nothing useful) you can start vpn manually by copying the command part of the openvpn line from /etc/inittab into the ssh console and run it.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:42 pm
by TerrorSource
MadDemonoide wrote:Hey. With the forcing it is still waiting for VPN to be alive. See the screenshot.

Thank you :)
Just keep trying a few times. had that once before too.
Also, check the /etc/inittab if it's not empty.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:45 pm
by MadDemonoide
I tried a few times now. Nothing changes.

The inittab is not empty. The openvpn item is there. Uncommented.
TerrorSource wrote:
MadDemonoide wrote:Hey. With the forcing it is still waiting for VPN to be alive. See the screenshot.

Thank you :)
Just keep trying a few times. had that once before too.
Also, check the /etc/inittab if it's not empty.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:49 pm
by marcelr
In that case, you should be able to ping feed.hae.int, and get a response.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:51 pm
by MadDemonoide
marcelr wrote:In that case, you should be able to ping feed.hae.int, and get a response.
I’m not getting a response from that URL.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:56 pm
by marcelr
try

Code: Select all

ping 8.8.8.8
(google) then.
If that doesn't give a response, you don't have a working connection to the outside world.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:57 pm
by MadDemonoide
marcelr wrote:In that case, you should be able to ping feed.hae.int, and get a response.
When I try to manually start the VPN, I get the following:

Code: Select all

Socket bind failed on local address. [AF_ INET]127.0.0.1:8000 Address already in use.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 8:57 pm
by MadDemonoide
marcelr wrote:try

Code: Select all

ping 8.8.8.8
(google) then.
If that doesn't give a response, you don't have a working connection to the outside world.
I tried google. I get a nice ping back.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 9:12 pm
by marcelr
Maybe you should edit inittab to not start openvpn, then kill it, and let the script do it for you.

Re: Toon not booting after failed update

Posted: Mon Sep 03, 2018 10:06 pm
by TheHogNL
I think you have a very old version of Toon firmware which doesn't update the /etc/hosts file properly (your feed.hae.int entry in your hosts file doesn't match with the routing table)
Try to remove the "feed.hae.int" line from the /etc/hosts file and restart the Toon and the script again.

Re: Toon not booting after failed update

Posted: Tue Sep 04, 2018 2:37 pm
by MadDemonoide
marcelr wrote:Maybe you should edit inittab to not start openvpn, then kill it, and let the script do it for you.
I can start the VPN manually, but it still does not update.
It also shows up @ the top command as a process.