Turn on and shutdown computers on a small network

Jorge Maldonado Ventura d7f14b47a8 Update README 6 years ago
boot_em_all a0804513fd Add SSH config in a config file 6 years ago
.gitignore 2f2c960cac Install with translations 6 years ago
LICENSE 6274608fda Move files 6 years ago
MANIFEST.in a0804513fd Add SSH config in a config file 6 years ago
README.md d7f14b47a8 Update README 6 years ago
setup.py a0804513fd Add SSH config in a config file 6 years ago

README.md

Program used to selectively turn on and shutdown computers from a small network using network tools.

Requirements

  • GTK+3
  • Python 2 (2.6 or later) or Python 3 (3.1 or later)
  • gobject-introspection
  • wakeonlan
  • openssh-client

Installation

In Debian 9 (Strecht) you can execute:

sudo apt install gobject-introspection libgtk-3-0 openssh-client python3 wakeonlan

Clone the repository with git clone https://notabug.org/jorgesumle/boot-em-all.

The file boot_em_all/computers.csv contains the list of hostnames and mac addresses; change it to fit your needs. We have included the file boot_em_all/update_computer_csv.bash to help you automate this task (e.g., using cron).

Finally, execute python3 setup.py install.

You should be able to execute boot_em_all if the installation was successful.

The program will execute but won't be functional. For that you must be able to connect via SSH to the computers in the network you want to manage and configure with authorized_keys(5) the execution of the shutdown command (if you intend to use the shutdown functionality). In addition, enable Wake-on-LAN in the computers of the managed network (if you intend to use the booting functionality).