New modem and iptables...
Antonio
antonio.montagnani at gmail.com
Wed Oct 24 07:40:29 UTC 2007
2007/10/24, Tim <ignored_mailbox at yahoo.com.au>:
> On Wed, 2007-10-24 at 07:52 +0200, Antonio wrote:
> >
> > Seamonkey has the same problem of Firefox, when you have finished to
> > configure device and you try to Save and Reboot, nothing happens,
> > Konqueror too. And I don't know why......
>
> Save us the source code of the configuration page, make sure your logon
> credentials aren't in it anywhere (read it in a plain text
> viewer/editor), post it here, and we might be able to spot the issue.
>
> --
> (This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
> important to the thread.)
>
>
This is the source of frame for Save and Reboot (and other System Options
<html><script>var remote_user="xxxx"; </script></html><html><head>
<meta http-equiv=Content-Script-Type content=text/javascript>
<meta http-equiv=Content-Style-Type content=text/css>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../html/css/alpha.css" type="text/css">
<script language="JavaScript" src="../html/js/menu.js"></script>
</head>
<script language="JavaScript">
top.HistoryHref="tools_system.htm";
top.HistoryItem="System";
</script>
<body topmargin=20>
<script type='text/javascript'>
mainTableStart();
MapContent();
logo();
secondRow();
ThirdRowStart();
Write_Item_Images();//left area
ThirdRowEnd();
inTableStart();
</script>
<!-- main table-->
<script language="JavaScript" src="../html/js/jsl.js"></script>
<script language="JavaScript" src="../html/js/error.js"></script>
<script>
function uiDoOnLoad()
{
document.getElementById("uiStatus").disabled=true;
return true;
}
function aaa()
{
document.location.href="http://"+location.hostname;
}
function uiDoUpdateConfig(value)
{
if(value=="")
{ alert("You must select a file to update.");
return false;
}
else
{
document.getElementById("uiStatus").disabled=false;
document.getElementById("uiStatus").value = "Upgrade in progress,
Please wait...";
document.getElementById("uiStatus").disabled=true;
//setTimeout(aaa, 40000);
document.getElementById("uiPostUpdateConf").submit();
}
}
function commandset()
{
if(confirm("Are you sure you want to restore factory defaults?") )
{
document.getElementById("commandname").value="restore";
document.getElementById("pagename").value = "../html/tools/restartmodem.htm";
document.getElementById("backip").value="restore";
document.getElementById("uiPostrestart").value="1";
document.getElementById("pppdisconnect").disabled = false;
document.getElementById("uiPostForm1").submit();
}
}
function doConfigForm()
{
document.getElementById("uiPostForm2").submit();
//top.fPanel.location.href="../cgi-bin/webcm?getpage=../html/tools/fPanelConfigSave.htm";
}
//inserted by Edward on 2004/09/15
function reboot()
{
if(confirm("Save and restart?"))
{
document.getElementById("uiPostVarName").name = "logic:command/save";
document.getElementById("pagename").value = "../html/tools/restartmodem.htm";
document.getElementById("commandname").value="restart";
document.getElementById("uiPostrestart").value="1";
document.getElementById("pppdisconnect").disabled = false;
document.getElementById("uiPostForm1").submit();
}
}
//inserted by Edward on 2004/09/15 end
</script>
<form>
<table width="540" border="0" cellspacing="0" cellpadding="0" rules = "none">
<tr>
<td colspan="4" class ="tabhead">
<div align="left">System Settings</div></td>
</tr>
<tr>
<td height="50" colspan="4" class ="tabdata">The current system
settings can be saved as a file onto the local hard drive.</td>
</tr>
<tr><td><br></td></tr>
<tr>
<td colspan="4" class ="intabdataleft">
<div align="left">Save Settings To Local Hard Drive</div></td>
</tr>
<tr>
<td colspan = "4" align=left height=35>
<INPUT onclick="doConfigForm()" type=button value="Save" name=save>
<br>
</td>
</tr>
<tr>
<td colspan="4" height=10><br></td>
</tr>
</form>
<form name="Configuration" method="POST"
action="../cgi-bin/firmwarecfg" enctype="multipart/form-data"
id="uiPostUpdateConf">
<tr>
<td colspan="4" class ="intabdataleft">
<div align="left">Load Settings From Local Hard Drive</div>
</td>
</tr>
<tr>
<td colspan="4" class ="tabdata" align=left>
<input type = "file" size = "30" name="UploadFile" value="Browse"
id="uiViewFileSelectorConf">
</td>
</tr>
<tr>
<td height="75" colspan="4" align="left" class = "formfileds">
<INPUT onclick="if(!uiDoUpdateConfig(document.getElementById('uiViewFileSelectorConf').value))
return false;" type=button value="Load" name=upgrade id="uiUpgrade"
><br>
</td></tr>
</form>
<tr>
<td colspan="4" class = "tabdata" >Note: The system has to be
restarted after the configuration is restored.</td>
</tr>
<tr><td><br></td></tr>
<tr>
<td colspan="4" class = "tabdata"><font size=3 face= "Ariel">
<input type="text" name="Status" id="uiStatus"
style="border-bottom:0px" style="border-top:0px"
style="border-right:0px" style="border-left:0px" size="55"
value=""></font>
</td>
</tr>
<!--inserted by Edward on 2004/09/15-->
<tr>
<td colspan="4" width="100%" height="28" class="intabdataleft">
Save Settings and Reboot the System.
</td>
</tr>
<tr>
<td colspan="4" class="tabhead" height="28">
<div align="left"><INPUT onclick="reboot()" type=button
value="Save and Reboot" name=reboot></div>
</td>
</tr>
<!--inserted by Edward on 2004/09/15 end-->
<tr><td><br></td></tr>
<tr>
<td colspan="4" class ="intabdataleft">
<div align="left">Restore To Factory Default Settings</div></td>
</tr>
<tr>
<td colspan = "4" align=left height=35>
<INPUT onclick="commandset()" type=button value="Restore"
name=restore><br>
</td>
</tr>
<tr>
<td height="60" class="copyright"></td>
</tr>
<tr>
<td align="right">
<input name="image" type="image"
src="../html/images/help_p.jpg" border="0" onClick="uiDoHelp()">
</td>
</tr>
<tr>
<td colspan="4" class="tabdata"><div align="left"></div></td>
</tr>
<form method="POST" action="webcm" target="_self" id="uiPostForm1" >
<input type="hidden" name="getpage" id="pagename"
value="../html/tools/restartmodem.htm">
<input type="hidden" id="commandname" name="var:com" value="">
<input type="hidden" id="backip" name="var:ip" value="">
<input type="hidden" name="var:restart" value="1" id="uiPostrestart">
<input type="hidden" id="uiPostVarName" name="" value="">
<input type="hidden" name="logic:command/ppp_disconnect"
value="" id="pppdisconnect">
</form>
<form method="POST" action="webcm" target="fPanel" id="uiPostForm2" >
<input type="hidden" name="getpage" value="../html/tools/fPanelConfigSave.htm">
<input type="hidden" name="logic:command/save" value="">
</form>
</table>
<!-- ------------ -->
<script type='text/javascript'>
inTableEnd();
mainTableEnd();
</script>
</body>
</html>
____________________________________________________
Tnx for help
--
Antonio Montagnani
Skype : antoniomontag
More information about the fedora-list
mailing list