MAC-address of clients in to dns-name of hotspot.
Posted: 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?
Code: Select all
ip hotspot profile set hsprof1 dns-name=("sitename.com/login?MAC=" . $leaseActMAC)