Reboot TP-Link router remotely or automatically

Standard

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.

53 thoughts on “Reboot TP-Link router remotely or automatically

  1. gilmijar

    I found the same thing as MEISTER above
    on newer firmware it may be necessary to use the –referrer with the router’s IP (really – a great security measure!)

    And on linux of course that works as well

    curl --referer http://192.168.0.2/ --user admin:admin http://192.168.0.2/userRpm/SysRebootRpm.htm?Reboot=Reboot

    I am ommitting the > /dev/null to actually be able to see the output – this is what helped me get to my issue

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>