Page 1 of 1

hotspot / free logins / on-login script

Posted: Wed Sep 03, 2008 12:50 am
by changeip
Does anyone know if the user profile 'on-login' script can be passed any of the hotspot servlet variables?

/tool e-mail send from="email@example.org" to="email@example.org" subject="Hotspot Login" body=([:env print])
or
/tool e-mail send from="email@example.org" to="email@example.org" subject="Hotspot Login" body="$(mac)"

We are trying to allow users to get free internet access, but we need to collect some small info from them before they click the Trial link. UserManager won't work because there is no way to allow a free credit I guess.

If that isn't workable, are there any online radius servers that allow free logins ?

Re: hotspot / free logins / on-login script

Posted: Thu Jan 22, 2009 5:44 pm
by chris84
We are trying to allow users to get free internet access, but we need to collect some small info from them before they click the Trial link. UserManager won't work because there is no way to allow a free credit I guess.
we would like to do exactly the same, do you have found a solution for that problem?

Re: hotspot / free logins / on-login script

Posted: Thu Jan 22, 2009 6:53 pm
by changeip
I had to write an external hotspot login page that did it... couldnt figure out if the variables are active.

You could try using the on-login and setup a environment print to the log - maybe it will show what vars are populated at that moment.

Sam