OpenWrt更换软件源

发布于 2 天前  150 次阅读


我有个小路由是ar71xx
经常因为某些乱七八糟的原因,opkg更新不成功

官方源地址:官方源

国内源地址1.openwrt.herokuapp.com
2.mirrors.ustc.edu.c
3.

然而好像无论哪里都一样蛮,所以打算自建一个吧

wget https://downloads.openwrt.org/releases/19.07-SNAPSHOT/ -r -np -e robots=off

我先把它全部下载一遍,然后把软件源指向自己的服务器,不知道行不行,下载了一整天了,还没下完。

very难搞

替换软件源几行代码

src/gz reboot_core http://mirrors.ustc.edu.cn/lede/releases/19.07.3/targets/ar71xx/generic/packages
src/gz reboot_base https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/base
src/gz reboot_luci https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/luci
src/gz reboot_packages https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/
src/gz reboot_routing https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/
src/gz reboot_telephony https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/

src/gz beta_base  https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/base/
src/gz beta_luci https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/luci 
src/gz beta_management https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/management 
src/gz beta_packages https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/packages/ 
src/gz beta_routing https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/routing 
src/gz beta_telephony https://archive.openwrt.org/snapshots/trunk/ramips/mt7621/packages/telephony


src/gz barrier_breaker_base http://downloads.openwrt.org/snapshots/trunk/ramips/mt7621/packages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/snapshots/trunk/ramips/mt7621/packages/luci
src/gz barrier_breaker_management http://downloads.openwrt.org/snapshots/trunk/ramips/mt7621/packages/management
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7621/packages/oldpackages
src/gz barrier_breaker_packages http://downloads.openwrt.org/snapshots/trunk/ramips/mt7621/packages/packages
src/gz barrier_breaker_routing http://downloads.openwrt.org/snapshots/trunk/ramips/mt7621/packages/routing
src/gz barrier_breaker_telephony http://downloads.openwrt.org/snapshots/trunk/ramips/mt7621/packages/telephony

考研目标:华南理工大学电子与信息学院