Verfasst: 05.11.2006, 20:01
alles klar, Datei ist bei mir angekommen. 

https://board.superscripte.de/
Code: Alles auswählen
<POST>setup_wan_pppoe.htm?page=setup_wan_pppoe&connectflag=2&logout=2&UN=xxx@t-online.de&PW=1234&PWV=1234&SN=&idle=0&reconnect=on
Code: Alles auswählen
Cable/DSL : DISCONNECTED<br>
Cable/DSL : CONNECTED<br>WANIP:
<br>GatewayIP:
Code: Alles auswählen
<POST>login.htm?page=login&pws=%PASSWORD%
Code: Alles auswählen
<form action="login.htm" method="post" name="tF">
<input type="hidden" name="page" value="login">
<INPUT type="submit" value="Login">
<INPUT type="password" maxLength=12 size=9 name=pws>
<INPUT class=button onclick=window.close(); type=button value=Cancel>
</FORM>
Code: Alles auswählen
<POST>setup_wan_pppoe.htm?page=setup_wan_pppoe&connectflag=1&logout=2&UN=XXX@dsl-flat&PW=1234&PWV=1234&SN=ISP DSL&idle=0&reconnect=1
Code: Alles auswählen
<POST>setup_wan_pppoe.htm?page=setup_wan_pppoe&connectflag=1&logout=2&UN=XXX@dsl-flat&PW=1234&PWV=1234&SN=ISP DSL&idle=0&reconnect=1
Code: Alles auswählen
<form name="tF0" method="post" action="setup_wan_pppoe.htm">
<input type="hidden" name="page" value="setup_wan_pppoe">
<input type="hidden" name="connectflag" value>
<input type="hidden" name="logout" value="2">
<input type="text" name="UN" size="25" maxlength="60" value="XXX@dsl-flat">
<input type="password" name="PW" size="25" maxlength="60" value="1234">
<input type="password" name="PWV" size="25" maxlength="60" value="1234">
<input type="text" name="SN" size="25" maxlength="60" value="ISP">
<input type="text" name="idle" size="10" maxlength="5" value="0">
<input type="checkbox" name="reconnect" checked>
<input type="button" value=" Connect " onClick="connect();">
<input type="button" value="Disconnect" onClick="disconnect();">
</form>
Code: Alles auswählen
function connect() {
if(isBlank(document.tF0.UN.value)){ alert(\'Please enter your username\'); return false; }
if(document.tF0.PWV.value!=document.tF0.PW.value) { alert(\'Password verification error\'); return false; }
document.tF0.connectflag.value=1;
document.tF0.submit();
return true;
}
function disconnect() {
if(isBlank(document.tF0.UN.value)){ alert(\'Please enter your username\'); return false; }
if(document.tF0.PWV.value!=document.tF0.PW.value) { alert(\'Password verification error\'); return false; }
document.tF0.connectflag.value=2;
document.tF0.submit();
return true;
}
Code: Alles auswählen
Cable/DSL : DISCONNECTED<br>
Code: Alles auswählen
CONNECTED<br>WANIP:
Code: Alles auswählen
<br>GatewayIP:
Code: Alles auswählen
<font face="Arial, Helvetica, sans-serif" size="1">
Cable/DSL : CONNECTED<br>
WAN IP: 82.207.236.78<br>
Gateway IP: 82.207.232.1<br>
DNS: 195.202.32.79<br>
Secondary DNS: 195.202.33.68<br>
</font>
Code: Alles auswählen
<POST>setup_wan_pppoe.htm?page=setup_wan_pppoe&connectflag=2&logout=2
Code: Alles auswählen
function evaltF() {
if(isBlank(document.tF0.UN.value)){ alert(\'Please enter your username\'); return false; }
if(document.tF0.PWV.value!=document.tF0.PW.value) { alert(\'Password verification error\'); return false; }
document.tF0.connectflag.value=3;
document.tF0.submit();
return true;
-----------
function disconnect() {
if(isBlank(document.tF0.UN.value)){ alert(\'Please enter your username\'); return false; }
if(document.tF0.PWV.value!=document.tF0.PW.value) { alert(\'Password verification error\'); return false; }
document.tF0.connectflag.value=2;
document.tF0.submit();
return true;
}
function submitF() {
return evaltF();
}
}
----------
<form name="tF0" method="post" action="setup_wan_pppoe.htm">
<input type="hidden" name="page" value="setup_wan_pppoe">
<input type="hidden" name="connectflag" value>
<input type="hidden" name="logout" value="2">
----------
<input type="button" value="Disconnect" onClick="disconnect();">