Hotspot Account Generator

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?

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

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?

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

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! :slight_smile:

Is Radius server another MikroTik RouterOS?

No. It’s part of the Usermanager package. See this page http://wiki.mikrotik.com/wiki/User_Manager/Introduction#What_is_User_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.

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

I’m not sure if Radius Package is NPK file of RouterOS or another OS? Can you show me where to download it?

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--.npk to your RouterOS.
  4. Reboot your router and it will automatically install the User Manager.

Hope this helps.

It is USER_MAN.NPK? Already installed. Now my RouterOS is a Radius Server?

Start by reading the wiki page that has been linked to three times in this thread.

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:

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.

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/t/hotspot-user-account-generator/43644/1

Enjoy