软路由openwrt中替换国内镜像源(以阿里云为例)

简介: 软路由openwrt中替换国内镜像源

一、打开openwrt终端

1.主界面.png

二、找到distfeeds.conf

进入opkg

cd /etc/opkg

查看opkg内文件

ls

可以找到distfeeds.conf,并进入编辑

vi distfeeds.conf

2.步骤一.png

三、进入distfeeds.conf

3.vi进入.png

输入i变插入模式

i

4.编辑.png

四、替换镜像源地址

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/

5.替换阿里云.png

五、保存退出并测试

保存退出命令

:wq

用更新命令测试

opkg update

6.保存退出.png

测试结果,更新成功。
7.测试结果.png

目录
相关文章
|
Ubuntu Linux 网络架构
OpenWRT 的包管理器镜像如何切换成阿里云源?
OpenWRT 的包管理器镜像如何切换成阿里云源?
2797 0
|
安全 Linux 网络安全
组网神器WireGuard安装与配置教程(超详细)
组网神器WireGuard安装与配置教程(超详细)
36618 2
|
数据中心
Zerotier常用命令整理
Zerotier一款可以让您随时随地轻松连接云,移动,桌面和数据中心资源的工具。通过Zerotier可以轻松地将你的多台设备建立局域网,互联互通。本文主要整理Zerotier在日常使用中的命令,以备日常使用查询。
19482 1
Zerotier常用命令整理
|
网络协议 网络安全
openWRT软路由AdGuardHome 未运行 未重定向无法更新核心解决办法
openWRT软路由AdGuardHome 未运行 未重定向无法更新核心解决办法
13443 0
|
Shell 网络安全 数据安全/隐私保护
Debian 官方源换为国内的源的操作方法
apt-get update 报错,采用更换源的方式解决问题。
55922 0
|
网络安全 文件存储 虚拟化
【阿里云镜像】使用VM虚拟机安装OpenWRT并更换阿里云镜像源
【阿里云镜像】使用VM虚拟机安装OpenWRT并更换阿里云镜像源
1966 0
【阿里云镜像】使用VM虚拟机安装OpenWRT并更换阿里云镜像源
OpenWrt配置opkg.conf的方法代码
OpenWrt配置opkg.conf的方法代码
1008 1
|
Web App开发 Linux 网络安全