推荐的中国境内 OpenWrt 镜像源
以下是几家稳定且常用的中国境内 OpenWrt 镜像源,您可以根据自己的需求选择合适的源进行配置:
1. 清华大学开源软件镜像站
- 镜像地址: https://mirrors.tuna.tsinghua.edu.cn/openwrt/
- 特点:
- 覆盖多个 OpenWrt 版本和架构
- 更新及时,镜像同步频繁
- 手动替换
登录到路由器,并编辑 /etc/opkg/distfeeds.conf
文件,将其中的 downloads.openwrt.org
替换为 如下即可。
https://mirrors.tuna.tsinghua.edu.cn/openwrt
- 自动替换
执行如下命令自动替换
sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
2. 阿里云开源镜像站
- 镜像地址: openwrt安装包下载_开源镜像站-阿里云
- 特点:
- 广泛的用户基础,访问速度快
- 支持 HTTPS 加密下载
- 手工替换
登录到路由器,并编辑 /etc/opkg/distfeeds.conf
文件,将其中的 downloads.openwrt.org
替换为 如下即可。
mirrors.aliyun.com/openwrt
- 自动替换
执行如下命令自动替换
sed -i 's_downloads.openwrt.org_mirrors.aliyun.com/openwrt_' /etc/opkg/distfeeds.conf
3. 中科大开源软件镜像站
- 镜像地址: OpenWrt Downloads
- 特点:
- 覆盖全面,支持多种版本
- 镜像更新及时,可靠性高
- 手动替换
一般情况下,下载来自 downloads.openwrt.org
的文件时,将 URL 中的这部分域名替换为如下即可。
mirrors.ustc.edu.cn/openwrt
- 自动替换
如要使用本镜像作为 OpenWRT/LEDE 系统 opkg 软件仓库,SSH 登录路由器编辑 /etc/opkg/distfeeds.conf
文件,同样按照上面的方法替换域名即可。可以使用如下命令操作:
sed -i 's/downloads.openwrt.org/mirrors.ustc.edu.cn\/openwrt/g' /etc/opkg/distfeeds.conf