openwrt更换腾讯源

openwrt最近更新为19.07.1后,发现官方源是越来越慢甚至连不上了,找了下第三方源,发现阿里没有openwrt源, 腾讯的源还算可以,记录下。

终端上修改 /etc/opkg/distfeeds.conf 文件或者web上 system -> software -> Configure opkg,修改opkg/distfeeds.conf下方文字框,将http://downloads.openwrt.org/releases 替换为https://mirrors.cloud.tencent.com/openwrt/releases/

也可终端上一键修改

sed -i 's/http\:\/\/downloads.openwrt.org\//https\:\/\/mirrors.cloud.tencent.com\/openwrt\//g' /etc/opkg/distfeeds.conf

注意: 腾讯源不支持http,openwrt默认不支持https,需先安装https支持

opkg install ca-certificates wget

发表评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注