Seite 1 von 1

Verfasst: 27.05.2006, 13:18
von Jusher
i know
hab ich auch schon gesehen
Funktioniert bei mir aber komischerweise nicht ?(

MfG
Jusher

Verfasst: 20.05.2006, 11:26
von mirko
Das Forum hat eine Suchfunktion, wenn man nach pppoeAction sucht, dann findet man z.B. diesen Beitrag.

thread.php?id=5166&start=1&seuser=&sepo ... eAction#10

Verfasst: 20.05.2006, 10:05
von Jusher
Aber ich habe doch den Quelltext für die benötigten Infos gepostet!
Ich will ja nur wissen wie man den Button Disconnect und Connect anhand dieses Quelltextes:

<input>
<input>

\"drücken lassen kann\"!
Dafür braucht man ja wahrscheinlich auch noch das:

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

Ich hoffe jemand von euch kann mir helfen!

MfG
Jusher

Verfasst: 19.05.2006, 19:33
von mirko
Wir leben im EU-Land, entsprechend wird dir kaum jemand bei einem Nicht-EU Router helfen können.

Verfasst: 19.05.2006, 18:10
von Jusher
Kann mir wirklich NIEMAND helfen??
Das muss doch irgendwie gehen!!!

Mit freundlichen Grüßen
Jusher

Verfasst: 16.05.2006, 14:23
von Jusher
tja, das dachte ich auch.
Ist aber nicht so.
Das Blöde ist auch, dass der Router in Europa gar nicht verkauft wird. Mein Vater hat den bei eBay geholt und ich hab gelesen, dass man hierzulande nur den v2 kaufen kann ?(
Um weitere Hilfe wird gebeten :)

MfG
Jusher

Verfasst: 16.05.2006, 10:57
von mirko
Schau dir mal die anderen Netgear-Router im RouterControl-Editor an, das ist doch bei den Netgear-Routern immer das gleiche Prinzip.

Verfasst: 13.05.2006, 15:48
von Jusher
Hallo,
ich würde meinen Netgear Router MR814 gerne mit dem Programm RouterControl disconnecten.
Um den Disconnect manuell auszuführen geht man auf http://192.168.1.2/pppoestatus.htm und drückt dort den Button \"Disconnect\". Dadurch trennt sich die Verbindung zum Internet. Beim Druck auf den Button \"Connect\" verbindet sich der Router wieder mit dem Internet.
Der Quelltext von pppoestatus.htm:

Code: Alles auswählen

<html>
<head>
<title>PPPoE Status</title>
<meta http-equiv=refresh>
<link rel="stylesheet" href="form.css">
<META content=text/html;charset=iso-8859-1 http-equiv=content-type>
<META http-equiv=\'Pragma\' CONTENT=\'no-cache\'>
	<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">	
<!--<style type=\'text/css\'></style>//-->
<script language=JavaScript>
function isIE(){
		var browser = new Object();
		browser.version = parseInt(navigator.appVersion);
		browser.isNs = false;
		browser.isIe = false;
		if(navigator.appName.indexOf("Netscape") != -1)
			browser.isNs = true;
		else if(navigator.appName.indexOf("Microsoft") != -1)
			browser.isIe = true;
			
		if(browser.isNs)
			return false;
		else if (browser.isIe)
			return true;

}

function countTime(){
	window.focus();
	var t=document.forms[0].connTime.value;
	var s=document.forms[0].connStatus.value;
	var g=document.forms[0].getIP.value;
	timeString=\'\';

	if((s != \'Connected\') && (g != \'OK\')){
		window.setTimeout(\'Fresh()\',5000);
	}
	if(s == \'Connected\')
		window.setTimeout(\'Fresh()\',60000);
}

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

function Fresh() {
	parent.location = "pppoestatus.htm";
}
</script>
</head>

<body  bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" text=black onLoad="countTime()">
<center><br>

<form method="post" action="/post-query">
<input type=hidden name="Load" value="Q">
<FONT face="Arial, Helvetica, sans-serif" size=3><B></B></FONT>
<table width=100% border=1 cellspacing=1 cellpadding=5>

	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Connection time</B></FONT></td>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2>
	00:17:05
			</FONT></td>
	</tr>

	
	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Connecting to server</B></FONT></td>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2>OK</FONT></td>
	</tr>
	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Negotiation</B></FONT></td>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2>OK</FONT></td>

	</tr>
	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Authentication</B></FONT></td>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2>OK</FONT></td>
	</tr>
	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Getting IP address</B></FONT></td>

		<td><FONT face="Arial, Helvetica, sans-serif" size=2>OK</FONT></td>
	</tr>
	<input type=hidden name=connTime value=00:17:05>
	<input type=hidden name=connStatus value=Connected>
	<input type=hidden name=getIP value=OK>	
</table>
	<p>
	<TABLE border=0 cellPadding=0 cellSpacing=0 width=250>
                    <TBODY>

                    <TR>
                    	<input type=hidden name=pppoeAct value=0>
                      <TD align="center">
                        <input type=button value=\' Connect \' onClick=\'pppoeAction(this.form,1)\'>
                        <input type=button value=\' Disconnect \' onClick=\'pppoeAction(this.form,2)\'>
                       
                      </TD>

                      </TR>
                   </TBODY></TABLE>

                    <table width=100% border=0 cellspacing=0 cellpadding=0> 
                    <tr width="100%"><td>
                   <img src="img/liteblue.gif" width="100%" height="2" border="0"> 
                     <center>
                        <input type=button name="close" value="Close Window" onclick="window.close();">
                     </center>  
                    </td></tr> 
                      <input type=hidden name="Button" value="Apply">
					</table>
</form>
</center>
</body>

</html>
So sieht es aus, wenn der Router seit 00:17:05 Stunden mit dem Internet verbunden ist und die Felder \"Connecting to server\", \"Negotiation\", \"Authentication\" und \"Getting IP address\" auf \"OK\" stehen.

Hier noch einmal der Fall bei getrennter Verbindung:

Code: Alles auswählen

<html>
<head>
<title>PPPoE Status</title>
<meta http-equiv=refresh>
<link rel="stylesheet" href="form.css">
<META content=text/html;charset=iso-8859-1 http-equiv=content-type>
<META http-equiv=\'Pragma\' CONTENT=\'no-cache\'>
	<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">	
<!--<style type=\'text/css\'></style>//-->
<script language=JavaScript>
function isIE(){
		var browser = new Object();
		browser.version = parseInt(navigator.appVersion);
		browser.isNs = false;
		browser.isIe = false;
		if(navigator.appName.indexOf("Netscape") != -1)
			browser.isNs = true;
		else if(navigator.appName.indexOf("Microsoft") != -1)
			browser.isIe = true;
			
		if(browser.isNs)
			return false;
		else if (browser.isIe)
			return true;

}

function countTime(){
	window.focus();
	var t=document.forms[0].connTime.value;
	var s=document.forms[0].connStatus.value;
	var g=document.forms[0].getIP.value;
	timeString=\'\';

	if((s != \'Connected\') && (g != \'OK\')){
		window.setTimeout(\'Fresh()\',5000);
	}
	if(s == \'Connected\')
		window.setTimeout(\'Fresh()\',60000);
}

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

function Fresh() {
	parent.location = "pppoestatus.htm";
}
</script>
</head>

<body  bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" text=black onLoad="countTime()">
<center><br>

<form method="post" action="/post-query">
<input type=hidden name="Load" value="Q">
<FONT face="Arial, Helvetica, sans-serif" size=3><B></B></FONT>
<table width=100% border=1 cellspacing=1 cellpadding=5>

	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Connection time</B></FONT></td>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2>
	00:00:00
			</FONT></td>
	</tr>

	
	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Connecting to server</B></FONT></td>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2>Trying</FONT></td>
	</tr>
	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Negotiation</B></FONT></td>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2>---</FONT></td>

	</tr>
	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Authentication</B></FONT></td>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2>---</FONT></td>
	</tr>
	<tr>
		<td><FONT face="Arial, Helvetica, sans-serif" size=2><B>Getting IP address</B></FONT></td>

		<td><FONT face="Arial, Helvetica, sans-serif" size=2>---</FONT></td>
	</tr>
	<input type=hidden name=connTime value=00:00:00>
	<input type=hidden name=connStatus value=Disconnected>
	<input type=hidden name=getIP value=--->	
</table>
	<p>
	<TABLE border=0 cellPadding=0 cellSpacing=0 width=250>
                    <TBODY>

                    <TR>
                    	<input type=hidden name=pppoeAct value=0>
                      <TD align="center">
                        <input type=button value=\' Connect \' onClick=\'pppoeAction(this.form,1)\'>
                        <input type=button value=\' Disconnect \' onClick=\'pppoeAction(this.form,2)\'>
                       
                      </TD>

                      </TR>
                   </TBODY></TABLE>

                    <table width=100% border=0 cellspacing=0 cellpadding=0> 
                    <tr width="100%"><td>
                   <img src="img/liteblue.gif" width="100%" height="2" border="0"> 
                     <center>
                        <input type=button name="close" value="Close Window" onclick="window.close();">
                     </center>  
                    </td></tr> 
                      <input type=hidden name="Button" value="Apply">
					</table>
</form>
</center>
</body>

</html>
Die Adresse für die Statusinformationen ist http://192.168.1.2/sysstatus.html
Die Anzeige dieser Daten in RC hat bereits funktioniert!

Nun würde ich also gerne wissen, was ich bei \"Verbindungsaufbau/abbau\" in Rcedit für den Aufbau der Verbindung und den Abbau der Verbindung eintragen muss.

Mit freundlichen Grüßen
Jusher