I have a router Zbtlink ZBT-WR8305RT with openwrt-19.07 branch (git-21.018.57536-6ba9740).
I need a way to reset my USB-modem connected to the router by toggling the power OFF and ON from the command line.
I tried exporting GPIOs (not all of them can be exported), setting them as outs and trying to change values to 0 or 1 and it doesn't work.
What I'm trying to achieve can be done through LuCI (Modem -> Miscellaneous -> RESET USB 1), I can see the power on the modem disconnected and connected again. But is there a way to replicate the effect through the command line and later in a script?
Thanks.