Configuration by the Serial Console‎

RemoteCOM (C20 - C25)

Another way to configure the device is via a serial console. In case of the C20 - C22 Ethernet Converters an additional USB/UART converter is needed.

Procedure to enter serial console mode on C20 - C22
Procedure to enter serial console mode on C23 - C25

a5a95447-11ad-467f-afc0-dd83c392aa44.png

List of all commands

Command

Description

help

Print the help.

conn

Print active TCP connections.

eth_mac

Print or change MAC address.

exit

Close current CLI session.

http_port

Print or change default http port.

ipconfig

Print or change the network configuration.

net_stat

Print lwIP statistics.

ping

Check internet connection with the desired host.

restart

Restart the system.

reboot

Same as restart.

sys_heap_usage

Print current heap usage.

telnet_port

Print or change default telnet port.

uart

Print or change uart configuration.

uart_service

Print or change uart_service configuration.

user

Print or change user configuration.

Ports configuration commands

In terms of ports configuration it is possible to change parameters like: service, baud rate, data bits, parity, stop bits and so on. UART commands are provided below.

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:

Service mode

Procedure to enter service mode for C20 - C22 converters

Procedure to enter service mode for C23 - C25 converters

List of commands in the service mode

Command

Description

help

Print the help.

credits

Print current credits value for this device.

dev_ident

Print the device identification value.

restart

Restart the system.

serial_num

Print the serial number of this device.

version

Display the bootloader version.

xmodem

Download image to the internal flash using xmodem.

defaults

Reset application variables to defaults.

ipconfig

Print or change the network configuration.

flash_read

Read bytes from flash memory.

md

Read bytes from memory address.

In the service mode, the “ipconfig” command can only show a last static IP address.

Factory reset

To restore default settings, type “defaults”. After that, user will be asked to type “default network” to reset the network settings as well. Then user will be informed if the process is successful.
Default login details:
- login: admin
- password: admin123
- IP: 192.168.100.100

Additional notes

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").


Revision #16
Created 25 March 2024 15:20:23
Updated 18 March 2025 11:33:02 by Michał Grabski