I have a Xiaomi AIoT Router AC2350 and I would like to configure it's "internet" led to behave like on the stock firmware. Here is the stock behaviour:
- WAN cable unplugged: LED is off
- WAN cable plugged in, but NO internet conectivity: LED is orange
- WAN cable plugged in, with working internet connection: LED is blue
This is acheived by pinging a host (like 184.108.40.206) and seeing if there is a reply.
Can this be done on openwrt, with a script for example?
The led names are: orange:wan and blue:wan .