OpenWrt国内源
######OpenWrt各大软件源地址统计(截止到2019年8月8日)######
OpenWrt官方软件源:(国内一般需要(→_→)才能连通)
https://downloads.openwrt.org/snapshots/
教育网镜像软件源:(lean大OpenWrt源码默认软件源)
https://openwrt.proxy.ustclug.org/lede/snapshots/
清华大学镜像软件源:
https://mirrors.tuna.tsinghua.edu.cn/lede/releases/18.06.4/
中国科学技术大学镜像软件源:
https://mirrors.ustc.edu.cn/lede/releases/18.06.4/
腾讯云镜像软件源:
https://mirrors.cloud.tencent.com/lede/snapshots/
浙江大学镜像软件源:
https://mirrors.zju.edu.cn/openwrt/snapshots/
北京交通大学镜像软件源:
https://mirror.bjtu.edu.cn/openwrt/snapshots/
中国互联网络信息中心镜像软件源:
https://mirrors.cnnic.cn/lede/releases/18.06.4/
######软件源替换举例######
比如我的acrh17路由器在lean大openwrt源码默认软件源是:
(
src/gz openwrt_core https://openwrt.proxy.ustclug.org/snapshots/targets/ipq40xx/generic/packages
src/gz openwrt_base https://openwrt.proxy.ustclug.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base
src/gz openwrt_luci https://openwrt.proxy.ustclug.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/luci
src/gz openwrt_packages https://openwrt.proxy.ustclug.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/packages
src/gz openwrt_routing https://openwrt.proxy.ustclug.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/routing
)
现在想要换成“腾讯云镜像软件源”,操作如下:
1、打开路由器管理界面——系统——软件包——选择“配置”一栏——“发行版软件源”中进行操作。
2、只需把软件源头部当中的:
https://openwrt.proxy.ustclug.org/snapshots/
替换成“腾讯云镜像软件源”的地址:
https://mirrors.cloud.tencent.com/lede/snapshots/
即可。完整如下:
(
src/gz openwrt_core https://mirrors.cloud.tencent.com/lede/snapshots/targets/ipq40xx/generic/packages
src/gz openwrt_base https://mirrors.cloud.tencent.com/lede/snapshots/packages/arm_cortex-a7_neon-vfpv4/base
src/gz openwrt_luci https://mirrors.cloud.tencent.com/lede/snapshots/packages/arm_cortex-a7_neon-vfpv4/luci
src/gz openwrt_packages https://mirrors.cloud.tencent.com/lede/snapshots/packages/arm_cortex-a7_neon-vfpv4/packages
src/gz openwrt_routing https://mirrors.cloud.tencent.com/lede/snapshots/packages/arm_cortex-a7_neon-vfpv4/routing
)
!!!!其他设备型号更换软件源,以此类推。!!!!
######常见问题######
一、如果软件源失效,执行刷新软件包列表(opkg update)可能会出现以下报错:
Collected errors:
* opkg_conf_load: Could not lock /var/lock/opkg.lock: xxxxxxxxxxxx
解决办法:
1、删除/var/lock/opkg.lock文件即可(执行删除指令“rm -f /var/lock/opkg.lock”或者手动访问到该目录下删除),
或者重启也会自动清空掉opkg.lock该文件。
2、然后更换一个有效的软件源,再刷新软件包列表(opkg update)。
============== End