Reboot TP-LINK router remotely
There is a group of TP-Link TL-WA901ND v5 and TL-WA901N v6 routers. It is necessary to reboot the routers remotely at the specified time. They do not know how to TELNET and SSH only through App TP-Link Tether. But Tether does not support these models.
I found script:
# in OSX (using cURL):
curl --user username:password http://192.168.1.1/userRpm/SysRebootRpm.htm?Reboot=Reboot > /dev/null
# If you have wget by default instead of cURL (i.e. most *nix):
wget -qO- --user=username --password=password http://192.168.1.1/userRpm/SysRebootRpm.htm?Reboot=Reboot > /dev/null
This has been converted into a script for MikroTik:
/tool fetch url="http://192.168.1.1/userRpm/SysRebootRpm.htm\?Reboot=Reboot" user=admin password=admin output=none
But either option doesn't work.
How do you reboot routers remotely?