光速联提速脚本使用技巧

以openwrt为例

  1. 光速联官网注册账号并购买加速服务
  2. 下载脚本
  3. 根据自己的光速联账号修改脚本
    账号手机号
    密码进入https://www.cmd5.com/
    查询结果:md5(password,32) = 5f4dcc3b5aa765d61d8327deb882cf99
    复制md5密码,即5f4dcc3b5aa765d61d8327deb882cf99

image-20210828213814689

image-20210828214723041

  1. 用winscp或其他工具将GSL.sh上传到路由器,以/root/guangsulian/为例,权限全给0777。

  2. 登录openwrt后台,找到“系统-计划任务”,添加一行
    0 */7 * * * sh /root/guangsulian/GSL.sh

    image-20210828214013006

  3. 找到“系统-启动项”,翻到最下面,粘贴下面一段:

	# Put your custom commands here that should be executed once
	# the system init finished. By default this file does nothing.
	sleep 60 &&  sh /root/guangsulian/GSL.sh
	exit 0

image-20210828214033095

posted @ 2021-08-29 08:31  iangel  阅读(1200)  评论(0)    收藏  举报