Shutdown by network (IP) Packet

Hi all,

I want to run the bananapi unattended.

In certain circumstances, I would like a “master-machine” to be able to shut down all devices that are networked. So, I am in search for s solutin to shut down the bananapi by sending an IP Package (TCP preferred but UDP works also) to the BIP to subsequently shut itself down.

Anyone have a solution for that?

Thanks in advance!

Hi jwka,

using ssh and issuing shutdown -h can do the thing.

Some hints here:

http://superuser.com/questions/615570/is-it-possible-to-shutdown-remote-computers-without-inputing-the-password

As reported in the post you can generate ssh keys to be used in the link for not inserting the password when executing.

Regards Snafutzz