Skip to content

PenDZ-Alter/rewoll-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rewoll-py

A Simple program to turning on your PC using WoL from mikrotik via SSH.

Getting Started

Before you do anything, clone this repository

git clone https://github.com/PenDZ-Alter/rewoll-py

Then, install the packages

pip install -r requirements.txt

How to use?

  1. There's to options to input your credentials
    Using args :
    To connect via args, you can use this example command :

    python main.py -hs <host> -p 22 -u <mikrotik_user> -k <ssh_key_pem> -m <mac_addr> -i <interface>

    Using env :

    HOST= # Host or IP of mikrotik
    USER= # Mikrotik user
    PASS= # Mikrotik pass
    MAC_TARGET= # MAC Address Target
    SSH_KEY= # SSH Key Path
    INTERFACE= # Interface Target
    PORT= # Port of SSH mikrotik

    Don't forget to rename .env.example to .env, otherwise this will not work for you.

  2. If you using env, simply run this command :

    python main.py

About

A Simple Program to turn on PC via Mikrotik and SSH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages