Community discussions

MikroTik App

Search found 15 matches

by AdamGweleg
Wed Jan 18, 2023 2:18 am
Forum: General
Topic: All my PPPOE Client are using the same IP as gatway
Replies: 0
Views: 264

All my PPPOE Client are using the same IP as gatway

Hello guys I have a Layer 2 connection with my ISP They give me the following Public IP in eth1: 154. X.X.172 and they are giving me more Public IP's on request for example I have 154.73.X.X and 154.72.X.X I noted that All of my PPPOE Clients are using my router eth1 IP address as a default gateway,...
by AdamGweleg
Sat Dec 07, 2019 9:54 pm
Forum: Beginner Basics
Topic: Snmp forwarding [SOLVED]
Replies: 4
Views: 2529

Re: Snmp forwarding [SOLVED]

Do you have any point I can start from to investigate the issue?
by AdamGweleg
Sat Dec 07, 2019 7:26 pm
Forum: Beginner Basics
Topic: Snmp forwarding [SOLVED]
Replies: 4
Views: 2529

Re: Snmp forwarding [SOLVED]

Any update guys ?
by AdamGweleg
Thu Dec 05, 2019 2:33 am
Forum: Beginner Basics
Topic: Snmp forwarding [SOLVED]
Replies: 4
Views: 2529

Snmp forwarding [SOLVED]

Hello guys Please I need help I have my main mikrotik router 1100 with public ip on eth 1 154.73.xxx.xxx and on eth2 there are 30+ rb951 connected to ether 2 on network 192.168.11.0/24 and also I have VPS server with public ip 107.173.xxx.xxx I'm running PRTG Server on the VPS to monitor my router. ...
by AdamGweleg
Sat Jul 13, 2019 6:30 am
Forum: Beginner Basics
Topic: The better PHP API
Replies: 6
Views: 2521

Re: The better PHP API

I've question guys

In large networks like using 50+ Mikrotik router if we want to implement a php webapp to read from all the routers what is the best scenario we should use to get fast result?
by AdamGweleg
Sat Jul 06, 2019 6:11 pm
Forum: Scripting
Topic: userman with PHP [SOLVED]
Replies: 8
Views: 13632

Re: userman with PHP [SOLVED]

What you're doing is that for every iteration in your loop, you're making a brand new connection, login to the router once again. This is a huge waste of resources. Move the new RouterOS\Util and new RouterOS\Client outside of the loop, so that you keep using the same connection for all vouchers. A...
by AdamGweleg
Fri Jul 05, 2019 2:58 pm
Forum: Scripting
Topic: userman with PHP [SOLVED]
Replies: 8
Views: 13632

Re: userman with PHP [SOLVED]

"create-and-activate-profile" is a command, not a menu IIRC. It's not a normal CRUD command, so you'll have to make a request to give to Client, instead of using Util. Also, numbers should really contain the username (or otherwise the ID returned by finding the customer/username combo). e...
by AdamGweleg
Fri Jul 05, 2019 2:19 pm
Forum: Scripting
Topic: add user to usermanager
Replies: 1
Views: 1566

Re: add user to usermanager

Any help guys ??
by AdamGweleg
Fri Jul 05, 2019 12:32 am
Forum: Scripting
Topic: add user to usermanager
Replies: 1
Views: 1566

add user to usermanager

hello guys I want to add batch users to user manager using PHP API I made the code and its working but my problem is when I run the code I've noted that the router CPU is reaching 30% and each voucher is taking longer than 2 minutes <?php use PEAR2\Net\RouterOS; require_once 'PEAR2/Autoload.php'; fo...
by AdamGweleg
Thu Jun 20, 2019 5:35 pm
Forum: Scripting
Topic: Hotspot user start time
Replies: 3
Views: 1783

Re: Hotspot user start time

Can you post the output of /ip hotspot user print detail Just to see how its listed there. thank you Jotne for your reply /ip hotspot user print detail is showing the hotspot user details but what i'm looking for is related for userman users I've tried /tool user-manager user print but I cant find ...
by AdamGweleg
Tue Jun 18, 2019 11:07 pm
Forum: Scripting
Topic: Hotspot user start time
Replies: 3
Views: 1783

Hotspot user start time

hello guys

please I need help to grab the user start time "the first time he access" from terminal to use it in the API call

Image

Im using PHP

thanks in advance
by AdamGweleg
Thu Jun 13, 2019 1:05 pm
Forum: The User Manager
Topic: User Start time
Replies: 1
Views: 4427

Re: User Start time

any help guys?
by AdamGweleg
Wed Jun 12, 2019 7:21 pm
Forum: The User Manager
Topic: User Start time
Replies: 1
Views: 4427

User Start time

hello guys

please I need help to grab the user start time "the first time he access" from terminal to use it in the API call

Image

thanks in advance
by AdamGweleg
Wed May 29, 2019 3:34 pm
Forum: General
Topic: IP/Coud DNS name pointing to wrong address
Replies: 4
Views: 1433

Re: IP/Coud DNS name pointing to wrong address

The DDNS records the public IP from which the update request has arrived. As the only public IP in the whole game is the one of your main router, the DDNS names of all the individual devices resolve to that same public address. The solution is to set port forwarding on the main router for the manag...
by AdamGweleg
Wed May 29, 2019 1:53 am
Forum: General
Topic: IP/Coud DNS name pointing to wrong address
Replies: 4
Views: 1433

IP/Coud DNS name pointing to wrong address

Hello guys its my first time here and I hop you can help me :D Im on the following Scenario : Our Main router is RB1100Dx4 we have Public IP on ETH 1 from our WISP on ETH 2 we have network 192.168.11.0/24 Vlan 1300 we have agreement with our WISP that we can connect or remote sites to they Sectors ,...