From 4f89cb6b0fa64cec1d05a3d43793e999d78499ba Mon Sep 17 00:00:00 2001 From: Nick Peng Date: Sat, 16 Mar 2019 00:03:10 +0800 Subject: [PATCH] Update ReadMe.md --- ReadMe.md | 38 +++++++++++++++++++++++++++++++++++++- ReadMe_zh-CN.md | 38 +++++++++++++++++++++++++++++++++++++- 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 79db57b..a62d04b 100755 --- a/ReadMe.md +++ b/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 diff --git a/ReadMe_zh-CN.md b/ReadMe_zh-CN.md index 6c530d3..8ff2091 100644 --- a/ReadMe_zh-CN.md +++ b/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系统