找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2696|回复: 5

谁的dd-wrt用wifiap的web认证,能发一下配置脚本吗?

[复制链接]
路由器恢复出厂了,之前设置没了,而wifiap现在又找不到生成脚本
我的恩山、我的无线 The best wifi forum is right here.
17774114@qq.com发份我啊,,谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
# license must be the same with license in wifiap center机器码(修改为你的热点机器码) license="ddtenda" # hotspotname must be the same with HotspotName in wifiap center 热点名称 hotspotname="xierongqin" #enable("1") or disable("0") Captiveportal 启动或禁用认证功能 auth="1"  #code begin,Don't edit it 以下代码不需要修改 if [ "$auth" = "1" ] then         key="`/bin/echo -n "$license$hotspotname"|/usr/bin/md5sum|/usr/bin/awk '{print $1}'`"         echo $key>/tmp/wifiap_wifidog.key         res=1         while [ $res -ne 0 ]         do                 /usr/bin/wget -t 3 -T 20 "http://c.wifiap.cn/c/router_api_cmd_dd.php?gw_id=$hotspotname&key=$key&action=getscript" -O /tmp/wifiap_wifidog_watch.sh                 res=$?                 if [ $res -eq 0 ]                 then                         read firstline</tmp/wifiap_wifidog_watch.sh                         if [ "$firstline" = "#/bin/sh" ]                         then                                 res=0                         else                                 res=1                                 /bin/sleep 10                         fi                 else                         /bin/sleep 10                 fi         done         /bin/chmod +x /tmp/wifiap_wifidog_watch.sh         /bin/sh /tmp/wifiap_wifidog_watch.sh & fi #code end

点评

您有锁定CMCC的MAC地址的脚本吗?正被CMCC不能锁定到MAC而困绕呢。  详情 回复 发表于 2014-12-7 18:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

QIN44 发表于 2014-11-23 06:22
# license must be the same with license in wifiap center机器码(修改为你的热点机器码) license="ddtend ...

您有锁定CMCC的MAC地址的脚本吗?正被CMCC不能锁定到MAC而困扰呢。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

过来看一下吧。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不懂,帮不了你
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-29 22:21

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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