由 mirro 在 08-06-2003 19:46 发表:
求在linux下的宽带拨号程序~~~
河南的web认证方式我这里已经不能用了,我的linux不能上网,大家帮帮忙看看能不能编一个在linux下的宽点拨号程序啊,恕小弟我笨拙,我不会呀~~~

由 mirro 在 08-06-2003 19:54 发表:
忘了说了,我这里是FTTX+LAN,光纤到楼层交换机,用户局域网接入ISP,开机获得限制IP,在windows下拨号后获得公网IP。
我装的RH9一直没上过网,痛苦啊~~~
由 pandonny 在 08-06-2003 21:34 发表:
兄弟,看看这里,或许有帮助~~~ 
http://www.linuxsir.com/postnuke/mo...r=0&thold=0
关爱社区,共建家园!
由 mirro 在 08-06-2003 22:01 发表:
555……我看了很多遍了,论坛的帖子也搜了很多了
zest兄说只有自己编一个能在linux下运行的程序了,可我不会呀
这里有谁会帮帮忙吧
由 mirro 在 08-07-2003 11:08 发表:
没有人帮忙吗?
由 sfatsdu 在 08-07-2003 15:24 发表:
向宽带网接入商反映...
在软件行业从业的人员可与他们联系,说不定还能赚点钱。
nObODy
由 mirro 在 08-07-2003 16:19 发表:
以前的web认证页面 http://218.29.0.253/kuandai/timer.jsp
现在的源代码如下:
1<html lang="zh">
2<script language="javascript">
3
4<!--
5
6minimizebar="minimize.gif"; //窗口右上角最小化“按钮”的图片
7
8minimizebar2="minimize2.gif"; //鼠标悬停时最小化“按钮”的图片
9
10closebar="close.gif"; //窗口右上角关闭“按钮”的图片
11
12closebar2="close2.gif"; //鼠标悬停时关闭“按钮”的图片
13
14icon="icon.gif"; //窗口左上角的小图标
15
16
17
18function noBorderWin(fileName,w,h,titleBg,moveBg,titleColor,titleWord,scr) //定义一个弹出无边窗口的函数,能数意义见下面“参数说明”,实际使用见最后的实例。
19
20/*
21
22\------------------参数说明-------------------
23
24fileName :无边窗口中显示的文件。
25
26w :窗口的宽度。
27
28h :窗口的高度。
29
30titleBg :窗口“标题栏”的背景色以及窗口边框颜色。
31
32moveBg :窗口拖动时“标题栏”的背景色以及窗口边框颜色。
33
34titleColor :窗口“标题栏”文字的颜色。
35
36titleWord :窗口“标题栏”的文字。
37
38scr :是否出现滚动条。取值yes/no或者1/0。
39
40\--------------------------------------------
41
42*/
43
44{
45
46var contents="<html>"+
47
48"<head>"+
49
50"<title>"+titleWord+"</title>"+
51
52"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">"+
53
54"<object id=hhctrl type='application/x-oleobject' classid='clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11'><param name='Command' value='minimize'></object>"+
55
56"</head>"+
57
58"<body topmargin=0 leftmargin=0 scroll=no onselectstart='return false' ondragstart='return false'>"+
59
60" <table height=100% width=100% cellpadding=0 cellspacing=1 bgcolor="+titleBg+" id=mainTab>"+
61
62" <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);'>"+
63
64" <td width=18 align=center><img height=12 width=12 border=0 src="+icon+"></td>"+
65
66" <td width="+w+"><span style=font-size:12px;color:"+titleColor+";font-family:宋体;position:relative;top:1px;>"+titleWord+"</span></td>"+
67
68" <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>"+
69
70" <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>"+
71
72" </tr>"+
73
74" <tr height=*>"+
75
76" <td colspan=4>"+
77
78" <iframe name=nbw_v6_iframe src="+fileName+" scrolling="+scr+" width=100% height=100% frameborder=0></iframe>"+
79
80" </td>"+
81
82" </tr>"+
83
84" </table>"+
85
86"</body>"+
87
88"</html>";
89
90
91
92pop=window.open("","_blank","fullscreen=yes");
93
94pop.resizeTo(w,h);
95
96pop.moveTo((screen.width-w)/2,(screen.height-h)/2);
97
98pop.document.writeln(contents);
99
100
101
102if(pop.document.body.clientWidth!=w||pop.document.body.clientHeight!=h) //如果无边窗口不是出现在纯粹的IE窗口中
103
104{
105
106temp=window.open("","nbw_v6");
107
108temp.close();
109
110window.showModalDialog("about :<"+"script language=javascript>window.open('','nbw_v6','fullscreen=yes');window.close();"+"</"+"script>","","dialogWidth:0px;dialogHeight:0px");
111
112pop2=window.open("","nbw_v6");
113
114pop2.resizeTo(w,h);
115
116pop2.moveTo((screen.width-w)/2,(screen.height-h)/2);
117
118pop2.document.writeln(contents);
119
120pop.close();
121
122}
123
124}
125
126
127
128function MM_swapImgRestore() { //v3.0
129
130var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
131
132}
133
134
135
136function MM_preloadImages() { //v3.0
137
138var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
139
140var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
141
142if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
143
144}
145
146
147
148function MM_findObj(n, d) { //v4.0
149
150var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
151
152d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
153
154if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
155
156for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
157
158if(!x && document.getElementById) x=document.getElementById(n); return x;
159
160}
161
162
163
164function MM_swapImage() { //v3.0
165
166var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
167
168if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
169
170}
171
172//-->
173
174</script>
175<head>
176<title>中国网通宽带业务</title>
177<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
178<style type="text/css">
179
180<!--
181
182td { font-size: 12px; line-height: 15px}
183
184tr { font-size: 12px}
185
186..da { font-size: 14px}
187
188\-->
189
190</style>
191<script language="JavaScript"></script></head></html>