I am thinking of writing a small widget for my Samsung Smart TV to shutdown/restart the router on request.
Giving the fact that the widget can only make some simple http requests I was wondering if there is a url on the rotuer's web server that will take some parameters and perform some actions.
Something like a basic webservice.
For instance my D-Link NAS can be switched off like so:
wget --tries=1 --timeout=5 "http://%IP%/goform/formLogin?f_login_type=0&f_LOGIN_NAME=%UNAME%&f_LO GIN_PASSWD=%PASSWD%"
wget --tries=1 --timeout=5 "http://%IP%/goform/sysShutDown?shootdown
echo Unable to shutdown NAS_002
NAS forum link: http://forums.dlink.com/index.php?topic=8362.0
Cand this be done on RT-n66U running Merlin's firmware?