up vote 3 down vote favorite
share [g+] share [fb]

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.

link|improve this question

78% accept rate
+1 for delicious geekiness :) – Phoshi Oct 17 '09 at 16:50
feedback

protected by studiohack May 3 '11 at 9:42

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

5 Answers

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.

link|improve this answer
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
feedback

192.168.1.100/reset

link|improve this answer
feedback

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!

link|improve this answer
feedback

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>
link|improve this answer
feedback

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
    
link|improve this answer
feedback

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