1

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
0

The examples from the cURL command show that you separate the form entries using ; instead of &. You might want to try that.

Also, curl --verbose ... will give you more details that might help you find out what the problem is.

| improve this answer | |
0

Just managed to reboot an Edimax/Medion MD86833 WLAN repeater using curl -u 'admin:pass' --form 'reset_flag=0&submit-url=%2Fcontool.asp' 'http://192.168.1.201/goform/formReboot'

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.