Community discussions

MikroTik App

Search found 15 matches

by juanCasseus
Tue Jul 28, 2009 11:11 pm
Forum: The User Manager
Topic: Doubts About Local HotSpot and USER MANAGER
Replies: 0
Views: 1214

Doubts About Local HotSpot and USER MANAGER

Please HELP... I did read about User Manager but In some place I read that I have to delete all configuration of the local Hotspot in each router to be able to use the User Manager: http://wiki.mikrotik.com/wiki/User_Mana ... ot_Example * Note, first local HotSpot database is consulted, then User Ma...
by juanCasseus
Tue Jul 28, 2009 11:05 pm
Forum: Scripting
Topic: API PHP commands to disable an user in HOTSpot
Replies: 15
Views: 13931

Re: API PHP commands to disable an user in HOTSpot

Please I did read about User Manager but In some place I read that I have to delete all configuration of the Hotspot in each router to be able to use the User Manager: http://wiki.mikrotik.com/wiki/User_Manager/Hotspot_Example * Note, first local HotSpot database is consulted, then User Manager data...
by juanCasseus
Mon Jul 27, 2009 9:44 pm
Forum: Scripting
Topic: API PHP commands to disable an user in HOTSpot
Replies: 15
Views: 13931

Re: API PHP commands to disable an user in HOTSpot

Thks.. It is working 2 more things 1 ) One more question. I will use it to enable/disable, add/ remove user a lot of other things etc etc etc.., Do I have to be carefull with something,, or waht will I could not do or waht command are possible to execute or which ones not.. 2) If I use a User Manage...
by juanCasseus
Fri Jul 24, 2009 8:40 pm
Forum: Scripting
Topic: API PHP commands to disable an user in HOTSpot
Replies: 15
Views: 13931

Re: API PHP commands to disable an user in HOTSpot

So. to get the .id I have to run the funtion read() and put into a variable what is sending the router , then send the command to disable/enable with that varibale,, If I am Ok.. please could you show me with all lines commands that i have to use (I am using the funtion that are in wiki.mikrotik.api...
by juanCasseus
Fri Jul 24, 2009 7:11 pm
Forum: Scripting
Topic: API PHP commands to disable an user in HOTSpot
Replies: 15
Views: 13931

Re: API PHP commands to disable an user in HOTSpot

I am asking because I am doing a aplication in PHP to disable or enable the MAC .. so my program will ask me .. introduce the MAC TO DISABLE, I will put the MAC, my program take these , put into a variable and the send the comands to the router to disable that MAC. I hope that now I explain correctl...
by juanCasseus
Fri Jul 24, 2009 6:47 pm
Forum: Scripting
Topic: API PHP commands to disable an user in HOTSpot
Replies: 15
Views: 13931

Re: API PHP commands to disable an user in HOTSpot

Sorry ( I dont know how to say in englis closed, no smart,... but I dont get it. ) I will put in my PHP API program all these and in that same form: /ip/hotspot/user/print =.proplist=.id ?name=00:02:55:BF:07:59 /ip/hotspot/user/set =.id=your_id_here What does mean "your_id_here",,, I am do...
by juanCasseus
Fri Jul 24, 2009 5:11 am
Forum: General
Topic: How control several Mikrotik`s not one by one
Replies: 26
Views: 7956

How control several Mikrotik`s not one by one

Hi, How Could I change some thing in several Mikrotiks ( for example add a new rule in filter in all my Mikrotik`s ) not one by one Could I do a script in one mikrotik that change some or rules in another mikrotik, if it is possible How? Thanks It is because I have more than 40 Mikrotiks on my netwo...
by juanCasseus
Fri Jul 24, 2009 2:01 am
Forum: Scripting
Topic: API PHP commands to disable an user in HOTSpot
Replies: 15
Views: 13931

Re: API PHP commands to disable an user in HOTSpot

Hi I will do the next in CLI To disable: ip hot use set [find name=00:02:55:BF:07:59] disable=yes To enable ip hot use set [find name=00:02:55:BF:07:59] disable=no To remove ip hot use remove [find name=00:02:55:BF:07:59] I have seen some samples but I dont understan the las part (both cases enable/...
by juanCasseus
Fri Jul 24, 2009 1:37 am
Forum: Scripting
Topic: API - ACL Control
Replies: 37
Views: 22152

Re: API - ACL Control

HI,, I Understan all to remove, what I dont understand is when you say <your_id_here> /interface/wireless/access-list/print .proplist=.id ?comment=teste ******* isnot ?=comment=teste /interface/wireless/access-list/remove =.id=<your_id_here> ****What mean <your_id_here> What exactly Do I have to put...
by juanCasseus
Thu Jul 23, 2009 4:39 pm
Forum: Scripting
Topic: API PHP commands to disable an user in HOTSpot
Replies: 15
Views: 13931

Re: API PHP commands to disable an user in HOTSpot

Sorry could you show me an example: I have in my PHP-API program $API->write('/ip/hotspot/host/print'); But now I dont know how remove an user ( we loging by mac, so the name the user is for example 00:00:00:00:00) Sorry for my question but I understand just a litter englis and thas why I ask for ex...
by juanCasseus
Thu Jul 23, 2009 4:31 pm
Forum: Scripting
Topic: Please wich one is Funtion API-PHP write() Please tested
Replies: 3
Views: 1258

Re: Please wich one is Funtion API-PHP write() Please tested

Tks for your replay. My english is bad. Please could you send me a small example that to do after the print command command OR better if you can show me how remove and user in hotspot (we loging by MAC so the name is a MAC) I have in my PHP-API program $API->write('/ip/hotspot/user/print'); Afther t...
by juanCasseus
Wed Jul 22, 2009 5:34 pm
Forum: Scripting
Topic: Please wich one is Funtion API-PHP write() Please tested
Replies: 3
Views: 1258

Please wich one is Funtion API-PHP write() Please tested

HI I saw the funtion write() of PHP API in wiki.mikrotik ...but I would like to know if it is ok. so please could some one send to me where I can find funtion to use in PHP API and confirm that the funtion are good. Best Regards PD How i Know the .id if the item that i want to change, for example di...
by juanCasseus
Wed Jul 22, 2009 5:23 pm
Forum: Scripting
Topic: API PHP commands to disable an user in HOTSpot
Replies: 15
Views: 13931

API PHP commands to disable an user in HOTSpot

Hi

I am new in PHP API command, please I need an example to disable an user in HotSpot that login by MAC
Please let`s think that the MAC is 00:00:00:00:00.
Also I need to remove the MAC 00:00:00:00:00 in /ip hotspot host .

Could some one please send an example

Thanks
by juanCasseus
Mon Jul 20, 2009 12:23 am
Forum: The User Manager
Topic: Custom Authentication for MikroTik Wireless Authentication
Replies: 2
Views: 2482

Re: Custom Authentication for MikroTik Wireless Authentication

hi,
i have a trouble , i have the api for php but i dont know how i can to send a command to disable and enable with some ip address i have mikrotik but i use that with a interface, i need to change that to use it in a web page
by juanCasseus
Mon Jul 20, 2009 12:19 am
Forum: Scripting
Topic: How to edit and delete added IP address
Replies: 12
Views: 51468

Re: How to edit and delete added IP address

hi people!! i need your help!!
i begin in that world and i need to know how i can do to send son command with the php api.

i realy need to disable and enable whith that api

note:sorry, i know my inglish is so bad!!!! but i need your help please