I have an Edimax router and from wireshark I see that the router restarts with the POST http://192.168.2.1/goform/formReboot
and the form elements reset_flag=0&submit-url=%2Fadmin_restart.asp
Using curl
and wget
I have tried different methods of POST, but I have been unsuccessful. If I go directly to formReboot I get a 404 error. If I use POST I get an empty reply from server and no restart...
Here is an example:
curl -u 'admin:pass' --form 'reset_flag=0&submit-url=%2Fadmin_restart.asp''http://192.168.2.1/goform/formReboot