LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 822|回复: 6

求在linux下的宽带拨号程序~~~

[复制链接]
发表于 2003-8-6 19:46:22 | 显示全部楼层 |阅读模式
河南的web认证方式我这里已经不能用了,我的linux不能上网,大家帮帮忙看看能不能编一个在linux下的宽点拨号程序啊,恕小弟我笨拙,我不会呀~~~
:help :help :help
 楼主| 发表于 2003-8-6 19:54:16 | 显示全部楼层
忘了说了,我这里是FTTX+LAN,光纤到楼层交换机,用户局域网接入ISP,开机获得限制IP,在windows下拨号后获得公网IP。
我装的RH9一直没上过网,痛苦啊~~~
发表于 2003-8-6 21:34:24 | 显示全部楼层
兄弟,看看这里,或许有帮助~~~
http://www.linuxsir.cn/postnuke/ ... order=0&thold=0
 楼主| 发表于 2003-8-6 22:01:19 | 显示全部楼层
555……我看了很多遍了,论坛的帖子也搜了很多了
zest兄说只有自己编一个能在linux下运行的程序了,可我不会呀
这里有谁会帮帮忙吧
 楼主| 发表于 2003-8-7 11:08:51 | 显示全部楼层
没有人帮忙吗?
发表于 2003-8-7 15:24:41 | 显示全部楼层
向宽带网接入商反映...
在软件行业从业的人员可与他们联系,说不定还能赚点钱。
 楼主| 发表于 2003-8-7 16:19:09 | 显示全部楼层
以前的web认证页面 http://218.29.0.253/kuandai/timer.jsp
现在的源代码如下:
<html lang="zh">
<script language=javascript>
<!--
minimizebar="minimize.gif";   //窗口右上角最小化“按钮”的图片
minimizebar2="minimize2.gif"; //鼠标悬停时最小化“按钮”的图片
closebar="close.gif";         //窗口右上角关闭“按钮”的图片
closebar2="close2.gif";       //鼠标悬停时关闭“按钮”的图片
icon="icon.gif";              //窗口左上角的小图标

