Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

Automating router logon

I am trying to automate the logon to my satellite broadband.
This is a two stage operation.
First I need to logon to my ISDN/Satellite router then logon to the OpenSky network.
I have managed to do the second part - BTW this was the subject of an earlier unresolved query and I'll publish my resoloution ASAP.

Here is the start of the HTML for the logon page...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
<META HTTP-EQUIV="refresh" content="30;URL=/cgi-bin/status.cgi">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<link rel="stylesheet" href="/style.css" title="F10" TYPE="text/css">
<title>Start Page</title>

<table style="border-width: 0px; background-color: rgb(239,190,59); width: 100%">
<td style="width: 243px"><img src="/images/yeltop_01.jpg" alt=""></td>
<td style="with: auto">&nbsp;</td>
<td style="width: 348px"><img src="/images/yeltop_03new.jpg" alt=""></td>

<h1 style="position: absolute; top: 24px; left: 256px; background-color: transparent; color: black">
Start Page
<div class="status">
<form name="action_form" action="/cgi-bin/action.cgi" method="post">

<p style="color: green">The connection is up.</p><input type="submit" class="connx" name="connx" value="Disconnect">

<h2>Satellite signal quality</h2>

<img style="border: solid ; border-width: 4px" src="/images/signal_3.jpg" alt="|************************|">

<h2>Transfer statistics</h2>

<div class="statistics">
<table class="info" style="text-align: left">
  <tr><th class="info">Device</th><th class="info">Received</th><th class="info">Sent</th></tr>
<tr><td class="info"><b>Ethernet</b></td><td class="info">15523469</td><td class="info">185918061</td></tr>
<tr><td class="info"><b>Satellite</b></td><td class="info">170128916</td><td class="info">570170</td></tr>
<tr><td class="info"><b>Modem</b></td><td class="info">11084972</td><td class="info">8546308</td></tr>
All that I need to do is the equivalent of clicking on the Disconnect/Connect button "CONNX" above.
I assumed as it was a submit input type that I need to do something like...


Needless to say I've tried this with no luck any suggestions gratefully received.
1 Solution
I would try


XenopusAuthor Commented:
Thanks Paul - just call me thick :-)

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now