找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 7073|回复: 11

迅雷路由器RS1309刷RT-AC56U梅林后的注意事项

[复制链接]
发表于 2019-4-7 17:22 | 显示全部楼层 |阅读模式
本帖最后由 keke1023 于 2019-4-7 17:24 编辑

这两天闲着没事,闲鱼上60包邮收了一个迅雷路由器,卖家给刷好梅林寄了过来,这里说一下收到后的折腾以及刷机过程
刷机我没有动手,但是也查了相关的教程,就是要先刷一个旧版梅林开ssh,然后再刷入改版cfe,最后重启在救援模式里刷新的梅林,然后新的梅林会出现开机不会自动启用wifi的bug,原文教程是通过添加一个wan-start脚本来实现的

然后我拿到后在测试中发现一些问题:
1.启动时间很长,操作很卡,top指令看了一下,开机后几分钟内有一个mtdblock3进程持续占用至少40-50%的cpu,即便启动完成后,cpu负载也保持在18%左右
2.软重启后wan口有时无法连上,wan-start脚本也无法运行了,除非拔电源硬重启,这点不是每次都能复现,可能跟改设置有关,我也懒的反复测试了

那么我就搜索了一下相关的资料,很少有人提到mtdblock3的读写进程问题,但是最终还是查到了类似情况,解决方法也很简单——在无线设置里关闭WPS,没想到啊。。亲测有效,再次开机启动时间缩短到2-3分钟,而且mtdblock3进程也占用很低且只出现一下,启动后所有进程只有2%左右的cpu负载,任何操作也都恢复正常速度,不再出一条日志卡几秒

另一个问题就是脚本,查到了另一种开机自启动的方法,手动在/jffs/scripts/文件夹下touch生成一个services-start文件,然后chmod 777 /jffs/scripts/services-start赋予它执行权限,最后把
#!/bin/sh
sleep 10
nvram set wl0_radio=1
nvram set wl1_radio=1
nvram commit
service restart_wireless
写入到services-start文件里即可,总之这样不论wan口状态,开机后wifi总是有的


附上一个各种不同脚本启动时间的说明:
  • ** User scripts **
  • These are shell scripts that you can create, and which will be run when
  • certain events occur.  Those scripts must be saved in /jffs/scripts/ ,
  • so, JFFS must be enabled, as well as the option to use custom
  • scripts and configs.  This can be configured under Administration -> System.
  • Available scripts:
  • * ddns-start: Script called at the end of a DDNS update process.
  •                This script is also called when setting the DDNS type
  •                to "Custom".  The script gets passed the WAN IP as
  •                an argument.
  •                When handling a "Custom" DDNS, this script is also
  •                responsible for reporting the success or failure
  •                of the update process.  See the Custom DDNS section
  •                below for more information.
  • * dhcpc-event: Called whenever a DHCP event occurs on the WAN
  •                 interface.  The type of event (bound, release, etc...)
  •                 is passed as an argument.
  • * firewall-start: Firewall is started (filter rules have been applied)
  •                    The WAN interface will be passed as argument (for
  •                    example. "eth0")
  • * init-start: Right after jffs is mounted, before any of the services
  •                get started
  • * nat-start: nat rules (i.e. port forwards and such) have been applied
  •               (nat table)
  • * openvirtual**-event: Called whenever an Openvirtual** server gets
  •                   started/stopped, or an Openvirtual** client connects to a
  •                   remote server.  Uses the same syntax/parameters as
  •                   the "up" and "down" scripts in Openvirtual**.
  • * post-mount: Just after a partition is mounted
  • * pre-mount: Just before a partition is mounted.  Be careful with
  •               this script.  This is run in a blocking call and will
  •               block the mounting of the partition  for which it is
  •               invoked till its execution is complete. This is done so
  •               that it can be used for things like running e2fsck on the
  •               partition before mounting. This script is also passed the
  •               device path being mounted as an argument which can be
  •               used in the script using $1.
  • * qos-start: Called after both the iptables rules and tc configuration
  •               are completed for QoS.  This script will be passed an
  •               argument, which will be "init" (when QoS is being
  •               initialized and it has setup the tc classes) or
  •               "rules" (when the iptables rules are being setup).
  • * services-start: Initial service start at boot
  • * services-stop: Services are stopped at shutdown/reboot
  • * unmount: Just before unmounting a partition.  This is a blocking
  •             script, so be careful with it.  The mount point is passed
  •             as an argument to the script.
  • * wan-start: WAN interface just came up (includes if it went down and
  •               back up).  The WAN unit number will be passed as argument
  •               (0 = primary WAN)
  • Don't forget to set them as executable:
  •    chmod a+rx /jffs/scripts/*
  • And like any Linux script, they need to start with a shebang:
  •    #!/bin/sh


本帖子中包含更多资源

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

×

评分

参与人数 1恩山币 +2 收起 理由
alitt*** + 2 玩得不错

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-4-9 15:40 | 显示全部楼层
本帖最后由 mazda520 于 2019-4-9 15:44 编辑

问题2  开机运行/jffs/scripts/wan-start即可

另外建议脚本里同步添加关闭wps命令

点评

wps手动关一次就行了啊,不用每次关~  详情 回复 发表于 2019-4-9 16:27
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-4-9 16:27 | 显示全部楼层
mazda520 发表于 2019-4-9 15:40
问题2  开机运行/jffs/scripts/wan-start即可

另外建议脚本里同步添加关闭wps命令

wps手动关一次就行了啊,不用每次关~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-4-9 17:11 | 显示全部楼层
本帖最后由 afeng11 于 2019-4-9 17:13 编辑

这些问题感觉还是cfe的导致的

点评

应该是,但是也不知道怎么改了。。只能自己善后  详情 回复 发表于 2019-4-9 17:19
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-4-9 17:19 | 显示全部楼层
afeng11 发表于 2019-4-9 17:11
这些问题感觉还是cfe的导致的

应该是,但是也不知道怎么改了。。只能自己善后

点评

等我有了帮你改  详情 回复 发表于 2019-4-9 17:21
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-4-9 17:21 | 显示全部楼层
keke1023 发表于 2019-4-9 17:19
应该是,但是也不知道怎么改了。。只能自己善后

等我有了帮你改
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-4-9 18:17 | 显示全部楼层
afeng11 发表于 2019-4-9 17:21
等我有了帮你改

好呀,这个cfe还已经是改过的了,现在收一个很便宜哈哈哈80块吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-7-19 11:19 | 显示全部楼层
请问大神能使用软件中心吗?梅林的核心就是软件中心。

点评

可以呀,就是跟ac56u一样  详情 回复 发表于 2019-7-19 13:41
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-7-19 13:41 | 显示全部楼层
jy02306142 发表于 2019-7-19 11:19
请问大神能使用软件中心吗?梅林的核心就是软件中心。

可以呀,就是跟ac56u一样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-12-20 08:39 | 显示全部楼层
大哥,请问下。刷了之后,确实固件通刷。可是无线信号太差了,比新3还差,走几步,眼看866M的链接,就只有80M了,在同一个房间啊。怎么刷回讯雷原本的固件呢?
请指点下吧,谢谢。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-12-20 10:33 | 显示全部楼层
473253327 发表于 2019-12-20 08:39
大哥,请问下。刷了之后,确实固件通刷。可是无线信号太差了,比新3还差,走几步,眼看866M的链接,就只有8 ...

这个我没研究过,无线信号你可以在无线的专业设置里把地区和功率改了试试,我记得也就是不太好
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-10-21 17:04 | 显示全部楼层
试试能不能关掉,确实占用高。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-25 14:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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