/getusers-pppoe

Get PPPoE users from command /ppp/secret print with RouterOS API

Primary LanguagePython

GET USERS PPPOE ROUTEROS

This tiny script get all users Mikrotik RouterOS and exports to csv file

Build Status

Requirements

Setup

  • Ubuntu, Mint:
sudo apt update && sudo apt install -y python3-pip git python3-venv
git clone https://github.com/ojpojao/olt8820g.git
cd pastinhas
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  • Fedora
sudo dnf install -y git
git clone https://github.com/ojpojao/olt8820g.git
cd astinhas
python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Run

In the main function, edit the host, username and password parameters according to your device. Then save and run the script.

python main.py