Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know what the magic URL is for rebooting a WebSTAR DPC2100R2 with curl? I used to have a SurfBoard, and the curl command:

curl http://192.168.100.1/reset.htm?reset_modem=Restart%20Cable%20Modem

Would reset the modem. Sure, I can go power cycle it manually, but it's in the basement and I'm lazy :-).

I did find out the URL to elevate the access permission, but nothing about rebooting/resetting yet.

share|improve this question
    
Can you do it from the webUI? If so, try WireShark to see what the URL, or what request, sends when you hit the reset button. –  Phoshi Oct 17 '09 at 16:48
    
No, the webui for this model doesn't have any advanced management or configuration, otherwise I'd just read the HTML for the form (thats how I found the surfboard URL long ago). –  jtimberman Oct 17 '09 at 17:23

3 Answers 3

Try this:

curl http://192.168.100.1/goform/gscan -d SADownStartingFrequency=687000000

The response should look like this:

<html lang="en"><meta http-equiv="Refresh" content="20; URL=/system.asp"><body BGCOLOR="#CCCCCC" TEXT=black><HR><h1>The device has been reset...<a href="/system.asp">RELOAD</a></h1></body></html>
share|improve this answer

I found an article (Reboot WebSTAR DPC2100R2 Cable Internet Modem) which showed me how to use the command in Windows XP:

  1. First you will need to download cURL for Windows

  2. Now extract the curl archive you downloaded to your D: drive, you can use any drive but just make sure you continue to use the same drive in the next steps.

  3. Open a Command Prompt (Start > Run > type "cmd" without quotes and press enter)

  4. Navigate to the drive where you extracted the cURL program; if it's on the D: drive type D: and press enter. Now type:

    cd curl-7.21.2-devel-mingw32\bin
    

    Your Command Prompt should now be showing this path:

    D:\curl-7.21.2-devel-mingw32\bin>
    
  5. Copy and paste the following command into the Command Prompt window - when you press enter your modem will reset:

    curl http://192.168.100.1/goform/gscan -d SADownStartingFrequency=687000000
    
share|improve this answer

192.168.100.1/gscan.asp works for me (from http://forums.cable-modem.net/index.php?action=vthread&forum=2&topic=1001&page=2).

I suspect this is a frame from a whole hidden admin interface though, and I can't find the rest of it!

share|improve this answer

protected by studiohack May 3 '11 at 9:42

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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