Community discussions

 
liferunner
just joined
Topic Author
Posts: 5
Joined: Fri Dec 05, 2014 2:36 pm

API: RouterOS v6.45.2 silence on any commands in system namespace

Wed Aug 28, 2019 2:49 pm

Good day everyone,

I used API with .NET to interact with Mikrotik devices (Groove-N, hAP ac, etc) and all went good until upgrade to v6.45.2. I implemented new login algo support and it connects fine, but "/system..." commands always returns empty sets.
Example sessions captured using API commands:

Code: Select all

-> /login
-> =name=admin
-> =password=admin
-> /system/package/getall
<- !done

Code: Select all

-> /login
-> =name=admin
-> =password=admin
-> /system/resource/print
-> =.proplist=version
<- !done

Code: Select all

-> /login
-> =name=admin
-> =password=admin
-> /system/routerboard/print
-> =.proplist=model
<- !done
Also i did check in packet sniffer that response is really empty and this is not something about .Net-based communication layer.

While using console all went smooth as usual:

Code: Select all

[admin@MikroTik] > /system
[admin@MikroTik] /system> routerboard
[admin@MikroTik] /system routerboard> print
routerboard: yes
board-name: hAP ac
model: RouterBOARD 962UiGS-5HacT2HnT
serial-number: 6764055A81FA
firmware-type: qca9550L
factory-firmware: 3.30
current-firmware: 6.45.2
upgrade-firmware: 6.45.2
[admin@MikroTik] /system routerboard>
Other namespaces are fine as in prev versions:

Code: Select all

-> /interface/wireless/info/hw-info
-> =interface=wlan1
<- !re=ranges=2312-2732/5/b,g,gn20,gn40,2484-2484/5/b,g,gn20,gn40=tx-chains=0,1,2=rx-chains=0,1,2=extra-info=pciinfo:0x0, cid:0, gain:3
<- !done
It this something about new firmware or some new way of commands execution or I do something fundamentally wrong.

Thanks,
Anton
 
liferunner
just joined
Topic Author
Posts: 5
Joined: Fri Dec 05, 2014 2:36 pm

Re: API: RouterOS v6.45.2 silence on any commands in system namespace

Mon Sep 09, 2019 5:15 pm

Above issue was figured out with programmed telnet conversation. This could be closed or whatever procedure is.

Who is online

Users browsing this forum: No registered users and 68 guests