function noBorderWin(fileName,w,h,titleBg,moveBg,titleColor,titleWord,scr)  //定义一个弹出无边窗口的函数,能数意义见下面“参数说明”,实际使用见最后的实例。
/*
------------------参数说明-------------------
fileName   :无边窗口中显示的文件。
w       :窗口的宽度。
h       :窗口的高度。
titleBg    :窗口“标题栏”的背景色以及窗口边框颜色。
moveBg     :窗口拖动时“标题栏”的背景色以及窗口边框颜色。
titleColor :窗口“标题栏”文字的颜色。
titleWord  :窗口“标题栏”的文字。
scr        :是否出现滚动条。取值yes/no或者1/0。
--------------------------------------------
*/
{
  var contents="<html>"+
               "<head>"+
                       "<title>"+titleWord+"</title>"+
                           "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">"+
                           "<object id=hhctrl type='application/x-oleobject' classid='clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11'><param name='Command' value='minimize'></object>"+
                           "</head>"+
               "<body topmargin=0 leftmargin=0 scroll=no onselectstart='return false' ondragstart='return false'>"+
                           "  <table height=100% width=100% cellpadding=0 cellspacing=1 bgcolor="+titleBg+" id=mainTab>"+
                           "    <tr height=18 style=cursor:default; onmousedown='x=event.x;y=event.y;setCapture();mainTab.bgcolor=\""+moveBg+"\";' onmouseup='releaseCapture();mainTab.bgcolor=\""+titleBg+"\";' onmousemove='if(event.button==1)self.moveTo(screenLeft+event.x-x,screenTop+event.y-y);'>"+
                           "      <td width=18 align=center><img height=12 width=12 border=0 src="+icon+"></td>"+
                           "      <td width="+w+"><span style=font-size:12px;color:"+titleColor+";font-family:宋体;position:relative;top:1px;>"+titleWord+"</span></td>"+
                           "      <td width=14><img border=0 width=12 height=12 alt=最小化 src="+minimizebar+" onmousedown=hhctrl.Click(); onmouseover=this.src='"+minimizebar2+"' onmouseout=this.src='"+minimizebar+"'></td>"+
                           "      <td width=13><img border=0 width=12 height=12 alt=关闭 src="+closebar+" onmousedown=self.close(); onmouseover=this.src='"+closebar2+"' onmouseout=this.src='"+closebar+"'></td>"+
                           "    </tr>"+
                           "    <tr height=*>"+
                           "      <td colspan=4>"+
                           "        <iframe name=nbw_v6_iframe src="+fileName+" scrolling="+scr+" width=100% height=100% frameborder=0></iframe>"+
                           "      </td>"+
                           "    </tr>"+
                           "  </table>"+
                           "</body>"+
                           "</html>";

  pop=window.open("","_blank","fullscreen=yes");
  pop.resizeTo(w,h);
  pop.moveTo((screen.width-w)/2,(screen.height-h)/2);
  pop.document.writeln(contents);

  if(pop.document.body.clientWidth!=w||pop.document.body.clientHeight!=h)  //如果无边窗口不是出现在纯粹的IE窗口中
  {
    temp=window.open("","nbw_v6");
        temp.close();
        window.showModalDialog("about:<"+"script language=javascript>window.open('','nbw_v6','fullscreen=yes');window.close();"+"</"+"script>","","dialogWidth:0px;dialogHeight:0px");
        pop2=window.open("","nbw_v6");
    pop2.resizeTo(w,h);
    pop2.moveTo((screen.width-w)/2,(screen.height-h)/2);
    pop2.document.writeln(contents);
        pop.close();
  }
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<HEAD>
<TITLE>中国网通宽带业务</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<style type="text/css">
<!--
td {  font-size: 12px; line-height: 15px}
tr {  font-size: 12px}
..da {  font-size: 14px}
-->
</style>
<script LANGUAGE="JavaScript">
function checkL(){
/*
            if (document.selfLogonForm.login.value=="")
            {
                    alert("请输入登录名.");
                    document.selfLogonForm.login.focus();
                    document.selfLogonForm.login.select();
                    return false;
            }
            if (document.selfLogonForm.password.value=="")
            {
                        alert("请输入口令.");
                        document.selfLogonForm.password.focus();
                        document.selfLogonForm.password.select();
                        return false;
            }
   */
          return true;
    }
</script>
</HEAD>
<!--script src="page/js/inputChk.js"></script-->
<!--script src="page/js/selflogin_check.js"></script-->
<BODY BGcolor=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="752" border="0" bgcolor="#000000" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td width="760">
      <table width=752 border=0 cellpadding=0 cellspacing=0 align="center">
        <tr>
          <td> <img src="images/index_01.jpg" width=482 height=86 alt=""></td>
          <td rowspan=3 width="435" height="270" background="images/index_02.jpg" valign="top">
            <table width="70%" border="0" align="center" class="da" cellspacing="3">
            <form name="selfLogonForm" method="OST" action="/kuandai/timerLogon.do" onsubmit="return checkL();">
              <tr>
                <td height="35" width="27%">&nbsp;</td>
                <td height="15" width="73%">&nbsp;</td>
              </tr>
              <tr>
                <td width="27%" class="da"><!--帐号:--></td>
                <td width="73%">
                     <!--html:text property="login" size="16" maxlength="16"/-->
                </td>
              </tr>
              <tr>
                <td width="27%" class="da"><!--密码:--></td>
                <td width="73%">
                  <!--html:password property="password" size="16" maxlength="16" redisplay="false"/-->
                </td>
              </tr>
              <tr>
                <td >
                  <div align="center"><!--input type="image" name="Submit" src="images/tj1.jpg"-->
               </td>
                </form>
<script language="JavaScript" type="text/javascript">
  <!--
    document.forms["selfLogonForm"].elements["login"].focus()
  // -->

帮忙看看吧,现在的页面上没有可认证的地方啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表