Browse Source

Update ReadMe.md

Nick Peng 6 years ago
parent
commit
4f89cb6b0f
2 changed files with 74 additions and 2 deletions
  1. 37 1
      ReadMe.md
  2. 37 1
      ReadMe_zh-CN.md

+ 37 - 1
ReadMe.md

@@ -160,7 +160,43 @@ Download the matching version of the SmartDNS installation package. The correspo
     src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base
     ```
 
-    Please download it from the Release page: [Download here](https://github.com/pymumu/smartdns/releases)
+* Or after login to the system, you can query the architecture with the following commands:
+
+  * **Openwrt series commands**
+
+    ```shell
+    opkg print_architecture
+    ```
+
+  * **Optiware series commands**
+
+    ```shell
+    ipkg print_architecture
+    ```
+
+  * **Dedebian Series Order**
+
+    ```shell
+    dpkg -- print-architecture
+    ```
+
+  * **for example**
+
+    The following query result `arch ar71xx 10` represents the ar71xx series architecture, so select the `smartdns.xxxxxxx.ar71xx.ipk` installation package.
+
+    ```shell
+    Root@OpenWrt:# opkg print_architecture
+    Arch all 1
+    Arch noarch 1
+    Arch ar71xx 10
+    ```
+
+* **Please download from the Release page: [Download here](https://github.com/pymu/smartdns/releases)**
+
+```shell
+https://github.com/pymu/smartdns/releases
+```
+
 * For the installation procedure, please refer to the following sections.
 
 ### Standard Linux system installation/Raspberry Pi, X86_64 system

+ 37 - 1
ReadMe_zh-CN.md

@@ -163,7 +163,43 @@ rtt min/avg/max/mdev = 5.954/6.133/6.313/0.195 ms
     src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base
     ```
 
-    请在Release页面下载:[此处下载](https://github.com/pymumu/smartdns/releases)
+* 或ssh登录系统后通过如下命令查询软件架构:
+
+  * **openwrt系列命令**
+
+    ```shell
+    opkg print_architecture
+    ```
+
+  * **optware系列命令**
+
+    ```shell
+    ipkg print_architecture
+    ```
+
+  * **debian系列命令**
+
+    ```shell
+    dpkg --print-architecture
+    ```
+
+  * **例如**
+
+    下面的查询结果`arch ar71xx 10`表示ar71xx系列架构,选择`smartdns.xxxxxxxx.ar71xx.ipk`安装包
+
+    ```shell
+    root@OpenWrt:~# opkg print_architecture
+    arch all 1
+    arch noarch 1
+    arch ar71xx 10
+    ```
+
+* **请在Release页面下载:[点击此处下载](https://github.com/pymumu/smartdns/releases)**
+
+```shell
+https://github.com/pymumu/smartdns/releases
+```
+
 * 各种设备的安装步骤,请参考后面的章节。
 
 ### 标准Linux系统安装/树莓派/X86_64系统