OpenWRT 国内镜像

国内访问OpenWRT路由器的资源一直都出现问题,镜产用到国内镜像. 配置文件 针对文件 /etc/opkg/distfeeds.conf # 这是 Redmi AX6 的默认配置 #src/gz openwrt_core http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ipq807x_64/MiWiFi/packages #src/gz mi_base http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/aarch64_cortex-a53/base #src/gz mi_packages http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/aarch64_cortex-a53/packages #src/gz mi_routing http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/aarch64_cortex-a53/routing 替换 downloads.openwrt.org 到特定的镜像. 中国科学技术大学开源软件镜像 直替换命令: sed -i s_downloads.openwrt.org_mirrors.ustc.edu.cn/openwrt_g /etc/opkg/distfeeds.conf 清华大学开源软件镜像站 直替换命令: sed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf 不要替换 http:// 为 https:// ,很多项目默认的 wget 是不支持 https,主要是为了省空间

<span title='2020-12-04 00:07:27 +0800 +0800'>2020/12/04 Dec</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;44 words&nbsp;·&nbsp;SCys