Community discussions

MikroTik App
 
xbaha
Member Candidate
Member Candidate
Topic Author
Posts: 111
Joined: Fri Mar 09, 2007 12:16 pm

"download" & "upload" limits

Fri Apr 13, 2007 1:54 am

When I create a user, I get the option for the "download" & "upload" limits.
But when I want to add a batch, say 10 users, I don’t get the option to set the download & upload limits, any way to do that?

Thanks.
 
ptsip
newbie
Posts: 43
Joined: Fri Jan 20, 2006 7:17 pm

Wed May 02, 2007 5:39 pm

Using default hotspot user profile.
Just set Rate Limit (Tx/Rx).
To see if running, on WinBox pls see on Queues/Simple Queues
 
xbaha
Member Candidate
Member Candidate
Topic Author
Posts: 111
Joined: Fri Mar 09, 2007 12:16 pm

Wed May 02, 2007 6:34 pm

what if i want to create 1000 users?
 
ptsip
newbie
Posts: 43
Joined: Fri Jan 20, 2006 7:17 pm

Thu May 03, 2007 6:28 am

All of your 1000-user will be using default user-profile in hotspot.
 
User avatar
balimore
Forum Veteran
Forum Veteran
Posts: 884
Joined: Mon Apr 10, 2006 3:38 am

Thu May 03, 2007 7:04 am

----
yup..

we used userman for manage user hotspot and pppoe service, we made difference queue rule, and we created BW rules from userman for service like this:

- pospaid hostspot, many packages and difference speed.
- prepaid hotspot, many vouchers and difference speed too.

we like userman, cos with them, they made easy and flexible for our network.

regards
Hasbullah.com
---
 
xbaha
Member Candidate
Member Candidate
Topic Author
Posts: 111
Joined: Fri Mar 09, 2007 12:16 pm

Thu May 03, 2007 11:53 am

i didnt know that my 1000 user uses the default profile in hotspot!
how can i assign a user to a specific profile in hotspot? if i have more than one profile?

thanks.
 
pjulian
Member Candidate
Member Candidate
Posts: 267
Joined: Mon May 31, 2004 12:16 pm
Location: Sydney, Australia

Thu May 03, 2007 4:20 pm

I wrote a database to handle all this, it constructs a text file which I FTP to the MT box running user manager. It then has a script that runs every 15 minutes to import the new users. By setting the group name in the user attributes, this determines which user profile is used. If the profile doesn't exist you get a config error and the user can't login. I ended up modifying the errors.txt to change the error description to say that they weren't allowed to login to that hotspot with that userID and password. If they get the userID or password wrong it still tells them so though, so it stills works fine.
The database also allows you to track which userID's were assigned to which hotspot :-)

Regards
Paul
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Thu May 03, 2007 4:24 pm

Group attribute is used to specify HotSpot profile, currently it is not added to Add Batch.
 
pjulian
Member Candidate
Member Candidate
Posts: 267
Joined: Mon May 31, 2004 12:16 pm
Location: Sydney, Australia

Fri May 04, 2007 12:46 am

Sergejs, you may not be able to add it in the Mikrotik User Manager batch creation process, but you can generate a file which you can then use as a script to create your users, and by using the group-name attribute you can control the user profile that the user uses.
Too many use's in that sentence :-) or was that users....

Here is an example:
/tool user-manager user add username=Username password=12345 group=hotspotuserprofilename location=hotspotlocation upload-limit=0 uptime-limit=1h subscriber=myhotspots

This works a treat !
I also use the location attribute to track which users were assigned to which hotspot. That way you can look up any user and instantly know whether they are public or private hotspot user by the group name(maybe for conference centre or something), and also which hotspot the prepaid card was sold to by using the location attribute.

Regards
Paul
 
User avatar
Akangage
newbie
Posts: 45
Joined: Tue May 29, 2007 2:33 pm
Location: Indonesia
Contact:

Re: "download" & "upload" limits

Wed Jul 11, 2007 4:54 pm

My User Manager able to add Limit for Download and upload even you say its for 10 or up to 1000 user simultaneously, just "check" the "Rate Limit" in Batch the set the rate limit Tx for Download and Rx for Upload!! Then all user will added same rate limit for Upload and Download...

Well,it's that what you mean or???
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: "download" & "upload" limits

Thu Jul 12, 2007 8:33 am

More information no 3.0beta10 CHANGELOG:
*) user manager - added download/upload limit and group fields to batch-add
form;

Who is online

Users browsing this forum: No registered users and 4 guests