Skip to content

测试运行

LOGI edited this page May 24, 2019 · 13 revisions

配置填写

下载并解压代码家庭云 (FamilyCloud)天翼云盘 (CloudDisk) 版任选其一,将上一步抓到的 accessToken 填入 config.json 中,保存完毕后上传到路由器或其他设备

依赖安装

opkg update && opkg install \
coreutils-nohup libreadline libcurl libopenssl \
bash curl wget openssl-util ca-certificates ca-bundle

手动运行

  • 老毛子 (Padavan)梅林 (Asuswrt-merlin) 需要指定 bash 解释器,即使用 /opt/bin/bash speedup.sh 命令执行
  • 该步骤是为了测试程序是否正常执行、宽带是否正常提速,测试成功后,必须添加 开机自启定时任务 方可维持提速
chmod +x *.sh && ./speedup.sh

输出样例

## 天翼云盘
[root@LOGI:/usr/local/etc/FamilyCloudSpeederInShell/beta/CloudDisk]#./speedup.sh 
*******************************************
Sending heart_beat package <1>
heart_beat:<signature:E5AF42E9B7FF419E3E37F0DF13AEB04CF4C151AA>
date:<Tue, 07 May 2019 13:14:24 GMT>
response:
<?xml version="1.0" encoding="UTF-8"?>
<qosInfoResponse><dialAccount>xx::xxxxxxxxxxxx</dialAccount>...</qosInfoResponse>
Sending heart_beat package <1> succeeded
*******************************************

## 家庭云
[root@LOGI:/usr/local/etc/FamilyCloudSpeederInShell/beta/FamilyCloud]#./speedup.sh 
*******************************************
Sending heart_beat package <1>
heart_beat:<signature:6472E77A29FC8EED505B393C65D4EEECE968119B>
date:<Tue, 07 May 2019 13:17:20 GMT>
status_code:400
response:
<?xml version="1.0" encoding="UTF-8"?>
<error>
    <code>FamilySpeedTimeOver</code><message>...dialAcct=xx::xxxxxxxxxxxx...</message>
</error>
Sending heart_beat package <1> succeeded
*******************************************