找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 9222|回复: 16

梅林安装/启动BonusCloud-Node中的OPKG问题解决

  [复制链接]
发表于 2018-10-13 13:45 | 显示全部楼层 |阅读模式
本帖最后由 mxley 于 2018-10-17 20:44 编辑

BonusCloud-Node的启动运行需要安装第三方依赖包,安装通过opkg执行。
因此在程序的安装和启动中都会检测opkg是否正常,并检测依赖包是否存在,不存在就自动安装。

opkg失败的问题大多由于/tmp/opt的环境或者网络收到影响,可以通过如下步骤进行修复:

[ armv7l ]
# SSH登录到路由器,以下操作在命令行下执行
# 确认/opt到/tmp/opt的软链接(merlin系统默认已有软连,只是/tmp/opt经常不存在)
执行:ls -l /opt
lrwxrwxrwx    1 admin    root             7 Mar 25  2018 /opt -> tmp/opt/

# 确认目录存在
mkdir -p /tmp/opt

# 清空opt环境
rm -fr /tmp/opt/*

# 下载执行entware安装脚本
wget -o /tmp/generic.sh  http://bin.entware.net/armv7sf-k2.6/installer/generic.sh && chmod +x /tmp/generic.sh && /tmp/generic.sh

# 安装BonusCloud-Node需要的第三方依赖
opkg update
opkg install liblzo
opkg install zlib
opkg install libopenssl
opkg install libltdl
opkg install libcurl
opkg instasll libjson-c

# 完成,再次安装/在页面中启动程序







我的恩山、我的无线 The best wifi forum is right here.
发表于 2018-10-14 16:03 | 显示全部楼层
下载执行entware安装脚本  就不成功!这个是必须的吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-10-14 17:19 | 显示全部楼层
admin@EA6400-D331:/tmp/home/root# wget -o /tmp/generic.sh  http://bin.entware.ne
t/armv7sf-k2.6/installer/generic.sh && chmod +x /tmp/generic.sh && /tmp/generic.
sh
/tmp/generic.sh: line 1: --2018-10-14: not found
/tmp/generic.sh: line 2: Resolving: not found
/tmp/generic.sh: line 3: Connecting: not found
/tmp/generic.sh: line 3: 81.4.123.217: not found
/tmp/generic.sh: line 3: :80...: not found
/tmp/generic.sh: line 4: HTTP: not found
/tmp/generic.sh: line 5: syntax error: unexpected "("
admin@EA6400-D331:/tmp/home/root# opkg update
-sh: opkg: not found
admin@EA6400-D331:/tmp/home/root#  opkg install liblzo
-sh: opkg: not found
admin@EA6400-D331:/tmp/home/root#  opkg install zlib
-sh: opkg: not found
admin@EA6400-D331:/tmp/home/root#  opkg install libopenssl
-sh: opkg: not found
admin@EA6400-D331:/tmp/home/root#  opkg install libltdl
-sh: opkg: not found
admin@EA6400-D331:/tmp/home/root#  opkg install libcurl
-sh: opkg: not found

点评

一样。。。。。。。。。。。。。  详情 回复 发表于 2018-11-4 20:49
https://www.chiphell.com/forum.php?mod=viewthread&tid=1347856  详情 回复 发表于 2018-10-15 00:00
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-10-15 00:00 | 显示全部楼层
dir0078 发表于 2018-10-14 17:19
admin@EA6400-D331:/tmp/home/root# wget -o /tmp/generic.sh  http://bin.entware.ne
t/armv7sf-k2.6/ins ...

https://www.chiphell.com/forum.php?mod=viewthread&tid=1347856
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-10-17 08:14 | 显示全部楼层
本帖最后由 juminth 于 2018-10-17 12:11 编辑

根据教程复制粘贴 ,安装和绑定了插件
不能启动成功?

启动日志
'{print }'
[2018-10-17 12:00:07] ERROR route fdff:4243:4c4f:5544::/64 dev tun0 not exist, restoring...
[2018-10-17 12:10:01] ERROR bxc-network stoped, try start up...
[2018-10-17 12:10:01] ERROR bxc-worker stoped, try start up...
[2018-10-17 12:10:06] ERROR get bxc_ipaddr failed: ip -6 addr show dev tun0 | grep "inet6" | awk '{print }'
[2018-10-17 12:10:06] ERROR route fdff:4243:4c4f:5544::/64 dev tun0 not exist, restoring...

本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-10-17 10:33 | 显示全部楼层
<p>有的梅林自带entware-setup.sh脚本,可以直接安装opkg,不用下载</p>

点评

哪个K3梅林?  详情 回复 发表于 2018-11-5 08:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-10-17 19:03 | 显示全部楼层
[2018-10-17 19:01:27] ERROR opkg update failed.
[2018-10-17 19:01:27] ERROR liblzo install failed, please try command: opkg install liblzo
[2018-10-17 19:01:27] ERROR zlib install failed, please try command: opkg install zlib
[2018-10-17 19:01:27] ERROR libopenssl install failed, please try command: opkg install libopenssl
[2018-10-17 19:01:27] ERROR libltdl install failed, please try command: opkg install libltdl
[2018-10-17 19:01:27] ERROR libcurl install failed, please try command: opkg install libcurl
[2018-10-17 19:01:27] ERROR libjson-c install failed, please try command: opkg install libjson-c

点评

选下边的DEBUG  发表于 2018-10-22 20:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
发表于 2018-10-25 22:07 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-10-26 07:56 | 显示全部楼层
感谢分享教程
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-10-28 15:34 来自手机 | 显示全部楼层
看看    还不错。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-11-1 12:52 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-11-2 21:09 | 显示全部楼层
这个我也有,还没有抢到一个
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-11-4 20:49 | 显示全部楼层
dir0078 发表于 2018-10-14 17:19
admin@EA6400-D331:/tmp/home/root# wget -o /tmp/generic.sh  http://bin.entware.ne
t/armv7sf-k2.6/ins ...

一样。。。。。。。。。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-11-4 23:55 | 显示全部楼层
本帖最后由 huashan09 于 2018-11-5 08:37 编辑

wget -o /tmp/generic.sh  http://bin.entware .net/armv7sf-k2.6/installer/generic.sh && chmod +x /tmp/generic.sh && /tmp/gener ic.sh
Segmentation fault




这是什么东东
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-11-5 08:40 | 显示全部楼层
qhszl 发表于 2018-10-17 10:33
有的梅林自带entware-setup.sh脚本,可以直接安装opkg,不用下载

哪个K3梅林?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 17:09

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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