typora-copy-images-to |
---|
ipic |
Fchinanet是一款用于江苏、安徽等地电信校园上网的工具,接口由逆向掌上大学所得,如果你的所在地的电信宽带是使用掌上大学APP扫PC端二维码登录,那么你可以尝试下本工具。
- 帮助
./fchinanet -h
- 简单的登录示例
./fchinanet -a account -p password
- 下线
./fchinanet -a account -p passwd -b 0
-
在线设备列表、多设备登录等更多功能请参见第一条的帮助
-
你可以在windows\linux\macos上创建脚本来方便的执行命令, 如果你愿意可以用crontab命令设置定时执行或加入开机启动项
本工具用Go编写,本地Go版本为1.8.3。编译前你需要准备:
- 安装Go 1.8+(低版本未测试,低版本部分ARM架构的编译不支持)
- 配置Go环境变量
- 安装依赖:
go get github.com/fatih/color
- 编译所需平台的可执行文件,可参考 build.sh
- 错误信息中包含test.f-young.cn,pre.f-young.cn字样
- 请检查本地网络连接或者设置;
- can't resolve user info
- 请检查账号密码是否正确;
- 亲爱的同学,你的账号现在尚未绑定该手机或者绑定已过期,为了你的账号安全,请切换到3G/4G下进行绑定流程。错误码【H504】
- 打开掌上大学,在宽带页面进行下相关操作,一般来说获取下宽带密码即可;
- 操作失败,请直接联系4008898915。错误码【62201】
- 使用v3.3或更高版本,如果使用后还是出现这个错误,请检查本地时间是否正确,不正确有两种解决方式:
- 方式1:修正本地时间;
- 方式2:使用v3.4或以上版本,添加指令
bt
,即fchinanet -a ... -p ... -bt
,bt
指令用来设置一个很大的时间参数以此来通过电信服务器的时间验证;
- 使用v3.3或更高版本,如果使用后还是出现这个错误,请检查本地时间是否正确,不正确有两种解决方式: