Page 1 of 1

Anyone able to convert RPM to DEB for mikrotik internet usage data-traffic viewer?

Posted: Sun Aug 06, 2023 4:34 pm
by jult
This guy has coded a wonderful python tool to show Internet Usage per interface for Mikrotik routers;
https://github.com/h-haghpanah/mikrotik_traffic_counter_en

But I'm not proficient enough in both python or his redhat based packaging scheme to reverse engineer it for use in debian based systems, which I would prefer to use it in/for. Nor do I like to run it as a docker engine, as he made one for it.

Anyone here able to convert it for me?

Oh, sorry, he posted on this forum years ago; viewtopic.php?p=918232

Re: Anyone able to convert RPM to DEB for mikrotik internet usage data-traffic viewer?

Posted: Wed Aug 30, 2023 6:18 pm
by reetp
There's no rpm or deb as far as I can see.

Just instructions to build with docker or use a local manual install

https://github.com/h-haghpanah/mikrotik ... stallation
sudo yum install git -y
sudo mkdir /etc/mikrotik_traffic_counter_en
sudo git clone https://github.com/h-haghpanah/mikrotik_traffic_counter_en /etc/mikrotik_traffic_counter_en
cd /etc/mikrotik_traffic_counter_en/installation
sudo chmod +x /etc/mikrotik_traffic_counter_en/installation/*
sudo ./1-install_system_requirement.sh
sudo ./2-install_mysql.sh
grep temporary\ password /var/log/mysqld.log
sudo mysql_secure_installation
mysql -u root -p
CREATE DATABASE mikrotik;
exit
mysql -u root -p mikrotik < /etc/mikrotik_traffic_counter_en/mikrotik.sql
sudo ./3-install_python_requirement.sh