Jump to content

How to structure DATA STRING of URL for wget?


grahamberends

Recommended Posts

Hi there!

 

I wish to run wget using cron . . . but my RP614 router goes to sleep and needs to forcibly woken up!

 

I will need to invoke the "Disconnect"-button, then later invoke the "Connect"-button.

 

Question: what will the DATA STRING of the URL look like?

 

I look forward to your reply

thanks

Graham

 

DETAILS:

 

The pppoestatus.htm script has three visible buttons:

- Connect

- Disconnect and

- Close window

and one hidden button.

 

The html lines of code are cut and shown as follows:

<input type=button value=' Connect ' onClick='pppoeAction(this.form,1)'>
<input type=button value=' Disconnect ' onClick='pppoeAction(this.form,2)'>
<input type=button name="close" value="Close Window" onclick="window.close();">
<input type=hidden name="Button" value="Apply">

The javascript code is as follows:

function pppoeAction(F,I)
{
        d =parseInt(I.value, 10);
        F.pppoeAct.value = I;
        F.submit();
}

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.