Community discussions

MikroTik App
 
User avatar
bjohns
Member Candidate
Member Candidate
Topic Author
Posts: 271
Joined: Sat May 29, 2004 4:11 am
Location: Sippy Downs, Australia
Contact:

Hotspot - Location/Location ID

Fri Jan 12, 2007 3:38 am

Hello,

Referring to the Location ID and Location Name RADIUS values in the Hotspot Server Profiles.

Are these values available as a var in the hotspot login page?

I want the location passed back to the backend server, and it would be better if I could avoid statically setting this in the login redirect page (means I can use one page for all hotspot instances on the one MT).

I'm guessing it can be done using the Radius<id> tag:
radius<id> - show the attribute identified with <id> in text string form

Is this correct? If so, what's the correct format?
"$(radius-WISPr-Location-ID)"
?

Thanks.
 
User avatar
bjohns
Member Candidate
Member Candidate
Topic Author
Posts: 271
Joined: Sat May 29, 2004 4:11 am
Location: Sippy Downs, Australia
Contact:

Tue Jan 16, 2007 1:57 am

Any other advice on how to send back the location-id of the hotspot to the remote login site?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Tue Jan 16, 2007 9:31 am

Variables
$(location-id)
$(location-name)
are available in all hotspot html pages. It was added in version 2.9.36.
 
User avatar
bjohns
Member Candidate
Member Candidate
Topic Author
Posts: 271
Joined: Sat May 29, 2004 4:11 am
Location: Sippy Downs, Australia
Contact:

Tue Jan 16, 2007 9:39 am

Variables
$(location-id)
$(location-name)
are available in all hotspot html pages. It was added in version 2.9.36.
Excellent! Thanks.

Who is online

Users browsing this forum: No registered users and 9 guests