软路由openwrt中替换国内镜像源(以阿里云为例)
镜像下载、域名解析、时间同步请点击 阿里巴巴开源镜像站一、打开openwrt终端二、找到distfeeds.conf进入opkgcd /etc/opkg查看opkg内文件ls可以找到distfeeds.conf并进入编辑vi distfeeds.conf三、进入distfeeds.conf输入i变插入模式i四、替换镜像源地址openwrt阿里云镜像源地址https://mirrors.aliyun.com/openwrt根据你的软件版本替换镜像源https://mirrors.aliyun.com/openwrt/releases/18.06.8/targets/brcm2708/bcm2710/packages/ https://mirrors.aliyun.com/openwrt/releases/18.06.8/packages/aarch64_cortex-a53/base/ https://mirrors.aliyun.com/openwrt/releases/18.06.8/packages/aarch64_cortex-a53/luci/ https://mirrors.aliyun.com/openwrt/releases/18.06.8/packages/aarch64_cortex-a53/packages/ https://mirrors.aliyun.com/openwrt/releases/18.06.8/packages/aarch64_cortex-a53/routing/五、保存退出并测试保存退出命令:wq用更新命令测试opkg update测试结果更新成功。本文来自深巷的酒