mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
Merge branch 'master' of https://github.com/zhaojh329/rtty
This commit is contained in:
Executable
+24
@@ -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)
|
||||
Executable
+24
@@ -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)
|
||||
@@ -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
@@ -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'
|
||||
|
||||
|
||||
Executable
+24
@@ -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)
|
||||
Reference in New Issue
Block a user