Turn on and shutdown computers on a small network
Jorge Maldonado Ventura d7f14b47a8 Update README | 6 years ago | |
---|---|---|
boot_em_all | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
MANIFEST.in | 6 years ago | |
README.md | 6 years ago | |
setup.py | 6 years ago |
Program used to selectively turn on and shutdown computers from a small network using network tools.
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).