FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14216 questions

16871 answers

27753 comments

54387 members

0 votes
144 views 1 comments
by

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

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
I have 7.2 and the error still exists.