Simple external login page for vSZ

  • 1
  • Question
  • Updated 2 years ago
Hi guys!

I know there is a document named "Hotspot WISPr Reference Guide for SmartZone" and there is a complete description about how to use a RESTful-Jason like system to obtain information about users, logins, etc., But it's very dificult to deploy it.

I only need to use a very simple form in a external web server to get the username and password, and send them to the UAM device; as the same way like works the hotspot on Stand alone APs or Zone directors.

Is there a simple way to deploy that very simple form in the web server to use it with Virtual Smart Zone vSZ version 3 and SCG200?

Thanks a lot
Photo of Andres Gomez

Andres Gomez

  • 9 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of nuwan weerasinghe

nuwan weerasinghe

  • 15 Posts
  • 0 Reply Likes
Hi All,

I also have same above requirement, Can you someone please advice  on this ?

Thanks lot
Photo of Ahamed A

Ahamed A, Employee

  • 11 Posts
  • 0 Reply Likes
Hi Andres and Nuwan,

Good day!

I see that you are trying to configure a hotspot service with a simple form of external web url without using NBI. With NBI portal configuration, every json post is accompanied by NBI password which you configure in the vSZ>>Northbound interface.

The reason for this security is to ensure that only authorized external web portals reaches the NBI interface.

But you can also perform a simple html page as below on an external windows server or any web server which doesn't require json communication.

<!-- Secure Hotspot Captive Portal Login Page Example -->

<!-- Unauthorized clients should be redirected here first. -->



<div id="border" style="width:850px;height:1000px;border:1px solid gray;">


<title>Welcome to the public Wi-Fi network</title>


<!-- Files containing JavaScript functions -->

<script type="text/javascript" src="hotspot.js"></script>

<!-- Login -->

<div id="login">

<script type="text/javascript">hotspot_login_form()</script>


<p align=center>

<img src="images/RuckusLogo.jpg" width=300 align="center">

<h2>Welcome to the public Wi-Fi network</h2>


<p>You must login before wireless access is granted.</p>


<div id="terms" style="width:600px;height:200px;border:6px double orange;">

<h3>Terms and Conditions</h3><br>

With great power comes great responsibility.<br>

Do no harm.<br>

Love one another.<br>

Eat more fruit and vegetables.<br>

</div id="terms">

<p>Clicking the "I Agree" button indicates you agree to the terms and conditions of wireless usage.</p>


Username:<input type="text" name="username" size="20" maxlength="128">

Password:<input type="password" name="password" size="20" maxlength="128">

<input type="submit" name="button" value="I Agree">







<script type="text/javascript">update_display()</script>


<!-- End -->

<!-- Check if there are any messages to display. These are usually errors such as "login failed" -->

<center><script type="text/javascript">message();</script></center>



</div id="border">




PS: This is a sample script used. Please edit as per your requirement.

Hope this helps. Please let me know if that worked or not.

Photo of nuwan weerasinghe

nuwan weerasinghe

  • 15 Posts
  • 0 Reply Likes
Hi Ahamed,

Thanks lot for your reply and these information's are very useful.

But I need your kind support to clarify some thing further,

I have R500 AP's which integrated to VSZ.

Currently i am understand that, once AP managed by ZD/VSZ , we need to manage all client authentication and management from ZD/VSZ. (please correct me if i am wrong)

 Is there any possible way me to allow internet access to client by calling API or web request to the AP (not toward VSZ)?