Simple CLI to interact with Gl.iNet routers.
Most commands must be preceeded by login
. glinet
will store the token provided by the router for subsequent use, but tokens are short-lived. glinet
will alert you when your token has expired.
Use
glinet login <password>
Logs into your router with given password.
Use
glinet reboot
Reboots the router