Skip to content

N-John/mikrotik_hermes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mikrotik_hermes

An automated service which is used to manage users connections to mikrotik's hotsport or pppoe service.

Mikrotik hermes is a python script that works on any mkrotik endpoint which can run python. This service is created for person[s] / businesses using mikrotik hotspot and mikrotik pppoe service as an ISP. It is able to manage a wide number of users matching them to their respective packages and automaticaly manage their subscription periode. It provides a wide variety of tools to interact with the system, the sql and even ssh to the mikrotik from the service itself.
It's simplistic design enables a person with little to no mikroik skills to also operate it and explore the world of mikrotik. It facilitates:
*Mikrotik billing
*Mikrotik automation
*Mikrotik cli
*Mikrotik PPPoE
*Mikrotik Hotspot
*Python scripting
*System administration
*Payment retriever

REQUIREMENTS & DEPENDANCIES

*RouterOs with ssh enabled
*Python
*Pramiko - This is important as the main service connects to the mikrotik via ssh and stdio
*Sqlite3 - Used for data storage
*Terminal - User interuction with service is via cli

     +--------------------------------+
     | (1) ADD USER                   |
     | (2) SESSIONS DAYS ADD          |
     | (3) ADD USER PAYMENT	      |
     | (4) SESSION EDIT               |
     | (5) SWITCH TO AUTO_MONITOR     |
     | (6) STATUS                     |
     | (7) MANUAL CLI                 |
     | (8) PAYMENT RETRIEVE           |
     | (9) EXIT                       |
     +--------------------------------+

Before use, make sure you edit data on tile named "variables.txt"

>>>>FILL IN THE FILLOWING DATA<<<<
+------------------------------------------------+
| DATABASE NAME         |     DATABASE.db        |
+------------------------------------------------+
| LOG FILE NAME         |    log_test.txt        |
+------------------------------------------------+
| MIKROTIK IP           |    192.168.88.1        |
+------------------------------------------------+
| MIKROTIK USERNAME     |    USERNAME            |
+------------------------------------------------+
| MIKROTIK PASSWORD     |    PASSWORD            |
+------------------------------------------------+