opkg update
opkg list | grep rtty
opkg install rtty-nossl
If you have feeds.conf in your Openwrt root directory, use feeds.conf instead of feeds.conf.default
Openwrt 14.04
echo 'src-git rtty https://github.com/zhaojh329/rtty.git;openwrt-14-15' >> feeds.conf.default
Openwrt 15.05
echo 'src-git rtty https://github.com/zhaojh329/rtty.git;openwrt-lede' >> feeds.conf.default
openwrt 18 or higher version
echo 'src-git rtty https://github.com/zhaojh329/rtty.git;openwrt-18' >> feeds.conf.default
./scripts/feeds uninstall -a
./scripts/feeds update rtty
./scripts/feeds install -a -f -p rtty
./scripts/feeds install -a
./scripts/feeds update -a
./scripts/feeds install -a
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)
Configuring the server parameter
uci add rtty rtty # If it is configured for the first time
uci set rtty.@rtty[0].host='your server host'
uci set rtty.@rtty[0].port='your server port'
You can customize an ID for your device. If the ID is not configured, RTTY will use the MAC address of the specified network interface as the ID.
uci set rtty.@rtty[0].id='your-device-id'
You can add a description to your device
uci set rtty.@rtty[0].description='My device'
Use SSL
uci set rtty.@rtty[0].ssl='1'
Authorization
uci set rtty.@rtty[0].token='your-token'
Save configuration and apply
uci commit
/etc/init.d/rtty restart