Community discussions

MikroTik App
 
Mike
just joined
Topic Author
Posts: 3
Joined: Sun Sep 26, 2004 9:48 pm
Location: Illinois, USA

Adding hotspot users with a script. Automating a hotel hots

Sun Sep 26, 2004 9:51 pm

I am looking at making some sort of scripting tool that will allow a hotel front desk to enter a form and add a user ti their hotspot users, with en expiration time also from the form. Something that the front desk person can fill out and create an account without having them get into the MT command line interface or Winbox. Is their a way to have a script uploaded to the MT box and then executed?

Thanks for your help

Mike Delp
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Mon Sep 27, 2004 12:09 pm

we are working on such a project. Soon will be available for public use. It will allow the administrator of the hotspot gateway to manage the clients, give them time access and a lot of other features.

Edgars
 
Mike
just joined
Topic Author
Posts: 3
Joined: Sun Sep 26, 2004 9:48 pm
Location: Illinois, USA

Tue Sep 28, 2004 1:27 am

Do you have a time frame for this functionality? WIll it be implemented with the radius work you mentioned in other posts, or will it work with the users table inside of the MT box?

Thanks for the reply

Mike Delp
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Tue Sep 28, 2004 2:11 pm

there is no concrete date when it will be accomplished. But i think it will take a month or two at the worst case.
This system will use radius server not the router's resources .

Edgars
 
lgl007078
just joined
Posts: 4
Joined: Sun Oct 03, 2004 4:13 pm

wonderful !!!!

Sun Oct 03, 2004 4:44 pm

ha ha !!! :D :D
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Sun Oct 03, 2004 8:15 pm

What exactly was so funny in this topic?!
 
ilero
newbie
Posts: 49
Joined: Fri Jun 04, 2004 3:51 pm

Wed Oct 06, 2004 5:48 am

Edzix,

You stated in July that it would only be a couple months before this software was available... When should we expect it?
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Wed Oct 06, 2004 12:12 pm

Edzix,

You stated in July that it would only be a couple months before this software was available... When should we expect it?
august and september are a couple of months, even less, isn't it so?:)
In one moth will be ready. Now we're working on final features and doing active testing.

Edgars
 
ilero
newbie
Posts: 49
Joined: Fri Jun 04, 2004 3:51 pm

Wed Oct 06, 2004 11:14 pm

Edzix,

Thanks... And yes, you are correct - It is just now been two months.

Just a quick question: Will this software interface with a Radius server or directly with a Mikrotik?
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Thu Oct 07, 2004 9:36 am

it will be like a bridge between RouterOS and radius server .

Edgars
 
User avatar
lastguru
Member
Member
Posts: 432
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Thu Oct 07, 2004 9:57 pm

Translation: it will work on and with a FreeRadius server.
 
User avatar
bjohns
Member Candidate
Member Candidate
Posts: 271
Joined: Sat May 29, 2004 4:11 am
Location: Sippy Downs, Australia
Contact:

Fri Oct 08, 2004 12:48 am

Sounds great, I'd rather something more solid than the dodgy system I tossed together using a hacked to bits dialupadmin interface.

I'd be happy to beta test etc
 
smoker
just joined
Posts: 3
Joined: Fri Oct 08, 2004 10:05 am
Location: Belgium

Fri Oct 08, 2004 10:10 am

Will it be possible to manage several hotel hotspots with one centrally managed radius server but with no roaming?
Meaning if I sell a subscription in HotelA the user cannot use it in HotelB?
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Fri Oct 08, 2004 10:39 am

you will be able to manage several hotspot gateways, roaming will not be possible at the start version. But we can think about adding such a feature.

Edgars
Last edited by edzix on Mon Oct 11, 2004 10:39 am, edited 1 time in total.
 
ofasa
Member Candidate
Member Candidate
Posts: 102
Joined: Tue Jul 20, 2004 11:42 pm

Sun Oct 10, 2004 4:06 pm

I use quick-r for my mikrotik hotspot administration:

http://www.q-linux.com/software/quick-r
 
User avatar
evert
Member Candidate
Member Candidate
Posts: 130
Joined: Thu Jul 15, 2004 3:06 pm
Location: Sarpsborg, Norway
Contact:

Fri Nov 12, 2004 4:36 pm

it will be like a bridge between RouterOS and radius server .

Edgars

Any news on this project? 8)
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26954
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Fri Nov 12, 2004 4:53 pm

It is ready, but we are making the documentation now. Will keep you updated
 
User avatar
evert
Member Candidate
Member Candidate
Posts: 130
Joined: Thu Jul 15, 2004 3:06 pm
Location: Sarpsborg, Norway
Contact:

Tue Nov 16, 2004 3:51 pm

BTW, who has gotten quick-r to work 100% with FreeRadius/Mikrotik? I'm having some trouble getting the authentication to function the way it should. Quick-R uses %w, but Freeradius doesn't... :?
 
sarky
newbie
Posts: 37
Joined: Wed Jun 30, 2004 3:32 am

Wed Dec 01, 2004 11:11 am

I am using Freeradius to do such a thing, but it works on activation process i.e: user logs in if the account is new then the user needs to activate the account using a php script when the account is activated then the user can log on and all the user account details will be copied to the right path.

Seems to work well the only disadvantage using free radius, if you restrict a user for 3hours internet time, the user can come in as many times as he wants until the account expires or the 3hours are up..


Sarky
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Fri Dec 03, 2004 2:21 pm

Sarky, you can wite some script to make this work a bit different. Have you tried Mikrotik HotSpot Manager. We have, for example, timeout that starts decreasing stage only after the first login and sets immediately a deadline for the user. And it doesn't matter wheter the user is online or not after 1st login.

Edgars
 
sarky
newbie
Posts: 37
Joined: Wed Jun 30, 2004 3:32 am

Fri Dec 03, 2004 3:10 pm

Hi Edgars

Yeah i know that Hotspot manager works in a different way, i have been trying for a while to do that via radius but i had to settle for activation style due to restriction with radius.

Can you give me an example of using a script to make it work another way?


Thanx
sarky
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Fri Dec 03, 2004 3:25 pm

sorry, i have no rights to do that!

I can tell you that you have to use DB for this. When the user is trying to authenticate, call that script eith radius attribute. And there do the necessary collations with current time.

Edgars