Community discussions

MikroTik App

Search found 21 matches

by hermeson
Wed May 11, 2022 2:32 am
Forum: Beginner Basics
Topic: Pi-Hole and Mikrotik - DNS - Pi-hole only show my router’s IP address
Replies: 20
Views: 9118

Re: Pi-Hole and Mikrotik - DNS - Pi-hole only show my router’s IP address

How did you get on this! =) I use this rules to see my devices IP in pi-hole, (kind of, i only have to interpret 10 as 192), my pi-hole ip is 192.168.0.8, i use my router ip for dns in dhcp, 192.168.0.1, but the router catches all the dns traffic and send it to my pi-hole, and mascarade it so i can ...
by hermeson
Thu Aug 26, 2021 3:37 pm
Forum: Scripting
Topic: Simple reading RX TX via API PHP [SOLVED]
Replies: 4
Views: 22855

Re: Simple reading RX TX via API PHP [SOLVED]

at last I did it with Delphi! thanks to all!
by hermeson
Thu Aug 19, 2021 6:13 pm
Forum: Scripting
Topic: Simple reading RX TX via API PHP [SOLVED]
Replies: 4
Views: 22855

Re: Simple reading RX TX via API PHP [SOLVED]

any chance to help me with this code???
by hermeson
Tue Aug 17, 2021 11:41 pm
Forum: Scripting
Topic: Simple reading RX TX via API PHP [SOLVED]
Replies: 4
Views: 22855

Simple reading RX TX via API PHP [SOLVED]

