在N1的OpenWRT上安装entware环境

2019-10-05  本文已影响0人  wangyeye
  1. 创建磁盘镜像
cd /mnt/data
dd if=/dev/zero of=entware.img bs=1M count=1024
mkfs.ext4 entware.img
mkdir /opt
mount entware.img /opt
  1. 安装entware
cd /opt
wget http://bin.entware.net/aarch64-k3.10/installer/generic.sh
chmod +x generic.sh
./generic.sh
opkg update
  1. 修改环境变量
vim /etc/profile 
export PATH="/opt/sbin:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin"
source /etc/profile 
opkg update
opkg install coreutils
  1. 添加开机启动
/opt/etc/init.d/rc.unslung start
上一篇 下一篇

猜你喜欢

热点阅读