This commit is contained in:
Jianhui Zhao
2018-01-24 08:20:12 +08:00
5 changed files with 86 additions and 45 deletions
+24
View File
@@ -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)
+24
View File
@@ -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)
+7 -23
View File
@@ -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'
+7 -22
View File
@@ -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'
+24
View File
@@ -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)