Entware项目官网:Index of / (entware.net)
Entware项目下载地址:Index of / (entware.net)
在padavan上部署:
挂载虚拟内存到/opt分区
# size视设备可用ram大小而定
mount -t tmpfs tmpfs /opt -o size=100M
根据系统架构下载对应的安装脚本(以mips架构为例)
#进入opt分区
cd /opt
#下载脚本并运行
wget -O - http://bin.entware.net/mipselsf-k3.4/installer/generic.sh | /bin/sh
等待完成安装后,尝试调用opkg
opkg update
如果无法找到命令,可在/opt/sbin目录下找到对应执行文件
附opkg常用命令:
设置环境变量,将/opt/bin和/opt/sbin添加到PATH中方便使用
vi /etc/profile
# 在文件最后添加下面这行
export PATH=/opt/bin:/opt/sbin:$PATH
#使修改生效
source /etc/profile
参考文章:
教程,纯净版K2P Padavan添加软件,无需U盘,安装entware,安装smartdns过滤广告,满足幻想-斐讯无线路由器以及其它斐迅网络设备-恩山无线论坛 (right.com.cn)
在Padavan 上使用Entware | 底噪 (xzhih.github.io)