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.
Asked
Active
Viewed 226 times
1
-
A website does not have access to a computer mac address. – enapupe Nov 26 '18 at 19:14
1 Answers
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