Setup guide
• hostname - DNS name or IP address (if DNS name is not given) of the HotSpot Servlet
("hotspot.example.net")
• identity - RouterOS identity name ("Wandy")
• ip - IP address of the client ("10.5.50.2")
• link-logout - link to logout ("http://10.5.50.1/logout")
• link-login - link to login including original URL requested
("http://10.5.50.1/login?dst=http://www.example.com/")
• link-status - link to status ("http://10.5.50.1/status")
• link-orig - original URL requested ("http://www.example.com/")
• session-id - value of 'session-id' parameter in the last request
• var - value of 'var' parameter in the last request
• redirect.html, rlogin.html, rstatus.html, fstatus.html, flogout.html:
• link-redirect - to which redirect has to be done (for example,
"http://www.example.com/")
• login.html, flogin.html:
• mac - MAC address ("01:23:45:67:89:AB"; if unknown, then contains "---")
• error - error message, if previous login failed ("invalid username or password")
• input-user - name and value of username input field ("name=user value=john")
• input-password - name of password input field ("name=password")
• input-popup - name and value of pop-up input field ("name=popup checked")
• form-input - name of input form and login JavaScript for password encoding ("name=login
onSubmit=...")
• main - MD5 encryption JavaScript and form for encrypted password
• user - value of username input field ("john")
• domain - value of domain ("example")
• popup - whether to pop-up checkbox ("true" or "false")
• chap-id - value of chap ID ("\371")
• chap-challenge - value of chap challenge
("\357\015\330\013\021\234\145\245\303\253\142\246\133\175\375\316")
• alogin.html:
• link-redirect - to which redirect has to be done ("http://www.example.com/")
• login-time - time in seconds after which redirect has to be done ("9")
• popup - if alogin.html should pop-up status in new window ("true" or "false")
• logout.html:
• username - name ("john")
• ip - IP address ("192.168.0.222")
• mac - MAC address ("01:23:45:67:89:AB")
• uptime - session uptime ("10h2m33s")
• session-timeout - session timeout left for the user ("5h" or "---" if none)
• session-valid-till - date and time when session will expire ("Sep/21/2003 16:12:33" or "---" if
there is no session-timeout)
• idle-timeout - idle timeout ("20m" or "---" if none)
• bytes-in - number of bytes received from the user ("15423")
• bytes-out - number of bytes sent to the user ("11352")
• packets-in - number of packets received from the user ("251")
• packets-out - number of packets sent to the user ("211")