Adding hotspot users with a script. Automating a hotel hots

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

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

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

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

ha ha !!! :smiley: :smiley:

What exactly was so funny in this topic?!

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?:slight_smile:
In one moth will be ready. Now we’re working on final features and doing active testing.

Edgars

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?

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

Edgars

Translation: it will work on and with a FreeRadius server.

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

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?

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

I use quick-r for my mikrotik hotspot administration:

http://www.q-linux.com/software/quick-r

Any news on this project? :sunglasses:

It is ready, but we are making the documentation now. Will keep you updated

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… :confused:

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

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