Community discussions

MikroTik App
 
User avatar
nickb
Member
Member
Topic Author
Posts: 406
Joined: Thu Jan 26, 2006 6:24 pm
Location: Southeast Kansas
Contact:

Creating a "Free" hotspot

Thu Oct 09, 2008 11:49 pm

The user-manager seems quite great - if you want to take money.

However, what I would like to do is provide a "Free" hotspot, using all of the features of usermanager/hotspot.

What I mean is rather than having an open AP that someone can just hook up to, DHCP, and go, I want to have an AP with the hotspot login page, that someone can click a link to "Create a free account", then use that free account to log in to the hotspot.

The end goal is so that the advertisement feature can be employed.
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Creating a "Free" hotspot

Fri Oct 10, 2008 12:16 am

i tried and tried to find a way, but it forces payment and cannot be used free. we ended up ditching it because of that. created an external hotspot login page that basically clicked the Trial account login after collecting a few pieces of info.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Creating a "Free" hotspot

Wed Oct 15, 2008 4:36 pm

Yes, currently such option is not available.
But we have plans to implement it.
 
User avatar
nickb
Member
Member
Topic Author
Posts: 406
Joined: Thu Jan 26, 2006 6:24 pm
Location: Southeast Kansas
Contact:

Re: Creating a "Free" hotspot

Tue Oct 21, 2008 12:48 am

I worked around this by changing the login page to have a "Continue to Internet" link that clicks the trial.
 
User avatar
omega-00
Forum Guru
Forum Guru
Posts: 1167
Joined: Sat Jun 06, 2009 4:54 am
Location: Australia
Contact:

Re: Creating a "Free" hotspot

Tue Oct 21, 2008 6:52 am

For future visitors to this thread: as nickb said, the easiest way of creating a free-hotspot system imho is to use the trial account.

If you need to impose data limits and speed limits this is easy to do using the user profiles and hotspot server profile.
You can even limit them to things like "1 hour usage each day" or "1 hour usage at 1024k/1024k connection speed" etc etc.
 
ALCOOL
just joined
Posts: 16
Joined: Wed Oct 22, 2008 12:18 am
Location: MOSCOW, RUSSIA

Re: Creating a "Free" hotspot

Sat Dec 27, 2008 9:33 pm

trial account is great.
May be i want strange, but i'd like to add every new mac-addr in user manager. I want to get statistic for each mac and so on. Is it possible?
 
pjulian
Member Candidate
Member Candidate
Posts: 267
Joined: Mon May 31, 2004 12:16 pm
Location: Sydney, Australia

Re: Creating a "Free" hotspot

Sun Jan 25, 2009 1:18 pm

You guys need to think outside the square a little here, this is easy to achieve when you put some thought into it.
Just have a webserver running some PHP or perl scripting and HTML pages to create accounts on the fly and import the account info into your usermanager box. You could automatically use the MAC address if you wanted, just grab it from the browser session. You could do this running usermanager on the hotspot or an external machine. We even have the option to SMS the username and password to new customers, it's really not that hard with some basic scripting knowledge and variables, and yes, you can do throttling, session management, and anything else you can do normally with hotspot user profiles and usermanager.

Regards
Paul
 
mudasir
Member Candidate
Member Candidate
Posts: 278
Joined: Tue Apr 29, 2008 3:38 am
Location: Karachi, Pakistan
Contact:

Re: Creating a "Free" hotspot

Mon Feb 09, 2009 2:48 am

Hi,

Its not that hard. I would say dont even use Perl/PHP. This can be done using simple BASH scripts. I have recently provided a complete web-based user managemenet system for PPPoE to a Local client of about 700 users.

Not very difficult. Believe me, just generate SSH key and share it wil your MT machine, create a bash script that will add users, and thats it.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Creating a "Free" hotspot

Fri Feb 13, 2009 3:24 pm

Free HotSpot is possible not only with Trial.
It is possible with regular HTTP and HTTPS, as login page can be modified and correct username/password are predefined at login page code.
User connects to the Internet, advertisement information (login page) appears, user click on Login and use the Internet.
 
dssmiktik
Forum Veteran
Forum Veteran
Posts: 732
Joined: Fri Aug 17, 2007 8:42 am

Re: Creating a "Free" hotspot

Tue Jun 30, 2009 8:15 pm

mudasir: how did you create a web interface in BASH? I am using SSH with DSA key for login, everything works great there. I'd like to have a login page (hotspot login) then a "Click for free account" that asks for (email,name,phone,etc.), then when that get's submitted take all that info and insert into user manager. I know I can use PHP/Perl, but BASH sounded interesting (if I have the right idea here). I've also done many-a bash scripts as well.

I may be completely off, I apologize.
 
gammy69er
Frequent Visitor
Frequent Visitor
Posts: 79
Joined: Sun May 18, 2014 3:01 am

Re: Creating a "Free" hotspot

Fri Aug 14, 2015 7:14 am

have Just added a Script

http://forum.mikrotik.com/viewtopic.php?f=9&t=99515

this works well for me
 
haccks
newbie
Posts: 33
Joined: Tue Mar 29, 2016 2:10 pm

Re: Creating a "Free" hotspot

Thu Dec 29, 2016 5:07 pm

Free HotSpot is possible not only with Trial.
It is possible with regular HTTP and HTTPS, as login page can be modified and correct username/password are predefined at login page code.
User connects to the Internet, advertisement information (login page) appears, user click on Login and use the Internet.


Could you please provide some more information? I am able to create free hotspot with regular HTTP and HTTPS but the problem is that I am not able to set uptime limit for users.

Who is online

Users browsing this forum: bias89 and 19 guests