Page 1 of 1

Hotspot Account Generator

Posted: Fri Nov 20, 2009 8:08 am
by AdminSpeedNet
I create hotspot account manually in WinBox. But this is a very tired job to create one by one. Is there a way to generate random hotspot accounts?

Re: Hotspot Account Generator

Posted: Sat Nov 21, 2009 3:04 am
by nest
yes, use Usermanager for hotspot AAA and then, under "users / add batch" menu there is a simple method to generate many vouchers with random names.
Create Batch.gif

Re: Hotspot Account Generator

Posted: Sat Nov 21, 2009 5:39 am
by AdminSpeedNet
I've generated a few vouchers but it isn't exist when I try to login. Also no records in Hotspot --> Users when I check in WinBox. Does it generate and save to Mikrotik? or just generate?

Re: Hotspot Account Generator

Posted: Sat Nov 21, 2009 6:00 am
by fewi
User Manager is essentially a RADIUS server. It's a rather large topic, and too much to cover in a post.

The documentation is rather extensive and can be found here: http://wiki.mikrotik.com/wiki/User_Manager

Re: Hotspot Account Generator

Posted: Sat Nov 21, 2009 1:11 pm
by nest
Usermanager is a completely separate database, the users created in Usermanager are in a Radius database, not in "Winbox Users". Agree with fewi, you still have more to learn! :-)

Re: Hotspot Account Generator

Posted: Sun Nov 22, 2009 8:59 am
by AdminSpeedNet
Is Radius server another MikroTik RouterOS?

Re: Hotspot Account Generator

Posted: Sun Nov 22, 2009 1:30 pm
by nest
No. It's part of the Usermanager package. See this page http://wiki.mikrotik.com/wiki/User_Mana ... er_Manager

It is best practise that you host Usermanager on a seperate ROS, but there is nothing to stop you installing the package on the same router as your hotspot if you only have a limited number of accounts.

Re: Hotspot Account Generator

Posted: Mon Nov 23, 2009 6:08 am
by AdminSpeedNet
So Radius server can be install in MikroTik RouterOS?

Re: Hotspot Account Generator

Posted: Mon Nov 23, 2009 6:46 am
by dssmiktik
So Radius server can be install in MikroTik RouterOS?
UserManager is a RADIUS server, suited for use as authentication mechanism for Mikrotik devices. UserManager can be installed on Mikrotik RouterOS.

You could use the full FreeRADIUS package on a separate machine (not Mikrotik), but you may not need all of its features, or want to spend to time to set it up. This is one of the areas where Mikrotik UserManager shines.

For more information on Mikrotik UserManager, visit:
http://wiki.mikrotik.com/wiki/User_Manager

Re: Hotspot Account Generator

Posted: Mon Nov 23, 2009 6:56 am
by AdminSpeedNet
I'm not sure if Radius Package is NPK file of RouterOS or another OS? Can you show me where to download it?

Re: Hotspot Account Generator

Posted: Mon Nov 23, 2009 7:04 am
by dssmiktik
Yes, User Manager is an NPK file for RouterOS.

The latest User Manager package can be downloaded from:
http://www.mikrotik.com/download.html

1. Choose your RouterOS model, then choose the version.
2. Select the "All Packages" link.
3. Unzip it, and copy user-manager-<version>-<system>.npk to your RouterOS.
4. Reboot your router and it will automatically install the User Manager.

Hope this helps.

Re: Hotspot Account Generator

Posted: Mon Nov 23, 2009 7:18 am
by AdminSpeedNet
It is USER_MAN.NPK? Already installed. Now my RouterOS is a Radius Server?

Re: Hotspot Account Generator

Posted: Mon Nov 23, 2009 7:32 am
by fewi
Start by reading the wiki page that has been linked to three times in this thread.

Re: Hotspot Account Generator

Posted: Mon Nov 23, 2009 7:44 am
by AdminSpeedNet
That is a complete understanding manual. It is really difficult to read them all. Can you just teach me the easy part first before I learn the detail of all function about Radius? Can you show me how to install and basic configuration before the Advanced Part?

Re: Hotspot Account Generator

Posted: Mon Nov 23, 2009 11:01 am
by dssmiktik
That is a complete understanding manual. It is really difficult to read them all. Can you just teach me the easy part first before I learn the detail of all function about Radius? Can you show me how to install and basic configuration before the Advanced Part?
AdminSpeedNet,
Please, as fewi mentioned:
User Manager is essentially a RADIUS server. It's a rather large topic, and too much to cover in a post.
The documentation is rather extensive and can be found here: http://wiki.mikrotik.com/wiki/User_Manager
Report this post
this is quite an extensive topic. Mikrotik User Manager has many options and functionality. If you have a question about specific functionality within User Manager, feel free to ask it, but this forum is NOT for complete training on RouterOS.

For training: http://training.mikrotik.com/
You can find a consultant for Mikrotik here: http://www.mikrotik.com/consultants.html
If you still have troubles, consider contacting Mikrotik Support: support@mikrotik.com

Everyone has to equally read the same manual / wiki / forums to find answers.

Re: Hotspot Account Generator

Posted: Wed Jan 26, 2011 12:00 pm
by andreacoppini
Sorry for hijacking this thread, but as AdminSpeedNet stated, User Manager can be too cumbersome in some scenarios.

For this reason I've written a simple hotspot account generator, please see this thread --> http://forum.mikrotik.com/viewtopic.php?t=48111

Enjoy