-
Notifications
You must be signed in to change notification settings - Fork 637
Telnet
Maxim Prokhorov edited this page Dec 7, 2022
·
3 revisions
Basic socket server. When terminal support is also enabled, allows commands input. Prints debug messages when debug support is enabled.
- Recommended clients are nc or nmap-ncat
- Will not work in real TELNET mode w/ programms like PuTTY, make sure to use RAW connection and disable things like Telnet line-endings, environment and state control.
- By default, telnet server will disallow connections in STA mode!
Build flag | Description | Default value |
---|---|---|
DEBUG_TELNET_SUPPORT |
Show debug messages |
1 (on) |
TELNET_AUTHENTICATION |
Require password when connecting |
1 (on) |
TELNET_LINE_BUFFER_SIZE |
Temporary buffer size; when data arrives in multiple pacckets, without a trailing new line | 256 |
TELNET_MAX_CLIENTS |
Maximum amount of simultaniously connected clients | 1 |
TELNET_PORT |
23 |
|
TELNET_REVERSE_SUPPORT |
Initiate connection with a remote server using telnet.reverse terminal command or MQTT topic |
0 (disabled) |
TELNET_STA |
Allow connections when in STA mode |
0 (off) |
TELNET_SUPPORT |
1 (enabled) |
Key | Description | Possible values | Default value |
---|---|---|---|
telnetAuth | Require password when connecting |
0 (no) or 1 (yes) |
1 (yes) |
telnetPort | 23 |
||
telnetSTA | Allow connections in STA mode |
0 (no) or 1 (yes) |
0 (no) |
If you're looking for support:
- Issues: this is the most dynamic channel at the moment, you might find an answer to your question by searching open or closed issues.
- Wiki pages: might not be as up-to-date as we all would like (hey, you can also contribute in the documentation!).
- Gitter channel: you have better chances to get fast answers from project contributors or other ESPurna users. (also available with any Matrix client!)
- Issue a question: as a last resort, you can open new question issue on GitHub. Just remember: the more info you provide the more chances you'll have to get an accurate answer.
- Backup the stock firmware
- Flash a pre-built binary image
- Flash a virgin Itead Sonoff device without opening
- Flash TUYA-based device without opening
- Flash Shelly device without opening
- Using PlatformIO
- from Visual Studio Code
- Using Arduino IDE
- Build the Web Interface
- Over-the-air updates
- Two-step updates
- ESPurna OTA Manager
- NoFUSS
- Troubleshooting
- MQTT
- REST API
- Domoticz
- Home Assistant
- InfluxDB
- Prometheus metrics
- Thingspeak
- Alexa
- Google Home
- Architecture
- 3rd Party Plugins
- Coding style
- Pull Requests