SON-RPC for Soft Reset and Reboot on RUT200 (RUT2M_R_00.07.17.5) - Assistance Needed

Hi everyone,

I’m currently facing an issue with my RUT200 device running RUT2M_R_00.07.17.5, where I’m unable to access the router’s web interface (HTTP) anymore. The only available interface left for me is UBUS, and I’m trying to resolve the situation without needing a full reset or reinstall of the firmware.

Device Details:

  • Model: RUT200

  • Firmware Version: RUT2M_R_00.07.17.5 (OpenWRT-based)

  • Firmware Details: RUT2M_R (RouterOS firmware version)

Current Situation:

  • I cannot access the router through the HTTP web interface.

  • The only access available is via UBUS (I’m able to issue UBUS commands via curl).

I’m considering the option of performing a soft flash or a soft reset to potentially restore access, but I’m not entirely sure if this is the correct approach.

Commands I’ve Tried:

  1. Soft Reset Command (via UBUS):

    curl -d "{\"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"call\", \"params\": [\"d58098644317f8947dda12c2869dba53\", \"system\", \"soft_reset\", {}]}" http://192.168.168.1/ubus
    
    
  2. Reboot Command (via UBUS):

    curl -d "{\"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"call\", \"params\": [\"d58098644317f8947dda12c2869dba53\", \"vuci.system\", \"reboot\", {}]}" http://192.168.168.1/ubus
    
    

Issues:

  • Web Access: I cannot access the router through HTTP anymore. The web interface is unresponsive.

  • Soft Reset: The soft reset command doesn’t seem to have any effect on the system (or it doesn’t restore HTTP access).

  • Reboot Command: The reboot command immediately reboots the router without any confirmation or response, which complicates handling the error.

What I’m Considering:

  • Soft Flash: Could a soft flash help restore web access, or is there another UBUS command that might allow me to reset the router properly without completely wiping out all settings?

  • Firmware Recovery: Is there any specific UBUS command or method that I could try to restore HTTP access without needing to fully flash the device?

Environment:

  • Router Model: RUT200

  • Firmware Version: RUT2M_R_00.07.17.5 (OpenWRT-based)

  • OpenWRT Version: [Specify OpenWRT version if you know]

  • Access Method: Currently limited to UBUS (using curl for JSON-RPC calls).

Any help would be greatly appreciated! I just need to restore HTTP access without a full flash if possible.

With ubus json-rpc you’re pretty limited to what you can do. Can you access the device via SSH? Then you could inspect logs, running processes or at least generate backup, and then reset everything.

i have used the api work the best . . . thank you

i also found unm_info –wifi_pass thats gives you the deafult wifi pass of the device this command is not listed for some reason.

Hello @neti,

Could you kindly confirm if you still require any assistance?

Best regards,

This topic was automatically closed after 60 days. New replies are no longer allowed.