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
72 views 1 comments
by anonymous
Hello folks. I'd like to have some kind of visible indication as to which WAN interface is currently in use - maybe green for preferred red for failover or anything similar. What would be the easiest way to achieve tnis? Thanks

1 Answer

0 votes
by anonymous

Hello,

The feature is missing from the WebUI at the moment. From 7.4 firmware release, WebUI Overview window should have indication of currently used Main WAN interface. 

As of now, you can check Network -> Interfaces section, where Main WAN is the highest online interface in the list. 

It can also be derived from the routing table from Status -> Routes -> General routes section as a route with lowest metric.

A couple of CLI/SSH commands:

  •  ubus call vuci.network.network interfaces_status | grep Main
  • ip route get 8.8.8.8

will also provide you main WAN interface name.

Best regards,

Best answer
by anonymous
Thanks. Can I reasonably poll the device regularly (say 5 mins?) over SSH? I'm thinking in terms of using a raspberry pi that could run a remote display or operate some indicator LEDs on the GPIO.