diff --git a/BUILDOPENWRT.md b/BUILDOPENWRT.md new file mode 100755 index 0000000..ae8830f --- /dev/null +++ b/BUILDOPENWRT.md @@ -0,0 +1,24 @@ +Update feeds + + ./scripts/feeds update -a + ./scripts/feeds install -a + +If you use chaos_calmer(15.05), you need to modify the Makefile: feeds/packages/utils/rtty/Makefile + + PKG_SOURCE_PROTO:=git + PKG_SOURCE_VERSION:=v$(PKG_VERSION) + PKG_SOURCE_URL=https://github.com/zhaojh329/rtty.git + # Add the following two lines + PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) + PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz + # And comment the line below + #PKG_MIRROR_HASH:=23a203351fdd47acfd16d3c3b3e3d51dd65a5d9e8ca89d4b1521d40c40616102 + +Select rtty in menuconfig and compile new image. + + Utilities ---> + Terminal ---> + < > rtty-mbedtls............................ A reverse proxy WebTTY (mbedtls) + <*> rtty-nossl............................... A reverse proxy WebTTY (NO SSL) + < > rtty-openssl............................ A reverse proxy WebTTY (openssl) + < > rtty-wolfssl............................ A reverse proxy WebTTY (wolfssl) \ No newline at end of file diff --git a/BUILDOPENWRT_ZH.md b/BUILDOPENWRT_ZH.md new file mode 100755 index 0000000..2aea5ea --- /dev/null +++ b/BUILDOPENWRT_ZH.md @@ -0,0 +1,24 @@ +更新feeds: + + ./scripts/feeds update -a + ./scripts/feeds install -a + +如果你使用的是chaos_calmer(15.05), 你需要修改Makefile: feeds/packages/utils/rtty/Makefile + + PKG_SOURCE_PROTO:=git + PKG_SOURCE_VERSION:=v$(PKG_VERSION) + PKG_SOURCE_URL=https://github.com/zhaojh329/rtty.git + # Add the following two lines + PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) + PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz + # And comment the line below + #PKG_MIRROR_HASH:=23a203351fdd47acfd16d3c3b3e3d51dd65a5d9e8ca89d4b1521d40c40616102 + +在menuconfig中选择rtty,然后重新编译固件。 + + Utilities ---> + Terminal ---> + < > rtty-mbedtls............................ A reverse proxy WebTTY (mbedtls) + <*> rtty-nossl............................... A reverse proxy WebTTY (NO SSL) + < > rtty-openssl............................ A reverse proxy WebTTY (openssl) + < > rtty-wolfssl............................ A reverse proxy WebTTY (wolfssl) \ No newline at end of file diff --git a/README.md b/README.md index 6629896..c7f5d75 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [4]: https://github.com/zhaojh329/rtty/pulls [5]: https://img.shields.io/badge/Issues-welcome-brightgreen.svg?style=plastic [6]: https://github.com/zhaojh329/rtty/issues/new -[7]: https://img.shields.io/badge/release-2.1.0-blue.svg?style=plastic +[7]: https://img.shields.io/badge/release-2.2.0-blue.svg?style=plastic [8]: https://github.com/zhaojh329/rtty/releases [9]: https://travis-ci.org/zhaojh329/rtty.svg?branch=master [10]: https://travis-ci.org/zhaojh329/rtty @@ -120,33 +120,17 @@ Query online devices You need to cross compiling by yourself ## For OpenWRT -add new feed into "feeds.conf.default": +Install - src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git - src-git rtty https://github.com/zhaojh329/rtty-feed.git + opkg update + opkg list | grep rtty + opkg install rtty-nossl - -for chaos_calmer(15.05) - - src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git;for-15.05 - src-git rtty https://github.com/zhaojh329/rtty-feed.git;for-15.05 - -Install rtty packages: - - ./scripts/feeds update libuwsc rtty - ./scripts/feeds install -a -p rtty - -Select package rtty in menuconfig and compile new image. - - Utilities ---> - Terminal ---> - < > rtty-mbedtls............................ A reverse proxy WebTTY (mbedtls) - <*> rtty-nossl............................... A reverse proxy WebTTY (NO SSL) - < > rtty-openssl............................ A reverse proxy WebTTY (openssl) - < > rtty-wolfssl............................ A reverse proxy WebTTY (wolfssl) +If the install command fails, you can [compile it yourself](/BUILDOPENWRT.md). Configuring the server parameter + uci add rtty rtty # If it's the first configuration uci set rtty.@rtty[0].host='your server host' uci set rtty.@rtty[0].port='your server port' diff --git a/README_ZH.md b/README_ZH.md index 3df5f17..b1ddc63 100755 --- a/README_ZH.md +++ b/README_ZH.md @@ -6,7 +6,7 @@ [4]: https://github.com/zhaojh329/rtty/pulls [5]: https://img.shields.io/badge/Issues-welcome-brightgreen.svg?style=plastic [6]: https://github.com/zhaojh329/rtty/issues/new -[7]: https://img.shields.io/badge/release-2.1.0-blue.svg?style=plastic +[7]: https://img.shields.io/badge/release-2.2.0-blue.svg?style=plastic [8]: https://github.com/zhaojh329/rtty/releases [9]: https://travis-ci.org/zhaojh329/rtty.svg?branch=master [10]: https://travis-ci.org/zhaojh329/rtty @@ -119,32 +119,17 @@ rtty非常适合远程维护你的或者你公司的部署在全球各地的成 你需要自行交叉编译 ## 如何在OpenWRT中使用 -add new feed into "feeds.conf.default": +安装 - src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git - src-git rtty https://github.com/zhaojh329/rtty-feed.git + opkg update + opkg list | grep rtty + opkg install rtty-nossl -for chaos_calmer(15.05) - - src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git;for-15.05 - src-git rtty https://github.com/zhaojh329/rtty-feed.git;for-15.05 - -Install rtty packages: - - ./scripts/feeds update libuwsc rtty - ./scripts/feeds install -a -p rtty - -Select package rtty in menuconfig and compile new image. - - Utilities ---> - Terminal ---> - < > rtty-mbedtls............................ A reverse proxy WebTTY (mbedtls) - <*> rtty-nossl............................... A reverse proxy WebTTY (NO SSL) - < > rtty-openssl............................ A reverse proxy WebTTY (openssl) - < > rtty-wolfssl............................ A reverse proxy WebTTY (wolfssl) +如果安装失败,你可以[自己编译](/BUILDOPENWRT_ZH.md)。 配置服务器参数 + uci add rtty rtty # If it's the first configuration uci set rtty.@rtty[0].host='your server host' uci set rtty.@rtty[0].port='your server port' diff --git a/build_openwrt.md b/build_openwrt.md new file mode 100755 index 0000000..ae8830f --- /dev/null +++ b/build_openwrt.md @@ -0,0 +1,24 @@ +Update feeds + + ./scripts/feeds update -a + ./scripts/feeds install -a + +If you use chaos_calmer(15.05), you need to modify the Makefile: feeds/packages/utils/rtty/Makefile + + PKG_SOURCE_PROTO:=git + PKG_SOURCE_VERSION:=v$(PKG_VERSION) + PKG_SOURCE_URL=https://github.com/zhaojh329/rtty.git + # Add the following two lines + PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) + PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz + # And comment the line below + #PKG_MIRROR_HASH:=23a203351fdd47acfd16d3c3b3e3d51dd65a5d9e8ca89d4b1521d40c40616102 + +Select rtty in menuconfig and compile new image. + + Utilities ---> + Terminal ---> + < > rtty-mbedtls............................ A reverse proxy WebTTY (mbedtls) + <*> rtty-nossl............................... A reverse proxy WebTTY (NO SSL) + < > rtty-openssl............................ A reverse proxy WebTTY (openssl) + < > rtty-wolfssl............................ A reverse proxy WebTTY (wolfssl) \ No newline at end of file