FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
205 views 1 comments
by anonymous

I'v got the following JSON request to retrieve the serial number of the connected device. 

http://192.168.1.1/ubus

{

    "jsonrpc""2.0""id"1"method""call""params":

    [

        "91beb9b2a4b0b525ef7f673d1ff5bf53""file""exec",

        {

            "command":"mnf_info""params":["-s"]

        }

    ]

}

This works great on a RUT955 (version RUT9_R_00.07.02.4), but I receive a result 6 error for the RUT300 (version RUT30X_R_00.07.00).

{

    "jsonrpc""2.0",

    "id"1,

    "result": [

        6

    ]

}

Thanks in advance!

1 Answer

0 votes
by anonymous

This is because JSON-RPC was not implemented in RUTOS 7.0. It appeared only with RUTOS 7.2. Upgrading to the latest firmware version:

https://wiki.teltonika-networks.com/view/RUT300_Firmware_Downloads

Best answer
by anonymous
I have 7.2 and the error still exists.