找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: qw3752258

【长期维护】netkeeper,闪讯,e信,路由上网教程

 火... [复制链接]
发表于 2014-11-7 20:08 | 显示全部楼层
stealsmith 发表于 2014-11-6 21:55
再来顶一次,楼主已及时更新源码,虽未更新编译后版本,大ChongQing高校已经喜大普奔了。(。。。管得到好 ...

你好,stealsmith,贴吧出路由器的帖子是我发的。
之所以不带@的帐号是因为从前不带@的帐号是没有心跳的,而且网速更快(100Mbps),并且可以和带@的帐号同时使用。
只要是支持openwrt的路由器,并且可以找到对应的toolchain,都可以用这个方法,除了那些只有一个wan/lan口的蛋疼路由器。
提醒你,这个属于逆向工程,只适合小范围传播咯,我们也只是出闲置的路由器,我们已经找到了网速更快(50Mbps上下行对等),更经济的上网办法。
当然了,LZ是我的室友,LZ这个版本的代码是根据浙江闪讯的代码修改的,我有一份鲁棒性更好的,自适应的代码,当然不是strcspn这种简单方法实现的。如果你有兴趣进一步研究,比如学长们都没搞定的心跳包,可以联系我,我给你这份代码研究研究。

点评

求份代码研究一下 大神  详情 回复 发表于 2014-12-14 10:38
50Mbps的网速更快,更经济的上网办法是3元卡加ChinaNet中继?这个用了好几年了。不过动态密码是麻烦一点。层主有高招?  详情 回复 发表于 2014-11-15 20:21
嗯,我不会发编译后版,建议楼主也把编译版去掉,能跨越技术门槛的自己去搞。我也没有兴趣单发帖子传播。自用测试而已。进一步的研究确实没时间。仅仅是技术交流的兴趣而已。  详情 回复 发表于 2014-11-7 22:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-7 22:17 | 显示全部楼层
本帖最后由 stealsmith 于 2014-11-7 22:26 编辑
hd5970 发表于 2014-11-7 20:08
你好,stealsmith,贴吧出路由器的帖子是我发的。
之所以不带@的帐号是因为从前不带@的帐号是没有心跳的 ...


嗯,我不会发编译后版,建议楼主也把编译版去掉,能跨越技术门槛的自己去搞。我也没有兴趣单发帖子传播。自用测试而已。进一步的研究确实没时间。仅仅是技术交流的兴趣凑凑热闹罢了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-15 20:21 | 显示全部楼层
hd5970 发表于 2014-11-7 20:08
你好,stealsmith,贴吧出路由器的帖子是我发的。
之所以不带@的帐号是因为从前不带@的帐号是没有心跳的 ...

50Mbps的网速更快,更经济的上网办法是3元卡加ChinaNet中继?这个用了好几年了。不过动态密码是麻烦一点。层主有高招?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-27 23:38 | 显示全部楼层
本帖最后由 hg250 于 2014-11-27 23:39 编辑

6666

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-12-14 10:38 | 显示全部楼层
hd5970 发表于 2014-11-7 20:08
你好,stealsmith,贴吧出路由器的帖子是我发的。
之所以不带@的帐号是因为从前不带@的帐号是没有心跳的 ...

求份代码研究一下  大神
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-12-30 21:25 | 显示全部楼层
膜拜!!CQUPT发来贺电
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-1-17 23:41 | 显示全部楼层
cqupt 来道谢

1,我在openwrt使用闪讯已经能拨号了,但是头疼的离线时间同步问题,
闪讯的加密算法是根据时间来进行拨号的 ,
在openwrt中可以手动去同步时间,同步浏览器
同步好之后就可以正常的闪讯拨号了,  如果断电之后开机每次都进去手动同步也太麻烦了,怎么才能让openwrt在开机的时候自动去同步时间?

wr-740n v3

点评

我再多说这玩意就要被封了....去看下重邮的时间服务器吧  详情 回复 发表于 2015-1-20 02:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-1-18 21:37 | 显示全部楼层
Great job! 我就是按楼主的教程编译的netkeeper on openwrt, 不过这其中也走了不少弯路, 比如刚开始用的就是只有一个wan/lan口的tp-703n, 总是不成功,后来换tp-874n v7就OK了。
怎么说呢,我们好多人还是缺少楼主这种分享和开源的精神,自己搞出来之后总是当成宝贝,挖空心思想着如何从中获得点什么利益之类,而不是想着分享出来让大家共同进步,让更多的人受益。
当然,我觉得这也和国内的学术氛围有关(允许我装一下逼),大家对比一下国内外开源项目就知道了,我们现在用的Linux、Python、Apache都是开源的,而国内真正开源的项目有几个?从Symbian的衰落及Android阵营的崛起可以看到开源才是趋势(允许我这里再装一下逼),当然,除非你能提供像苹果一样的生态圈。
额额额,说的有点多少了,总之就是感谢楼主了。看到楼主又有更新,而且开源到github上,有感而发。
个人观点,不接受板砖,谢谢。

点评

我也发下感慨,我目前学到的Android开发知识,大多数都是直接看的国外的开源项目得到的,节省了很多造轮子与走弯路的时间,反观国内,居然有人拿开源的东西卖钱,而且一点不专业,还用QQ号! 同时,像这样的OP特  详情 回复 发表于 2015-1-20 02:44
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2015-1-20 02:30 | 显示全部楼层
wantongtang 发表于 2015-1-17 23:41
cqupt 来道谢

1,我在openwrt使用闪讯已经能拨号了,但是头疼的离线时间同步问题,

我再多说这玩意就要被封了....去看下重邮的时间服务器吧

点评

他们的客户端应该在没登陆成功之前可以先到时间服务器那同步时间吧?  详情 回复 发表于 2016-5-17 21:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2015-1-20 02:44 | 显示全部楼层
zhouyafeng 发表于 2015-1-18 21:37
Great job! 我就是按楼主的教程编译的netkeeper on openwrt, 不过这其中也走了不少弯路, 比如刚开始用的就 ...

我也发下感慨,我目前学到的Android开发知识,大多数都是直接看的国外的开源项目得到的,节省了很多造轮子与走弯路的时间,反观国内,居然有人拿开源的东西卖钱,而且一点不专业,还用QQ号!

同时,像这样的OP特殊拨号,居然有人卖200一个,时间心跳都没有解决(而且也懒的搞了)就好意思卖,还有的用E语言写的http-get请求,也拿出来卖,这东西连反编译的价值都没有哎。我把它放到github上,删除so文件,换成英文,就是为了提高门槛,省的被二次卖了。

你说的很对,国内就是这样的环境,但是我仍然坚持以后无论是OP项目,还是Android项目,都会开源的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-2-8 12:18 | 显示全部楼层
我在新疆,也是西安信利给电信做的客户端,前断时间一直在改pppd的auth.c,希望能识别ascii,然后直接填写截取到的用户名,然后一直没成功,准备放弃了。看到你这个,又有希望了,开学后试试。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-2-28 12:28 | 显示全部楼层
不太懂linux,自己乱折腾编译了一下。发现我以前下的固件是12.09的,gcc比较老,pppd也是2.4.5的,于是我就用的对应的2.4.5的源码,编译出来了,现在没回学校,不知道能否使用。编译的时候的信息:
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-gcc -Os -Wall sxplugin.c -fPIC -I/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/include -shared -o sxplugin.so
mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined
sxplugin.c: In function 'getPIN':
sxplugin.c:50:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:84:14: note: expected 'char * __restrict__' but argument is of type 'byte *'
sxplugin.c:62:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:246:15: note: expected 'const char *' but argument is of type 'byte *'
sxplugin.c:62:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:246:15: note: expected 'const char *' but argument is of type 'byte *'
sxplugin.c:62:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:246:15: note: expected 'const char *' but argument is of type 'byte *'
sxplugin.c:67:5: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:184:15: note: expected 'const char *' but argument is of type 'byte *'
sxplugin.c:70:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:92:14: note: expected 'char * __restrict__' but argument is of type 'byte *'
sxplugin.c:70:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:92:14: note: expected 'const char * __restrict__' but argument is of type 'byte *'
sxplugin.c:72:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:246:15: note: expected 'const char *' but argument is of type 'byte *'
sxplugin.c:77:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:246:15: note: expected 'const char *' but argument is of type 'byte *'
sxplugin.c:85:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/stdio.h:334:12: note: expected 'char * __restrict__' but argument is of type 'byte *'
sxplugin.c:122:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:84:14: note: expected 'char * __restrict__' but argument is of type 'byte *'
sxplugin.c:122:5: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:84:14: note: expected 'const char * __restrict__' but argument is of type 'byte *'
sxplugin.c:34:11: warning: unused variable 'j' [-Wunused-variable]
sxplugin.c: In function 'pap_modifyusername':
sxplugin.c:129:5: warning: pointer targets in passing argument 1 of 'getPIN' differ in signedness [-Wpointer-sign]
sxplugin.c:32:13: note: expected 'byte *' but argument is of type 'char *'
sxplugin.c:130:5: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
/home/ying/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/string.h:84:14: note: expected 'const char * __restrict__' but argument is of type 'byte *'
sxplugin.c:132:1: warning: no return statement in function returning non-void [-Wreturn-type]
mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined
mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined

点评

看运气呗,没有error应该没问题  详情 回复 发表于 2015-2-28 20:55
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2015-2-28 20:55 | 显示全部楼层
jacywy 发表于 2015-2-28 12:28
不太懂linux,自己乱折腾编译了一下。发现我以前下的固件是12.09的,gcc比较老,pppd也是2.4.5的,于是我就 ...

看运气呗,没有error应该没问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-4-4 17:58 | 显示全部楼层
其实可以用以没有linux客户端为由,向工信部投诉,有时有用,详见 http://www.zhihu.com/question/28584467
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-4-16 20:03 | 显示全部楼层
感谢大神。。。。我刚开始学
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 00:15

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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