From b4d16cc4157cc9a92ed67b960f7b1dfee28173ad Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sun, 24 Apr 2022 05:11:54 +0800 Subject: [PATCH] README: add Simplified Chinese version Signed-off-by: Tianling Shen --- README.md | 4 +++- README.zh-cn.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 README.zh-cn.md diff --git a/README.md b/README.md index 02f4e14..e747ff2 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ opkg feed of v2rayA for OpenWrt users. +[简体中文](README.zh-cn.md) + ## How to install 1. Add v2rayA usign key @@ -9,7 +11,7 @@ opkg feed of v2rayA for OpenWrt users. > Make sure package `wget-ssl` is installed on your device ```sh - wget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03 + wget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03 # Mirror # wget https://mirrors.tuna.tsinghua.edu.cn/osdn/storage/g/v/v2/v2raya/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03 diff --git a/README.zh-cn.md b/README.zh-cn.md new file mode 100644 index 0000000..d6930c3 --- /dev/null +++ b/README.zh-cn.md @@ -0,0 +1,67 @@ +# v2raya-openwrt + +适用于 OpenWrt 用户的 opkg 软件源。 + +[English](README.md) + +## 安装方法 + +1. 导入 v2rayA 签名文件 + + > 请确认软件包 `wget-ssl` 已经安装在您的设备上 + + ```sh + wget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03 + + # 国内镜像 + # wget https://mirrors.tuna.tsinghua.edu.cn/osdn/storage/g/v/v2/v2raya/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03 + ``` + +2. 添加 v2rayA 软件源 + + ```sh + echo "src/gz v2raya https://osdn.net/projects/v2raya/storage/openwrt/$(. /etc/openwrt_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf" + + # 国内镜像 + # echo "src/gz v2raya https://mirrors.tuna.tsinghua.edu.cn/osdn/storage/g/v/v2/v2raya/openwrt/$(. /etc/openwrt_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf" + ``` + +3. 更新软件源 + + ```sh + opkg update + ``` + +4. 安装 v2rayA 及其依赖 + + ```sh + opkg install v2raya + + # 选择一个你喜欢的内核,v2ray 或 Xray + # 如果两个内核被同时安装,默认使用前者 + opkg install v2ray-core + # opkg install xray-core + + # 可选 + # opkg install v2fly-geoip v2fly-geosite + ``` + +## 使用方法 + +1. 配置 v2rayA + + ```sh + # 详细配置请参见 /etc/config/v2raya + uci set v2raya.config.enabled='1' + uci commit v2raya + ``` + +2. 启动 v2rayA + + ```sh + /etc/init.d/v2raya start + ``` + +3. 访问 v2rayA webUI 面板并完成设置 + + http://openwrt.lan:2017 -- 2.11.0