找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 14967|回复: 29

Padavan安装迅雷云监工Crysadm+(27号Hiboy版已可以运行了)

[复制链接]
本帖最后由 qiana 于 2016-12-27 23:44 编辑

keyword: 路由器安装搭建云监工, entware安装搭建云监工

hiboy的固件无法运行python3 crysadm_helper.py, 出现 can't start new thread.....,(27号有解决方法了)见第六步
  1. Traceback (most recent call last):
  2.   File "crysadm_helper.py", line 786, in <module>
  3.     threading.Thread(target=timer, args=(collect_crystal, config_info['collect_crystal_interval'])).start()
  4.   File "/opt/lib/python3.5/threading.py", line 844, in start
  5.     _start_new_thread(self._bootstrap, ())
  6. RuntimeError: can't start new thread
复制代码


在github上搜“padavan 汉化”找到一个可以运行没问题的。

MT7620的其他固件请看这里

一、启用entware  
U盘根目录建立一个opt文件夹,插入U
打开路由设置页面,高级设置→ USB应用→ 一般设置 →  启用Optware 改为Entware→ 点 应用设置 按钮。拔插U盘。

二、登录ssh,安装python3 python3-pip redis
  1. opkg install python3 python3-pip redis
复制代码
                              
三、安装python3 packages( redis requests flask)
  1. pip3 install redis requests flask -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
复制代码

                                
四、运行redis
  1. /opt/etc/init.d/S70redis start
复制代码

五、进入U盘云监工源码目录(还没有的话,自己去找一个云监工源码放到U盘),修改config.py
(生产环境禁用DEBUG,改True为False)减少cpu内存占用。
  1. class ProductionConfig(Config):
  2.     DEBUG = False
复制代码

六、运行crysadm_helper.py 和crysadm.py
  1. python3 crysadm_helper.py &
  2. python3 crysadm.py &
复制代码

       Hiboy版需要如下才能运行:

  1. export -n LD_LIBRARY_PATH
  2. python3 crysadm_helper.py &
  3. python3 crysadm.py &
  4. export LD_LIBRARY_PATH='/lib:/opt/lib'
复制代码



七、打开浏览器访问云监工(http://192.168.1.1:4000/login

评分

参与人数 1恩山币 +3 收起 理由
con*** + 3 城会玩

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
来自手机 | 显示全部楼层
好支持你一下!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
支持一个!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
能给迅雷下载宝(下载宝能刷潘多拉)装上云监工吗?谢谢!

点评

下载宝是MT7621A, youku l1是MT7620A ,我编译的redis ipk包可能不能用。  详情 回复 发表于 2016-12-25 16:08
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
wdzcyc 发表于 2016-12-24 20:22
能给迅雷下载宝(下载宝能刷潘多拉)装上云监工吗?谢谢!

下载宝是MT7621A,  youku l1是MT7620A ,我编译的redis ipk包可能不能用。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

crysadm源码目录是/opt/crysadm?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

云监工是啥东西
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

能不能写详细点吗,我第一步都运行不了啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
谢谢楼主,成功建立云监工,不过有个问题,云监工的crysadm-helper经常会占用100的cpu,楼主是用哪个版本的云监工?

点评

同求啊。。。。。  详情 回复 发表于 2017-1-9 13:15
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

abcworker 发表于 2017-1-8 14:49
谢谢楼主,成功建立云监工,不过有个问题,云监工的crysadm-helper经常会占用100的cpu,楼主是用哪个版本的 ...

同求啊。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

按照楼主教程安装完到U盘后,第一次能够正常运行,重启后就无法运行,提示如下:

[RT-AC1200HP /media/BACKUP/crysadm]# export -n LD_LIBRARY_PATH
[RT-AC1200HP /media/BACKUP/crysadm]# python3 crysadm_helper.py &
[RT-AC1200HP /media/BACKUP/crysadm]# python3 crysadm.py &
[RT-AC1200HP /media/BACKUP/crysadm]# export LD_LIBRARY_PATH='/lib:/opt/lib'
/opt/bin/python3: line 1: IntxLNKpython3.5/opt/bin/python3: line 1: IntxLNKpython3.5: not found
: not found

麻烦楼主帮忙看看是什么问题,能否解决,谢谢,newifi Y1s,刷的27号Hiboy版 固件。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

装好不要重启,等稳定运行后上ssh,把opt目录下东西全拷贝下来,路由器重启后需要再拷贝上去运行下那几个命令

点评

请问是路由器内存的opt还是U盘的opt? 每次重启都要copy一遍才能正常运行吗? 有没有办法保存好,以后添加开机自动脚本来自动运行的方法? 要不这个实用性会大大降低的,谢谢  详情 回复 发表于 2017-1-10 14:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

oldskooler 发表于 2017-1-10 13:26
装好不要重启,等稳定运行后上ssh,把opt目录下东西全拷贝下来,路由器重启后需要再拷贝上去运行下那几个命 ...

请问是路由器内存的opt还是U盘的opt?
每次重启都要copy一遍才能正常运行吗?
有没有办法保存好,以后添加开机自动脚本来自动运行的方法?
要不这个实用性会大大降低的,谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

请教下楼主,如何能外网访问到路由的云监工呢?

点评

以解决外网连接  详情 回复 发表于 2017-1-16 09:34
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

wudiming 发表于 2017-1-16 00:24
请教下楼主,如何能外网访问到路由的云监工呢?

以解决外网连接

点评

大牛 可以教一下怎么装吗 ?用别人的太卡了  发表于 2018-1-17 20:53
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2024-5-1 04:31

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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