Hello guys, could someone help me: <?php require('routeros_api.class.php'); $API = new RouterosAPI(); $API->debug = true; if ($API->connect('192.168.88.1', 'admin', 'admin')) { $arrRXTX=$API->comm("/interface/monitor-traffic", array( ".proplist"=> "rx-bits-per-second,tx-bits...
by hermeson
Sat Mar 28, 2020 5:37 pm
Forum: General
Topic: Romon - UBNT
Replies: 12
Views: 6821

Re: Romon - UBNT

hi buddy!!! I could access via ssh into my ubnt but where I should place this command below???? enable configure mac access-list extended global permit any any exit mac access-group global vlan 1 in if I type it says invalid command. thanks! I can confirm that it does work, While taking my MTCNA, th...
by hermeson
Tue Aug 06, 2019 2:00 pm
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

v1.3 it should be something else. As I have seen so many people complaint about new login parameters I associated, also I would asked to help to update, but u had already done. Thanks
by hermeson
Tue Aug 06, 2019 1:31 pm
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

easy man!!! it was a simples question, coz I tried to connect with 6.45.1 it returns error I tried to 6.44.5 it works, so I keep trying. sorry to bothered you! Master Chupaka, do you intent send an update of RouterOSAPI.pas with the new way to login via delphi? https://wiki.mikrotik.com/wiki/Manual:...
by hermeson
Tue Aug 06, 2019 1:37 am
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

Master Chupaka, do you intent send an update of RouterOSAPI.pas with the new way to login via delphi?

https://wiki.mikrotik.com/wiki/Manual:API#Initial_login

Thanks
by hermeson
Tue Jul 30, 2019 6:13 pm
Forum: Scripting
Topic: Complete DELPHI API client: update 4
Replies: 69
Views: 51396

Re: Complete DELPHI API client: update 4

Master @Chupaka what is the difference of API and Radius? any vantage to set my APP with Radius logic or API would it do? As I can see the app around, when people use Radius all request are not listed on log list, on the other hand everything I do with API shows on log... any suggestion for that? Th...
by hermeson
Sat Jun 22, 2019 12:19 pm
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

"Something, Inc." is nice but not very clear error :)
hahahahaha LOL.... I will compile and send it to tge group to together find the error!!! =)
by hermeson
Sat Jun 22, 2019 12:27 am
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

So funny!!! I finally finished up my app in VCL with the new .pas for Delphi and works smootlhy... although when I started to build it for FMX.... it doesn´t work LOL ooww deeaaarrrr

it comes an error... .inc... something... someone has tryied to compile for android?????
by hermeson
Tue Apr 30, 2019 6:20 pm
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

by the way, do you know how to create a RADIUS with Delphi, I have seen some videos, but OMG, it is so complicated, coz need to run linux, installl mysql and etc etc... any easier path to create an app with radius! thanks!!! I wrote my own implementation of RADIUS server many years ago... And yes, ...
by hermeson
Tue Apr 30, 2019 4:33 pm
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

Chupaka hello man! how are you??? How can I connect my RB and keep connected as Mikro WInbox and own App Mikrotik also not showing activity logging on the RB???? I downlado both and either not show when connect and query the RB!!! Thanks Hi. That's weird. Any logins should be logged anyway (unless ...
by hermeson
Mon Apr 29, 2019 1:05 am
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

Chupaka hello man! how are you??? How can I connect my RB and keep connected as Mikro WInbox and own App Mikrotik also not showing activity logging on the RB???? I downlado both and either not show when connect and query the RB!!! Thanks
by hermeson
Thu Apr 04, 2019 2:26 am
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

AT LAST I got it!!!! make those examples run at my Delphi Berlin... THANK YOUUUUUUUUUUUUUUUUUUUUU to allllll!!!!!!!!!!!!!!!!!!!!!!!! especially to Chupaka!!!!!
by hermeson
Tue Mar 13, 2018 1:44 am
Forum: Scripting
Topic: Complete DELPHI API client: update 4
Replies: 69
Views: 51396

Api studio + Delphi 10.1 Berlin

Hello guys, I just donwload the studio api from the forum and try to compile but it says "decimalseparator" undeclared!!!!

Any atual version to run on Berlin?

Thanks
by hermeson
Wed Aug 09, 2017 5:16 pm
Forum: Scripting
Topic: PHP API - Add/Remove/Edit PPP user
Replies: 7
Views: 12074

Re: PHP API - Add/Remove/Edit PPP user

I fouuuuuuuuuuuuuuuuund it LOL I need to change secret to active when it search for a user.... $arrID=$API->comm("/ppp/active/getall", array( ".proplist"=> ".id", "?name" => $user, )); $API->comm("/ppp/active/remove", array( ".id" => $arrID...
by hermeson
Wed Aug 09, 2017 4:55 pm
Forum: Scripting
Topic: PHP API - Add/Remove/Edit PPP user
Replies: 7
Views: 12074

Re: PHP API - Add/Remove/Edit PPP user

Hu Flysky, I tried this $arrID=$API->comm("/ppp/secret/getall", array( ".proplist"=> ".id", "?name" => $user, )); $API->comm("/ppp/active/remove", array( ".id" => $arrID[0][".id"], ) ); and it didn't work, but instead to active I ...
by hermeson
Wed Aug 09, 2017 2:51 pm
Forum: Scripting
Topic: PHP API - Add/Remove/Edit PPP user
Replies: 7
Views: 12074

Re: PHP API - Add/Remove/Edit PPP user

As I could understand... the script do not work with user as name, but you always have to find the id then work on the id of client right????
by hermeson
Wed Aug 09, 2017 2:01 pm
Forum: Scripting
Topic: PHP API - Add/Remove/Edit PPP user
Replies: 7
Views: 12074

Re: PHP API - Add/Remove/Edit PPP user

fu.. yeaaahhhh... work perfectly.... man!!! where can I find this kind of language? Mikrotik should let us know this kind of programming language, coz all examples I have found did not work. do u have any manual with those commands?

Thanks a lot!!!!
by hermeson
Tue Aug 08, 2017 6:05 pm
Forum: Scripting
Topic: PHP API - Add/Remove/Edit PPP user
Replies: 7
Views: 12074

PHP API - Add/Remove/Edit PPP user

Hi guys, finally I got in to this forum, I have been few weeks saying that I couldn't register.. anyway Could some help me to find out what I am doing wrong on this code? /ppp secret set [find name=hermeson] disabled=yes I tried: $API->write('/ppp/secret/set '.$user.' =disabled=yes'); then $API->wri...