Community discussions

Search found 19 matches

by tiran
Thu Jan 10, 2019 1:29 pm
Forum: The User Manager
Topic: Filter Users
Replies: 2
Views: 168

Re: Filter Users

i need report likes userman reports through API
by tiran
Thu Jan 10, 2019 1:27 pm
Forum: The User Manager
Topic: Filter Users
Replies: 2
Views: 168

Re: Filter Users

/tool user-manager session> print where from-time=7/14/201
8 till-time=7/14/2018 customer=admin or like this?????
by tiran
Thu Dec 27, 2018 9:27 am
Forum: General
Topic: IP Firewall Nat
Replies: 2
Views: 196

IP Firewall Nat

I need to filter dst-nat by device mac. My Nat as follows chain=dstnat action=dst-nat to-addresses=192.168.x.x to-ports=4000 protocol=tcp in-interface-list=WAN dst-port=8055 log=no log-prefix="" my requirement is to allow access or forward host to this dst-nat by allowed mac address. other host shou...
by tiran
Thu Dec 27, 2018 9:18 am
Forum: The User Manager
Topic: Filter Users
Replies: 2
Views: 168

Filter Users

How can i filter "tool/user-man/user print where last-seen= 12/12/2018" something likes that or "tool/user-man/user print where last-seen<= 12/12/2018". actually i need to filter users from winbox terminal.
by tiran
Tue Aug 28, 2018 5:55 pm
Forum: The User Manager
Topic: Move user to another uplink
Replies: 0
Views: 441

Move user to another uplink

I have two up links. one link is use to WiFi connection. now i need that, when user manager user reached user download quota i need to move user to use 2nd up link. is that possible or any other method? as a example : ISP 1 Up link connected to ether 1, ISP 2 up link connected to ether 2, LAN(hotspo...
by tiran
Tue Oct 03, 2017 8:39 pm
Forum: Wireless Networking
Topic: How Share BandWidth Between Two User?
Replies: 26
Views: 6056

Re: How Share BandWidth Between Two User?

i need thing like this userman user with 2 shared user. and two users can download until reach download limit. and also each device download limits are not equal. eg: total download limit with 500MB one device may can download 300 MB second device can download 200 MB
by tiran
Sat Sep 30, 2017 9:17 am
Forum: The User Manager
Topic: user manager profile limitation
Replies: 3
Views: 1463

Re: user manager profile limitation

i have another question too. i have created profile limitation as 100 MB transfer with 2 shared users. now i can use username and password for two devices. but actually user name not shared. that means both device can use 100 MB transfer limit per each total amount is 200 MB. is that correct. in the...
by tiran
Sat Sep 30, 2017 9:10 am
Forum: The User Manager
Topic: user manager profile limitation
Replies: 3
Views: 1463

Re: user manager profile limitation

this is the question in my case if user does not log offed user can use data more than user profile limitation.
by tiran
Thu Sep 21, 2017 8:37 am
Forum: The User Manager
Topic: user manager profile limitation
Replies: 3
Views: 1463

user manager profile limitation

in my hotspot when i create i add profile after that i connect device it show the profile automatically removed. and device can use unlimited data
by tiran
Sat Aug 06, 2016 5:52 pm
Forum: Scripting
Topic: hotspot management from PHP API
Replies: 13
Views: 5462

Re: hotspot management from PHP API

how to run this code from api

/tool user-manager user> remove [/tool user-manager user find username=101]
by tiran
Thu Jul 07, 2016 5:44 am
Forum: Scripting
Topic: Connection to the Router via nodeJS / Telnet
Replies: 7
Views: 1782

Re: Connection to the Router via nodeJS / Telnet

i tried node.js Api. as example i can view ip address in terminal by running node js code. but i want to run node js script on click html button. var api = require('mikronode');  var connection = new api('192.168.5.1','admin','admin@123');  connection.connect(function(conn) {     var chan=conn.openC...
by tiran
Sat Oct 31, 2015 5:57 pm
Forum: The User Manager
Topic: User manager reminders
Replies: 9
Views: 4468

Re: User manager reminders

actually i use limited packages such as 512MB, 1GB. i want to display a alert before end of this limits (ex. when user reach 480MB from 512MB, display massage ":dear customer you have 32 MB more".)
by tiran
Mon Sep 28, 2015 11:18 am
Forum: The User Manager
Topic: User manager reminders
Replies: 9
Views: 4468

Re: User manager reminders

you need to add this code in scripts is there any possibility to implement it for PPPOE USERS (with userman) ? i also try to add user reminds or alerts about their usage. but i couldn't yet find a proper solution. actually i want to alert on web browser before end user allocated transfer limit or t...
by tiran
Mon Aug 31, 2015 9:12 am
Forum: Scripting
Topic: Mikrotik API
Replies: 12
Views: 2082

Re: Mikrotik API

i want to view available user profile when i load the api. it is better if i can insert profiles into combo box item
by tiran
Fri Aug 21, 2015 10:35 pm
Forum: Scripting
Topic: Mikrotik API
Replies: 12
Views: 2082

Re: Mikrotik API

Remove the spaces in the profile line:
mk.Send("=profile=general", True)
ok done. now i want to develop this code to create user batch
by tiran
Fri Aug 14, 2015 9:11 am
Forum: Beginner Basics
Topic: listen command
Replies: 0
Views: 293

listen command

1.how to use listen command with visual basic 2010 API?
2. when i create new user, can i know just created new user details?
3. can i view available details from listen command or other command..?(eg view available user profiles)
by tiran
Tue Aug 11, 2015 9:46 am
Forum: Scripting
Topic: Mikrotik API
Replies: 12
Views: 2082

Re: Mikrotik API

Right. In Winbox's terminal, those are two different commands. Therefore, you need to send two separate sentences, e.g. mk.Send("/tool/user-manager/user/add", False) mk.Send("=customer=admin", False) mk.Send("=username=" & tb_name.Text & "", False) mk.Send("=password=" & tb_password.Text & "", Fals...
by tiran
Sat Aug 08, 2015 3:05 pm
Forum: Scripting
Topic: Mikrotik API
Replies: 12
Views: 2082

Re: Mikrotik API

If your code is literally a "copy&paste", then the line mk.Send("=;create-and-activate-profile=" & tb_name.Text & "", False) is where the problem is at. Remove the ";" at the start there. Also... Isn't "create-and-active-profile" a separate command altogether? actually i want to send following win ...
by tiran
Fri Aug 07, 2015 3:15 pm
Forum: Scripting
Topic: Mikrotik API
Replies: 12
Views: 2082

Re: Mikrotik API

mk.Send("/tool/user-manager/user/add", False) mk.Send("=customer=admin", False) mk.Send("=username=" & tb_name.Text & "", False) mk.Send("=password=" & tb_password.Text & "", False) mk.Send("=shared-users=3", False) mk.Send("=;create-and-activate-profile=" & tb_name.Text & "", False) mk.Send("=custo...