Community discussions

Search found 28 matches

by khaled11
Mon Apr 25, 2016 8:35 am
Forum: Scripting
Topic: Help-Copy comment from usermanager
Replies: 1
Views: 560

Help-Copy comment from usermanager

Auto Add comment.png
Hello
Any help to create script: copy the comment from usermanager and add in comment queue simple.
thank
by khaled11
Thu Apr 14, 2016 1:47 pm
Forum: General
Topic: Allow to whatsApp only
Replies: 30
Views: 503496

Re: Allow to whatsApp only

I'm wondering khaled11 you just asked everybody for help to solve your problem .. so basically you better share the solution to all members too this is how this forum is working :)
:? www.whatsapp.com/cidr.txt
by khaled11
Sun Jan 31, 2016 1:12 pm
Forum: General
Topic: Allow to whatsApp only
Replies: 30
Views: 503496

Re: Allow to whatsApp only

hi
please send me yaour configuration
i need to speed whatsapp
thank you

https://www.whatsapp.com/cidr.txt
by khaled11
Sun Jan 31, 2016 9:38 am
Forum: Scripting
Topic: Problem "add new user with profile" JAVA CODE
Replies: 1
Views: 823

Problem "add new user with profile" JAVA CODE

Hello I have coded a program in java to add user and profile - mikrotik 5.26- the user added but no Profile added help PLZ this.ret.sendCommand("/tool/user-manager/user/add\n=name=" + Hotspot_User_Add.this.username + "\n=password=" + Hotspot_User_Add.this.password + "\n=customer=" + "admin"); Thread...
by khaled11
Sun Aug 09, 2015 2:01 am
Forum: General
Topic: Feature request for v7.x
Replies: 269
Views: 63586

Re: Feature request for v7.x

USER manager :-refill option client side "like code recharge " on local hotspot page.
- Daily Quota
by khaled11
Fri May 08, 2015 11:19 am
Forum: Scripting
Topic: How can add space or letter between the IP on the file.txt
Replies: 2
Views: 556

How can add space or letter between the IP on the file.txt

How can add space or letter between the IP on the file.txt to add thoses ip for address list
ip.JPG
by khaled11
Tue May 05, 2015 12:08 pm
Forum: Scripting
Topic: please Help me
Replies: 5
Views: 1067

Re: please Help me

