TP-Link router may need to be occasionally rebooted as it sometimes hangs in my experience. Here is a script I developed long back to boot such errant server from command line:

wget -qO- --user=admin --password=admin-password http://192.168.1.2/userRpm/SysRebootRpm.htm?Reboot=Reboot

Notes:

  • You will need wget installed on your system.
  • You may need to change the IP Address and Password.

If you want (let me know) I can give the script to check periodically and reboot TP-Link Router as needed.