Now, I want to use an external captive portal, and the external server needs to know the user's MAC as well as the MAC of the AP via which the user is connected. This is the content of the login.html page I am using on the Hotspot server:
Code: Select all
<html>
<head>
<meta http-equiv="refresh" content="0; url=http://splash.page.com?userMac=$(mac)&clientIp=$(ip)&userUrl=$(link-orig)&loginUrl=$(link-login-only)" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
</head>
</html>