找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 16823|回复: 22

在k3梅林的jffs分区里面安装Entware-ng以及自动启动等相关设置

  [复制链接]
本帖最后由 juniko 于 2017-8-27 21:25 编辑

谢谢 63780223 提供的K3梅林固件  https://www.right.com.cn/forum/thread-249788-1-1.html

今天刷了专门针对K3 的jffs分区的固件后,jffs分区总算可以用了

在k3的jffs分区里面安装Entware-ng
参考 https://github.com/RMerl/asuswrt-merlin/wiki/Entware
首先打开jffs分区然后ssh连接到路由器输入下面命令:
  1. mkdir /jffs/entware-ng.arm
  2. ln -nsf /jffs/entware-ng.arm /tmp/opt
  3. wget -O - http://pkg.entware.net/binaries/armv7/installer/entware_install.sh | /bin/sh
复制代码
Add /opt/bin & /opt/sbin to your PATH variable  这一步系统已经自带了,不用我们专门处理
#Info: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware-ng services to start  这一步参考官方设置:
  1. echo "#!/bin/sh" > /jffs/scripts/services-start
  2. echo "sleep 20" >> /jffs/scripts/services-start
  3. echo "ln -ns /jffs/entware-ng.arm /tmp/opt" >> /jffs/scripts/services-start
  4. echo "/opt/etc/init.d/rc.unslung start" >> /jffs/scripts/services-start
  5. echo "#!/bin/sh" > /jffs/scripts/services-stop
  6. echo "/opt/etc/init.d/rc.unslung stop" >> /jffs/scripts/services-stop
  7. chmod a+rx /jffs/scripts/*
复制代码

剩下的就是
  1. opkg list
  2. opkg install 软件名
  3. opkg remove 软件名
复制代码

自己测试了2遍都没有问题的。

软件详细的安装例子请参考“斐讯K3 官方固件root版本 安装插件 entware“
https://www.right.com.cn/forum/thread-212725-1-1.html

大多数都一样了。



评分

参与人数 4恩山币 +6 收起 理由
qq249*** + 1 支付宝已转500w给你!
zheng*** + 3 我来恩山就是为了看你!
qq*** + 1 可以,不用插USB了,感谢分享
jb*** + 1 今天天气不错,适合泡妞。

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
顶起来 沙发一座?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

顶起来 沙发一座?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
中间那段怎么那样了
  1. echo "#!/bin/sh" > /jffs/scripts/services-start
  2. echo "sleep 20" >> /jffs/scripts/services-start
  3. echo "ln -ns /jffs/entware-ng.arm /tmp/opt" >> /jffs/scripts/services-start
  4. echo "/opt/etc/init.d/rc.unslung start" >> /jffs/scripts/services-start
  5. echo "#!/bin/sh" > /jffs/scripts/services-stop
  6. echo "/opt/etc/init.d/rc.unslung stop" >> /jffs/scripts/services-stop
  7. chmod a+rx /jffs/scripts/*
复制代码

点评

这段忘记弄了,所以没法自启动  详情 回复 发表于 2017-8-28 08:44
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

哗,手持K3顶力支持。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢分享,希望k3的梅林 尽快完善起来
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

顶起来,大神都出来了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

学习下,看看怎么做
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

使用道具 举报

顶起来,支持大神们!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

juniko 发表于 2017-8-27 20:56
中间那段怎么那样了

这段忘记弄了,所以没法自启动
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

非常感谢,大家一起顶起来
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
不错。非常感谢你
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看不懂怎么操作
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

安装完重启 运行opkg命令出现
opkg: Permission denied
这是什么情况?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2024-4-29 20:04

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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