Community discussions

MikroTik App

Search found 32 matches

by UGP2
Wed Aug 24, 2011 5:32 pm
Forum: Scripting
Topic: Finding new login in PPP
Replies: 2
Views: 601

Re: Finding new login in PPP

This is script that I want :
http://forum.mikrotik.com/viewtopic.php?f=9&t=54430
But it doesn't work!
I need new login and logout!
by UGP2
Tue Aug 23, 2011 4:03 pm
Forum: Scripting
Topic: What is the problem with my script?
Replies: 2
Views: 988

What is the problem with my script?

Hello, What is the problem with my script: :global lastTime; :global currentBuf [ :toarray [ /log print where buffer=VPN ] ] ; :global currentLineCount [ :len $currentBuf ] ; :global currentTime [ :totime [/log get [ :pick $currentBuf ($currentLineCount -1) ] time ] ]; :global message ""; ...
by UGP2
Tue Aug 23, 2011 12:16 pm
Forum: Scripting
Topic: Finding new login in PPP
Replies: 2
Views: 601

Finding new login in PPP

Hello,
How can I run script on each PPP login?
I want to run script on each PPP login (successful or unsuccessful)
by UGP2
Tue Aug 23, 2011 12:15 pm
Forum: Scripting
Topic: Is it possible? (Opening a link with Scripting)
Replies: 2
Views: 762

Re: Is it possible? (Opening a link with Scripting)

It is simple PHP link.
Thanks ,fetch work fine for me.
by UGP2
Tue Aug 23, 2011 11:04 am
Forum: Scripting
Topic: Is it possible? (Opening a link with Scripting)
Replies: 2
Views: 762

Is it possible? (Opening a link with Scripting)

Hello,
I want to open a link with scripting.
Is there any way to do this job with MikroTik?
by UGP2
Tue Aug 23, 2011 10:21 am
Forum: The User Manager
Topic: Add new user via CLI/API version 5 not working
Replies: 7
Views: 3248

Re: Add new user via CLI/API version 5 not working

i have this problem too.
by UGP2
Tue Aug 23, 2011 9:55 am
Forum: Scripting
Topic: Userman end time editing? (Add user and edit ??)
Replies: 4
Views: 1970

Re: Userman end time editing? (Add user and edit ??)

what do you need/
active user of what(ppp or ...)
by UGP2
Mon Aug 22, 2011 9:26 pm
Forum: The User Manager
Topic: API problem?
Replies: 1
Views: 712

API problem?

Hello,
I can not add user with some parameter in API mode.
Check blow topic:

http://forum.mikrotik.com/viewtopic.php?f=9&t=54372

It is argent please answer.
by UGP2
Sun Aug 21, 2011 9:17 pm
Forum: Scripting
Topic: Userman end time editing? (Add user and edit ??)
Replies: 4
Views: 1970

Re: Userman end time editing?

$API->write('/tool/user-manager/user/add',false); $API->write('=subscriber=admin',false); $API->write('=name='.$username,false); $API->write('=password='.$password,false); $API->write('=last-seen=never',false); $API->write('=credit-count=1',false); $API->write('=credit-left='.$type,false); $API->wr...
by UGP2
Sun Aug 21, 2011 12:16 pm
Forum: Scripting
Topic: Userman end time editing? (Add user and edit ??)
Replies: 4
Views: 1970

Userman end time editing? (Add user and edit ??)

Hello,
I have userman version 4 but I can edit end time and left time with API (php or other )
please help me to do this job.
by UGP2
Wed Aug 10, 2011 12:06 pm
Forum: General
Topic: PPTP real static ip
Replies: 4
Views: 2796

Re: PPTP real static ip

I did what you say! But now just I can open my internal (Ethernet) network I can not use remote!! Where is proxy-arp?? If you don't want to play with NAT, you can just set the remote address in PPTP/L2TP secret to the real static IP. You will also need to enable proxy-arp on the main eth interface o...
by UGP2
Tue Aug 09, 2011 12:00 pm
Forum: Beginner Basics
Topic: ppptp remote IP problem
Replies: 2
Views: 749

Re: ppptp remote IP problem

Please check new image.
I have access to router with 184.154.30.40 but I want to use it for my windows server via VPN (pptp or l2tp or ...)
by UGP2
Tue Aug 09, 2011 12:04 am
Forum: Beginner Basics
Topic: ppptp remote IP problem
Replies: 2
Views: 749

ppptp remote IP problem

hello,
I have one problem with remote ip, I have two valid IP and I can access to my router with them, Now I want to use one IP to assign it to one of my VPN member and access to that with one of my valid IP.
I did what you see in my picture but yet I can not access to it!
anyone one can help me?
by UGP2
Fri Jul 15, 2011 7:42 am
Forum: Scripting
Topic: How to edit time left!!!
Replies: 0
Views: 606

How to edit time left!!!

Hello,
I upgrade my routeros 3.22 to 5.5 now I have problem with userman (I can not import old db)
now I want to user API to import old db to new db but I can not set time left or credit left
what should I do?
any one can help me!!
by UGP2
Fri Jul 15, 2011 7:41 am
Forum: The User Manager
Topic: How to edit time left!!!
Replies: 1
Views: 833

How to edit time left!!!

