You omitted the security issue. Leaving the router wide open for a Perl
script is like unprotected sex, and the security programming in Perl is
non-trivial to do safely.
On Thu, 17 Jan 2008 03:05:57 -0800 (PST),
stuart.t.taylor@gmail.com
wrote in
<ffe2e64d-2987-4951-923a-9bfcacf91037@h11g2000prf.googlegroups.com>:
>I stumbled across this posting quite by chance.
>
>I don't own that router, but what you are trying to archive is a cake
>walk for perl even without the mechanize stuff.
>
>Your main problem is that your are focusing on the perl and not on the
>html that controls the router. I see you posted the complete source of
>the page, but i'll be buggered if i work my way through that for you,
>after all i have no interest in your "project" other than to nudge you
>in the right direction.
>
>You need to go back to square one.
>
>Get firefox if haven't got it already, and install the live headers
>plugin.
>The with the plugin activated, browse to the page and click the button
>as you normally would.
>You should now have captured all of the conversation between your
>browser and you router. Among the general noise of HTTP will be the
>small requests actually required to send the connect / disconnect
>command to the router.
>
>At the end of the day, the button are on an html form (regardless of
>the javascript functions) and they will submit some data to the router
>via get or post, and you need to determine what that is.
>
>Recreating the steps in perl will be trivial (you will kick yourself).
>
>Good luck.
>
>Stuart
>
>
>On 26 Nov 2007, 14:37, Wilson <davewilso...@sbcglobal.net> wrote:
>> On Mon, 26 Nov 2007 05:41:09 -0800, Wilson wrote:
>> > The way I tested that was to set it to http instead of https
>>
>> Drat. Failed again.
>> Does anyone know what a "read timeout" is telling me?
>> Wilson
>>
>> C:\perl>fixrouter.pl
>> 500 read timeout
>> Content-Type: text/plain
>> Client-Date: Mon, 26 Nov 2007 14:17:22 GMT
>> Client-Warning: Internal response
>>
>> 500 read timeout
--
Best regards, FAQ for Wireless Internet: <http://Wireless.wikia.com>
John Navas FAQ for Wi-Fi: <http://wireless.wikia.com/wiki/Wi-Fi>
Wi-Fi How To: <http://wireless.wikia.com/wiki/Wi-Fi_HowTo>
Fixes to Wi-Fi Problems: <http://wireless.wikia.com/wiki/Wi-Fi_Fixes>