20 Sep 2019 
Support Center » Knowledgebase » Scripts for DSL/Cable modems / routers » Linksys WRT54G2 1.0.01 build 003, . 26, 2008 - reconnect script
 Linksys WRT54G2 1.0.01 build 003, . 26, 2008 - reconnect script
Article hs=new HTTPScript("admin", "admin");
hs.ForceAuthHeader=true;
hs.SetData("action", "Disconnect");
hs.SetData("wan_pro", "0");
hs.SetData("conn_stats", "300");
hs.SetData("layout", "en");
hs.Referer="http://192.168.1.1/StaRouter.htm";
hs.POST("http://192.168.1.1/rstatus.tri");
Wait(1000);

hs.SetData("action", "Connect");
hs.SetData("wan_pro", "0");
hs.SetData("conn_stats", "-1");
hs.SetData("layout", "en");
hs.Referer="http://192.168.1.1/StaRouter.htm";
hs.POST("http://192.168.1.1/rstatus.tri");
Wait(5000);

return true;



Article Details
Article ID: 176
Created On: 14 Jun 2011 5:19 AM

 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