Hello,
I upgrade my routeros 3.22 to 5.5 now I have problem with userman (I can not import old db)
now I want to user API to import old db to new db but I can not set time left or credit left
what should I do?
any one can help me!!
by UGP2
Thu Jul 14, 2011 6:06 pm
Forum: The User Manager
Topic: upgrading problem (urgent)
Replies: 1
Views: 803

upgrading problem (urgent)

hello
I upgrade my RouterOS and userman but now all left time and start time are missing!
What should I do!!!!!

Please me it is urgent
by UGP2
Sat Jul 02, 2011 3:17 pm
Forum: Scripting
Topic: API login problem on RB133
Replies: 19
Views: 7093

Re: API login problem on RB133

I have this problem but sleep don't help! Connection attempt #1 to x.x.x.x:a8728... Connection attempt #2 to x.x.x.x:8728... Connection attempt #3 to x.x.x.x:8728... Connection attempt #4 to x.x.x.x:8728... Connection attempt #5 to x.x.x.x:8728... Error... On local my program work well but on any on...
by UGP2
Wed Jun 29, 2011 8:51 am
Forum: The User Manager
Topic: add user with terminal?
Replies: 2
Views: 3686

add user with terminal?

Hello,
Is it possible to add new user to userman with terminal?
by UGP2
Wed Jun 29, 2011 8:43 am
Forum: Scripting
Topic: Adding a user to userman!! (php API)
Replies: 0
Views: 567

Adding a user to userman!! (php API)

Hello,
I want to add a user to userman with PHP API?
how can I do it?
just tell me command!
by UGP2
Mon May 02, 2011 7:18 am
Forum: The User Manager
Topic: Remove some user soddenly !!!
Replies: 0
Views: 738

Remove some user soddenly !!!

Hello,
After a while when I check my account list I found that some of my user has been lost!!
What happened to them?
How to fix it! :?
by UGP2
Fri Apr 15, 2011 8:06 pm
Forum: Scripting
Topic: php API connection problem?
Replies: 17
Views: 10253

Re: php API connection problem?

Now I get this error:
Warning: preg_match_all() expects parameter 2 to be string, array given in C:\xampp\htdocs\routeros_api.class.php on line 171

What should I do with this?
by UGP2
Fri Apr 15, 2011 9:12 am
Forum: Scripting
Topic: php API connection problem?
Replies: 17
Views: 10253

Re: php API connection problem?

When I use API API Studio
I get:
15/04/2011 10.40.39 - info 103 - connected to MikroTik
and some more message!
this means socket function doesn't work in my website!
by UGP2
Fri Apr 15, 2011 6:56 am
Forum: Scripting
Topic: php API connection problem?
Replies: 17
Views: 10253

Re: php API connection problem?

I enable API services and add rule in firewall.
Chain:Input
Protocol: tcp or 6(tcp)
Port:8728
Interface:Ether1
Action:Accept

Yet it doesn't work for me!
by UGP2
Thu Apr 14, 2011 9:40 pm
Forum: Scripting
Topic: php API connection problem?
Replies: 17
Views: 10253

php API connection problem?

I use php API and I get this error:
http://wiki.mikrotik.com/wiki/API_PHP_class
Connection attempt #5 to IP:8728... Error...

What is my problem?
Should I enable any function?
by UGP2
Thu Apr 14, 2011 4:20 pm
Forum: Scripting
Topic: How list active user of ppp?
Replies: 2
Views: 796

Re: How list active user of ppp?

I set this but with user it didn't work!
Help me please!
by UGP2
Thu Apr 14, 2011 1:40 pm
Forum: Scripting
Topic: How list active user of ppp?
Replies: 2
Views: 796

How list active user of ppp?

Hello,
How can I get active user list of ppp? and after that tell him remove double connection?
Is it possible with scripting?
Please help me to do it!
by UGP2
Tue Apr 12, 2011 2:53 pm
Forum: The User Manager
Topic: rate limit?
Replies: 2
Views: 996

Re: rate limit?

Then for 64 kilobyte
type 64k in rate limit? right?
by UGP2
Wed Apr 06, 2011 6:10 pm
Forum: The User Manager
Topic: user page for hotspot?
Replies: 1
Views: 805

Re: user page for hotspot?

No one can help me?
by UGP2
Wed Apr 06, 2011 5:39 pm
Forum: The User Manager
Topic: rate limit?
Replies: 2
Views: 996

rate limit?

Hello,
I have porblem with rate limit:
I want to limit 64KB (kilobyte)
I put 64000 ? is it right?

and for Download limit I want to limit to 1GB (gigabyte)
I put 1024000000 is it right?
by UGP2
Tue Apr 05, 2011 5:50 pm
Forum: The User Manager
Topic: user page for hotspot?
Replies: 1
Views: 805

user page for hotspot?

How can I enable user page http://router_ip/user for hotspot's users?
by UGP2
Sun Apr 03, 2011 9:55 pm
Forum: The User Manager
Topic: How use userman+pptp+l2tp??
Replies: 0
Views: 751

How use userman+pptp+l2tp??

Hello,
I am new to RouterOS
I want to use UserMan to manage my VPN accounts?
can anyone help me?
by UGP2
Sun Apr 03, 2011 9:09 pm
Forum: The User Manager
Topic: invalid item number
Replies: 0
Views: 612

invalid item number

tool user-manager customer set admin password="ali"
When I type this I get invalid item number.
RouterOS 2.9