1

I'm currently working on a Hotspot using javascript and Mikrotik API. Do you know how to send the mac address to the Mikrotik? Or How should I work it? I'm currently creating the user with the IP.

hiad
  • 398
  • 3
  • 17

1 Answers1

0

You can use the html page on portal for provide the mac address. So, you can add it as a input hidden, something like that:

<input name="mac" type="hidden" value="$(mac)"/>

After that you can call your javascript for talk with Mikrotik API.

David L
  • 703
  • 6
  • 22