There are breaks between the IPs, it is in UNIX format, so only terminated by a \n, not \r\n as Windows expect. Script almost worked, but would end in an endlless loop, if it didn't break on the IPv6 adresses (at least on mine, since I haven't IPv6 activated). Here is one that work: /file { :local ...
by khaled11
Thu Apr 30, 2015 2:30 pm
Forum: Scripting
Topic: please Help me
Replies: 5
Views: 1067

Re: please Help me

Try: 31.13.65.49/32k31.13.66.49/32k31.13.69.240/32k31.13.70.49/32k31.13.71.49/32k31.13.73.49/32k31.13.74.49/32k31.13.76.81/32k31.13.77.49/32k50.22.75.192/27k50.22.93.192/27k50.22.198.204/30k50.22.210.32/30k50.22.210.128/27k50.22.225.64/27k50.22.235.248/30k50.22.240.160/27k50.23.90.128/27k50.97.57.1...
by khaled11
Wed Apr 29, 2015 9:10 pm
Forum: Scripting
Topic: please Help me
Replies: 5
Views: 1067

please Help me

i am using this script http://wiki.mikrotik.com/wiki/Using_Fetch_and_Scripting_to_add_IP_Address_Lists the source file txt its from http://www.whatsapp.com/cidr.txt when i download the file cidr.txt from whatsapp.com the ips appear like that [img] Capture.JPG [/img] so the script ## Generic IP addre...
by khaled11
Tue Sep 23, 2014 12:59 pm
Forum: Scripting
Topic: ::HELP::web page Hotspot + Broadband
Replies: 0
Views: 557

::HELP::web page Hotspot + Broadband

Hello
i have an idea !
HOW can include a script in my internal hotspot page to Auto configure the router of my client Like TP-link or D-link
ANY HELP
thanks
by khaled11
Sun Aug 03, 2014 5:18 pm
Forum: The User Manager
Topic: User Manager Download Limitation Problem
Replies: 2
Views: 1678

Re: User Manager Download Limitation Problem

Dear All I have a problem with mikrotik user manager transfer limitation, I set 50m limitation to each client but when client download a 200m file, user manager allow and when download is finished expire client user account, I think that user manager work in session mode, but i would like it discon...
by khaled11
Sun Aug 03, 2014 3:06 am
Forum: The User Manager
Topic: can not limit download rate at userman
Replies: 1
Views: 924

Re: can not limit download rate at userman

hi i have pptp server that users connet them from user-manager.i have problem with limit data rate at usermanager.i have changed at usermanager profile but I cant see any changes after connecting vpn client. hi plz can you show same photo for your problem, and what you mean exacly "I cant see any c...
by khaled11
Sun Aug 03, 2014 2:48 am
Forum: Scripting
Topic: Daily resetting quotas
Replies: 1
Views: 1211

Re: Daily resetting quotas

Hello, I configured radius on my MT and created profiles with some constraints (100MB Bandwidth with 50KB/sec speed) I would like to make this 100MB apply on a daily basis and reset every night so that a user can use 100MB/day. How can i do that? does it require some scripting? Thanks Openedg hi th...
by khaled11
Sun Jul 27, 2014 1:38 am
Forum: General
Topic: Allow to whatsApp only
Replies: 30
Views: 503496

Re: Allow to whatsApp only

Hi Dear i get it but i have a problem with sending picture , voice and video this is my firewall configuration ... /ip firewall nat add action=redirect chain=dstnat disabled=no dst-port=\ !5222,5223,5228,4244,5242 in-interface=out protocol=tcp \ src-address-list=whatsapp to-ports=8080 /ip proxy acc...
by khaled11
Sun Jul 27, 2014 1:30 am
Forum: The User Manager
Topic: Limit Transfer
Replies: 0
Views: 723

Limit Transfer

Hi
is there code to show the limit transfer on "Status-pages"
thank
by khaled11
Sun Oct 20, 2013 4:57 pm
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

new problem: the script not working in scheduler when the wireless down "freeze" but i try to paste the last code in new terminal And the result Ask to reboot the router -i try 1s and 70s - { /log info "[LAST-ACTIVITY] START" :local a [/in wi reg get number=0 last-activity] :if ($a>=1s) do={ /log in...
by khaled11
Sun Oct 20, 2013 11:24 am
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

In your example, all the OK lines should have the time value just like the reboot entry. s.png If you run the script in the terminal with :local variables, make sure to enclose the entire script in brackets: { /log info "[LAST-ACTIVITY] START" :local a [/in wi reg get number=0 last-activity] :if ($...
by khaled11
Sun Oct 20, 2013 8:12 am
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

Did the script work after you changed the time to 70s? I wonder if this might have something to do with it. Because the returned last-activity time is in the format of: 00:00:10.000, 70s would be returned as 00:01:10.000. Interesting that if I do :put 70s, it returns 00:01:10 I would troubleshoot b...
by khaled11
Sat Oct 19, 2013 9:19 am
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

This is the last script "your test script {:local a [/in wi reg get number=2 last-activity] :put $a :if ($a>=3s) do={ /system reboot }}[/quote] i am testing this script manual several times by change the argument 1s 2s like real last-activity and the router reboot evry time if last activity corresp...
by khaled11
Sat Oct 19, 2013 9:08 am
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

What is the result if you paste this into the terminal?
:put [/in wi reg get number=0 last-activity]
the result:
00:00:10.870
by khaled11
Sat Oct 19, 2013 9:04 am
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

What is the result if you paste this into the terminal?
:put [/in wi reg get number=0 last-activity]
i am using your second script "the testing script" and i am changing the necessary.
The proof :)
by khaled11
Sat Oct 19, 2013 2:30 am
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

the script stop working !!
what wrong :(
by khaled11
Fri Oct 18, 2013 2:24 am
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

One other question, are you trying to select a specific client? (based on smallest/largest last-activity value)? Just wondering because using "number=0" will simply get the first item that was added to the list, in this case the client who has been associated the longest. not a specific client All ...
by khaled11
Fri Oct 18, 2013 2:05 am
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

Re: this script not working when wireless freezing -HELP-

Thank you very much MR skot
it's working good that script :D
by khaled11
Wed Oct 16, 2013 1:29 pm
Forum: Scripting
Topic: this script not working when wireless freezing -HELP-
Replies: 19
Views: 3310

this script not working when wireless freezing -HELP-

while (true) do={:local a [/in wi reg get number=0 last-activity]; :local b {[:pick $a +4]}; :if (b>=2) do={[/system reboot];};}
by khaled11
Wed Oct 16, 2013 11:48 am
Forum: RouterBOARD hardware
Topic: Mikrotik Metal 2.4 wihtout wireless
Replies: 27
Views: 7461

Re: Mikrotik Metal 2.4 wihtout wireless

script not working
plz help
by khaled11
Tue Oct 15, 2013 11:57 pm
Forum: RouterBOARD hardware
Topic: Mikrotik Metal 2.4 wihtout wireless
Replies: 27
Views: 7461

Re: Mikrotik Metal 2.4 wihtout wireless

while (true) do={:local a [/in wi reg get number=0 last-activity]; :local b {[:pick $a +4]}; :if (b>=2) do={[/system reboot];};}
this script is the solution for wireless down.
run with sheduler every 2-3 minutes
sorry this script not working when wireless freezing on my metal2shpn
by khaled11
Mon Sep 30, 2013 7:21 pm
Forum: General
Topic: Allow to whatsApp only
Replies: 30
Views: 503496

Allow to whatsApp only

Hi
how can allow for some users to use whatsapp messenger only"chat".
#Hotspot + web proxy#