I have an Edimax router and from wireshark I see that the router restarts with the POST 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' '

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 | |

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

| 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.