Community discussions

MikroTik App
 
mo1seev
just joined
Topic Author
Posts: 4
Joined: Fri Nov 13, 2015 4:54 pm

MAC-address of clients in to dns-name of hotspot.

Tue Dec 15, 2015 5:39 pm

Hello! I have necessary when forwarding to hotspot dns-name inserted in the url MAC-address of the client (Example: http://www.sitename.com/login?MAC=XX:XX:XX:XX:XX:XX) for authentication. Is that possible? I try use script on DHCP-server with $leaseActMAC, but this is wrong method. Can you help me?
ip hotspot profile set hsprof1 dns-name=("sitename.com/login?MAC=" . $leaseActMAC)