Hotspot login script

Hello,

I have been searching the forum for over 6 hours, I have seen several questions similar to this, but no satisfactory answer.

I want to allow free access to a hotspot. But I want to collect the customers name and valid email address. It does NOT need to control access. The information will be used for marketing.

I have a RB750 with Hotspot and User Manager up and running.

Can this be done with a script on the RB750? I am trying to avoid a separate radius or web server.

Thanks in advance. :open_mouth:

No. The local pages don’t have persistant storage so you need something external
to store the marketing information you collect.

I am interested in your solution.

Thanks for the reply. I don’t want to store the information. I just want it forwarded via email. Still not possible?

I did this by using a separate web server. You could always give me 20$ and I can host the page for you for life : )

Here is the one we setup for someone else.
http://www.changeip.com/hotspot/lifegrocery.aspx

It basically just passes them back to the trial url to log them. The webpage will email you with the MAC address and their email address.

Not without an external web server. The built in servlets have no capabilities for scripting that would let you email. They can do simple if/then/else decisions, but nothing that can do what you require.

interested

you could try User-manager (installable on the router itself) where user could sign up and activate account through e-mail, thus you get valid address to use, and information is stored on the router.

Can some one help me with setting up this page on a external webserver.
Please help

it is too simple. u can save your customer’s e-mail and name in external text file in hotspot directory.

ulzii is it?..
i am glad i am not going to give free access to anyone
wouldn’t wanna have this kind of issue :slight_smile:

It may be a hack but this what we do for Trial scenarios:

  1. Create a button or link for users to receive a Trial on your hotspot login page.
  2. Have the link go to and outside webhost to a contact page collecting Email, Name, etc. (Just make sure your host is in the walled garden for them to access the site before logging into the hotspot).
  3. When they click on Submit it will take them back to the router to an alternate login page where they can click on a Trial link which begins their trial.

Hi
What is the simple solution for this ?
Can with user manager in free trial user to store the email address ?
Any help ??

Thx
Br

u can save your customer’s e-mail and name in external text file in hotspot directory.

And if you can do this, you should be able to write a script to email the contents of the file, and then run it periodically via the scheduler.

interested in a solution. Still…

It only can happen using external webserver.
There is a lot of already made solutions for this like :
Purple Wifi https://www.facebook.com/PurpleWiFi/
WinFi https://www.facebook.com/WinFiCo/
.. and others