20 Sep 2019 
Support Center » Knowledgebase » Scripts for DSL/Cable modems / routers » Actiontec GT701D
 Actiontec GT701D
Article ---------------- VARIATION #1 ------------ cut below this line -----------------
hs=new HTTPScript();
hs.Data="getpage=../html/status_hide.html&var:opt=0&logic:command/kill_ppp=&connection0:pppoe:command/stop=1";
hs.Referer="http://192.168.0.1/cgi-bin/webcm?getpage=../html/status_hide.html&var:conname=connection0&var:contype=pppoe";
hs.POST("http://192.168.0.1/cgi-bin/webcm");

Wait(1000);

hs.Data="getpage=../html/status_hide.html&var:opt=1&connection0:pppoe:command/start=1";
hs.Referer="http://192.168.0.1/cgi-bin/webcm";
hs.POST("http://192.168.0.1/cgi-bin/webcm");

Wait(1000);

hs.Data="getpage=../html/status_hide.html&var:opt=1";
hs.Referer="http://192.168.0.1/cgi-bin/webcm";
hs.POST("http://192.168.0.1/cgi-bin/webcm");

return true;


---------------- VARIATION #2 ------------ cut below this line -----------------
hs=new HTTPScript("admin", "admin");
hs.ForceAuthHeader=true;
hs.Data="getpage=../html/status_hide.html&var:opt=0&connection0:dhcpc:command/release=1";
hs.Referer="http://192.168.0.1/cgi-bin/webcm?getpage=../html/status_hide.html&var:conname=connection0&var:contype=dhcpc";
hs.POST("http://192.168.0.1/cgi-bin/webcm");

Wait(1000);

hs.Data="getpage=../html/status_hide.html&var:opt=1&connection0:dhcpc:command/renew=1";
hs.Referer="http://192.168.0.1/cgi-bin/webcm";
hs.POST("http://192.168.0.1/cgi-bin/webcm");

Wait(1000);

hs.Data="getpage=../html/status_hide.html&var:opt=1";
hs.Referer="http://192.168.0.1/cgi-bin/webcm";
hs.POST("http://192.168.0.1/cgi-bin/webcm");

return true; 



Article Details
Article ID: 118
Created On: 08 Oct 2010 4:16 PM

 This article was helpful  This article was not helpful

 Back
 Log in [Lost Password] 
E-mail:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | Troubleshooter
Language:

Help Desk Software by Kayako SupportSuite v3.70.02