URL to reboot a WebSTAR DPC2100R2 cable modem with curl?
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.
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>
I found an article (Reboot WebSTAR DPC2100R2 Cable Internet Modem) which showed me how to use the command in Windows XP:
First you will need to download cURL for Windows
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.
Open a Command Prompt (Start > Run > type "cmd" without quotes and press enter)
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>
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