using cURL or wget, it’s easy to reboot a TP-Link router from a terminal or command line. Put it in a script and schedule it to run automatically if your router overheats or is flaky:
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
Replace username and password with the admin username and password of your router. Replace 192.168.1.1 with the IP address of your router.
If you have Windows, with neither of the above, and don’t want to download wget, try using bitsadmin to create a download job.