Net_RouterOS icon indicating copy to clipboard operation
Net_RouterOS copied to clipboard

This package allows you to read and write information from a RouterOS host using the MikroTik RouterOS API protocol.

Results 33 Net_RouterOS issues
Sort by recently updated
recently updated
newest added
trafficstars

Getting message PEAR2\Net\RouterOS\DataFlowException: Invalid username or password supplied. in phar://C:/wamp64/www/PHP-Net_RouterOS/PEAR2_Net_RouterOS-1.0.0b6.phar/PEAR2_Net_RouterOS-1.0.0b6/src/PEAR2/Net/RouterOS/Client.php:175 Stack trace: #0 C:\wamp64\www\PHP-Net_RouterOS\test1.php(9): PEAR2\Net\RouterOS\Client->__construct('192.168.0.240', 'admin', 'admin321') #1 {main}

See https://wiki.mikrotik.com/wiki/Manual:API#Initial_login But I'm not sure if it is possible to get ROS version before login. But without this change it won't be possible to use Net_RouterOS with v6.43+

Improvement

I did not understand how to use the persistent connection. I activated the 5th element and it is generating the persistentId. But how do I access the API without it...

need your help again please: why this code doesn't work? in routerOS terminal is everything fine ``` try { $util->exec( ' :foreach v in=[find list="test"] do={ :do { remove=$v; }...

Question

I need to use LIKE in the query and I did not find this information in the documentation. I need something like that: `$util->getAll(array(), RouterOS\Query::where('user-ip', '10.10.%', 'LIKE')); I checked each...

Improvement
External
Question

Hi guys. I am a full blooded PHP dev but I suck at mikrotik stuff. I have a task to do the following "Add 2 rules. Make sure they are...

Question

> What's new in 6.45.6 (2019-Sep-10 09:06): > > Important note!!! > Old API authentication method will also no longer work, see documentation for new login procedure: > https://wiki.mikrotik.com/wiki/Manual:API#Initial_login After...

I try the test script, I got 'Unable to connect to the router' result. I have disabled my firewall, set outbound rule for apache and PHP, still can't get it...

Hi, could someone create a phar file based on the dev release? thx hk