Configuration by the Telnet Console

Modbus TCP/RTU M-Bus Gateways (G20, G30)

The device can be also configured via the Telnet Console. Firstly, make sure that converter is connected to the power supply and to the LAN using a patch cord. Knowledge of the device’s IP address (default is 192.168.100.100) and Telnet port number (default is 23) is necessary to establish a connection.

Use command below in a terminal window to connect to the device:

If the connection is successful there will be login prompt visible. Login using user's personal credentials or the default login details (login: admin, password: admin123). If login is successful, it will be possible to start typing configuration commands.

image.png

The configuration is available only if devices are connected to the same Local Area Network as the computer used for it.

List of all commands

Command

Description

help

Print the help.

conn

Print active TCP connections.

net_stat

Print lwIP statistics.

eth_mac

Print or change MAC address.

wifi_mac

Print or change Wi-Fi MAC address

ipconfig

Print or change the network configuration.

http_port

Print or change default http port.

telnet_port

Print or change default telnet port.

modbus

Print or changes modbus settings.

ping

Check internet connection with the desired host.

defaults

Reset application variables to defaults

restart

Restart the system.

user

Print or change user configuration.

sys_heap_usage

Print current heap usage.

mbus

Print or changes M-Bus ports settings.

wificonf

Wi-Fi interface configuration

exit

Exit console.

Modbus ports configuration commands
M-Bus ports configuration commands

If a subcommand which normally sets a value is not given an argument, it will print the current value.
Example:
     #>mbus 2 baud
     Set baudrate is 9600


Network settings

The following commands might be helpful to change network settings according to target LAN parameters, 

Changing username or password

To change username or password, use user command. Available commands:

  

Additional notes

After some time of inactivity, session will be disconnected automatically.

In order to avoid issues like connecting to host, type “help” to get more information.

To get more details about every particular command, append “help” after each commands (example: "ipconfig help").

Factory reset is not available from the Telnet Console level.



Revision #2
Created 12 August 2025 11:11:22 by Michał Grabski
Updated 25 August 2025 09:37:39 by Michał Grabski