Slyke
May 23rd, 2009, 03:00 AM
AT my home I have a WAMP server running on a computer I have designated as a webserver.
Everyday I've got a script to restart the webserver at some wee hour in the morning.
I would also like to extend this to the router running the network. The router is good, but generally every 4 or so days it wants a reset. It's a LINKSYS WRT350N.
Basically, the process is as such with a browser:
Navigate to router
Place in login details (It's one of those htaccess login prompt boxes)
The first page that loads up has a "Save Settings" button which resets the router.
The first page is:
/setup.cgi?next_file=Setup.htm
The "Save Setting" button's code is:
<input type="BUTTON" name="save" value="Save Settings" onClick="checkData();">
The check data function is way too long, and is not needed to know (I believe).
The reset page is a loading screen. It takes roughly about a minute for the router to reset. Navigating directly to this page will cause the router to reset, but you have to still be authenticated in:
/setup.cgi?next_file=reboot_guage.htm
If some one could point me in the right direction on how to automate this process it would be greatly appreciated :D. I don't have any idea what to search for.
Everyday I've got a script to restart the webserver at some wee hour in the morning.
I would also like to extend this to the router running the network. The router is good, but generally every 4 or so days it wants a reset. It's a LINKSYS WRT350N.
Basically, the process is as such with a browser:
Navigate to router
Place in login details (It's one of those htaccess login prompt boxes)
The first page that loads up has a "Save Settings" button which resets the router.
The first page is:
/setup.cgi?next_file=Setup.htm
The "Save Setting" button's code is:
<input type="BUTTON" name="save" value="Save Settings" onClick="checkData();">
The check data function is way too long, and is not needed to know (I believe).
The reset page is a loading screen. It takes roughly about a minute for the router to reset. Navigating directly to this page will cause the router to reset, but you have to still be authenticated in:
/setup.cgi?next_file=reboot_guage.htm
If some one could point me in the right direction on how to automate this process it would be greatly appreciated :D. I don't have any idea what to search for.