解决 OpenWRT 下载太慢的问题
OpenWRT官方网站推荐的其他镜像:https://openwrt.org/downloads#mirrors
其实里面没有中国境内的,但国内清华大学和中科院的镜像用起来都是没有问题的:
https://mirrors.tuna.tsinghua.edu.cn/openwrt/
方法
#先备份原始的
cp /etc/opkg/distfeeds.conf /etc/opkg/distfeeds.conf.bk
#然后直接用sed替换
sed -i 's_downloads\.openwrt\.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.confcat /etc/opkg/distfeeds.conf
#然后更新
opkg update
#如果需要还原,直接
cp -f /etc/opkg/distfeeds.conf.bk /etc/opkg/distfeeds.conf
其实里面没有中国境内的,但国内清华大学和中科院的镜像用起来都是没有问题的:
https://mirrors.tuna.tsinghua.edu.cn/openwrt/
方法
#先备份原始的
cp /etc/opkg/distfeeds.conf /etc/opkg/distfeeds.conf.bk
#然后直接用sed替换
sed -i 's_downloads\.openwrt\.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.confcat /etc/opkg/distfeeds.conf
#然后更新
opkg update
#如果需要还原,直接
cp -f /etc/opkg/distfeeds.conf.bk /etc/opkg/distfeeds.conf
评论
发表评论,请先 登录