You can connect to the CLI directly via the router. Just go to System → Maintenance → CLI and enter the login information (U: root P: {your password}).
From here, you can execute your desired command. Keep in mind that RUTOS is built on Linux OpenWRT, so the commands used should be Linux-based. However, ping should work regardless.