Community discussions

Search found 4 matches

by DavidGB
Thu Sep 12, 2019 4:43 pm
Forum: Scripting
Topic: Know connected MAC-Adress
Replies: 8
Views: 917

Re: Know connected MAC-Adress

My purpose is to send "1" or "0" by http to another server if a mac is connected to the router or not. This is the code that I currently have in scheduler: { :local iPhone [/int wire reg find mac-address="11:22:33:44:55:66"]; :if ($iPhone!="") do={ /tool fetch url="http://remote:"<PASS>@<IP>" http-d...
by DavidGB
Thu Sep 12, 2019 10:10 am
Forum: Scripting
Topic: Know connected MAC-Adress
Replies: 8
Views: 917

Know connected MAC-Adress

Hi, I have a microtik router that gives DHCP and I would like to know the MAC of connected devices. The following script tells me if a device is connected to the microtic by Wlan: :local iPhone [/int wire reg find mac-address="A8:9C:ED:CD:F8:12"]; But I want to know dhcp clients. In IP / ARP I can s...
by DavidGB
Fri Sep 14, 2018 9:36 pm
Forum: Scripting
Topic: Get Mac Address first interface
Replies: 4
Views: 15490

Re: Get Mac Address first interface

Hi, I need help with my code... I get the MAC from the Wifi devices of the Microtic but I need the ones from the ISP router. I'm trying with your code but it does not work for me. Somebody could help me? This is my code: { :local iPhone [/int wire reg find mac-address="38:71:DE:E4:F8:FB"]; :if ($iPh...
by DavidGB
Fri Sep 14, 2018 9:31 pm
Forum: Scripting
Topic: Get Mac Address first interface
Replies: 4
Views: 15490

Re: Get Mac Address first interface

Hi, I need help with my code. I get mac adress from microtik wifi client to do some actions but I need to know mac adress from my ISP router. I have conected this router to ether1 and I´ve tried your code but doesn´t work. Can you help me? My code is the following: { :local iPhone [/int wire reg fin...