安装openwrt、编译上传应用

一、安装openwrt


解压openwrt-shx-22.03.tar.gz,进入目录/openwrt-shx-22.03,运行
1. 下载feeds软件包源码

sudo ./scripts/feeds update -a

此命令需要翻墙,如不可翻墙
(1)可选择国内镜像源,可参考 https://blog.youkuaiyun.com/yao1500/article/details/105948229
src-git-full packages https://gitee.com/harvey520/packages.git
src-git-full luci https://gitee.com/harvey520/luci.git
src-git-full routing https://gitee.com/harvey520/routing.git
src-git-full telephony https://gitee.com/harvey520/telephony.git
(2)也可更换源为
src-git packages https://github.com/openwrt/packages.git
src-git luci https://github.com/openwrt/luci.git
src-git routing https://github.com/openwrt-routing/packages.git
src-git telephony https://github.com/openwrt/telephony.git

下载下来的源可能会不全,若编译报错可自行搜索缺失包,拷贝到dl中

2. 安装feeds软件包

sudo ./scripts/feeds install -a

3. 选择openwrt系统组件

sudo make menuconfig


与usb通讯须配置以下功能,参考:

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值