openwrt 换源

每个人编译的版本不同,用的源也要注意版本,可以先看看/etc/opkg/distfeeds.conf里边有没有关于版本的信息,然后自己去生成,写进去,网上有说用sed那个命令替换进去的,实测不好使。下面给出一个我实测好使的,你只需要看看你的版本号,然后换进去就行。

提一嘴,我用的是x86_64的系统,你要是别的,可以去mirrors.aliyun.com翻一翻,你的版本,然后自己照着理解写一份,然后搞进去

src/gz openwrt_core https://mirrors.aliyun.com/openwrt/releases/18.06.8/targets/x86/64/packages
src/gz openwrt_base https://mirrors.aliyun.com/openwrt/releases/18.06.8/packages/x86_64/base
src/gz openwrt_luci https://mirrors.aliyun.com/openwrt/releases/18.06.8/packages/x86_64/luci
src/gz openwrt_packages https://mirrors.aliyun.com/openwrt/releases/18.06.8/packages/x86_64/packages
src/gz openwrt_routing https://mirrors.aliyun.com/openwrt/releases/18.06.8/packages/x86_64/routing
文章目录