Community discussions

MikroTik App
 
User avatar
Gunzoid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Tue Jun 12, 2007 6:21 am
Location: New Hampshire, USA
Contact:

Dazed and confused-Userman vs. hotspot

Mon Feb 27, 2012 12:07 am

I will confess my ignorance of both Usermanager and Hotspot immediately.
I have been using MikroTik boards for a few years but just haven't had to deal with authentication and radius servers-now I do. Here is the setup:
MT 493 AH running 5.13, usermanager 5.13 installed.

ether1-gateway- 10.1.4.3/29
ether2- DHCP client network 192.168.2.0/24, 192.168.2.1 DHCP server
ether3- DHCP client network 192.168.3.0/24, 192.168.3.1 DHCP server
ether4- DHCP client network 192.168.4.0/24, 192.168.4.1 DHCP server
ether5- DHCP client network 192.168.5.0/24, 192.168.5.1 DHCP server

everything is maqueraded out ether1

The goal: random client connects, is logged in automatically and is presented with total download/upload bytes since first login. Client is disconnected when a preset limit is reached (say 5GB down, 1GB up). Connection speeds controlled by either Usermanager or PCQ?

The question: I don't know if both Usermanager and Hotspot are required to accomplish this, or just one or the other.
If both are required, can their IP address both be 10.1.4.3 on ether1, or do I need 4 instances of Hotspot, one each on of the 4 LAN subnets?

Thanks very much if you can point me in the right direction. I have read everything I can find, but I'm still spinning my wheels at step 1.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Dazed and confused-Userman vs. hotspot

Mon Feb 27, 2012 10:44 am

User Manager is just a database of Hotspot users. It doesn't work alone, it needs Hotspot to do the actual authentication. Hotspot itself can work without User Manager, User manager is best if you have many hotspot servers, but want to use one central user database, so that one user can connect to any hotspot with the same user/pass.
 
User avatar
Gunzoid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Tue Jun 12, 2007 6:21 am
Location: New Hampshire, USA
Contact:

Re: Dazed and confused-Userman vs. hotspot

Mon Feb 27, 2012 2:55 pm

Thank you Normis.

So in my case it would be best to run 4 hotspot servers, one on each subnet, and instruct them to use radius?

I have read that Userman log files can occupy a lot of disk space.
Can logging be turned off right from the start?
I don't need to export any database files, only keep track of cumulative bytes and shutdown or slow down a client when the preset limit is reached.

Thanks for the help.
 
mono2
just joined
Posts: 3
Joined: Thu Apr 26, 2012 3:19 pm

Re: Dazed and confused-Userman vs. hotspot

Fri Apr 27, 2012 6:52 pm

Yes turn off logging it takes up alot of space!

I have a very similar setup, specify the pool names in the profiles section for each subnet you are using.

You will setup the upload/download limits in userman but setup a PCQ in your routerboard under queues

Who is online

Users browsing this forum: No registered users and 20 guests