OSDN Git Service

README: add Simplified Chinese version
authorTianling Shen <cnsztl@immortalwrt.org>
Sat, 23 Apr 2022 21:11:54 +0000 (05:11 +0800)
committerTianling Shen <cnsztl@immortalwrt.org>
Sat, 23 Apr 2022 21:12:53 +0000 (05:12 +0800)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
README.md
README.zh-cn.md [new file with mode: 0644]

index 02f4e14..e747ff2 100644 (file)
--- 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 (file)
index 0000000..d6930c3
--- /dev/null
@@ -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