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
1,136 views 3 comments
by
Hello,

How can I get the status of the Failover service through JSON? I need to know programmatically which connection is used (mobile, Ethernet or Wi-Fi). My router is a RUT240.

Thank you in advance for your help!

Vincent

1 Answer

0 votes
by anonymous

Hi,

Try "ip route" command, it will show you default route and interface, for example:

Best answer
by
Perfect! Thank you very much! Where can I find a list of the different commands available?
by anonymous
Hi,

You could try connect to router via SSH and pres two times "Tab" button in keyboard, then all available commands will appear.

Type: <command> --help

After this details about command should appear.
by
Awesome! Thank you.