Configuration by the Telnet Console
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:
telnet <ip_address> <port_number>
If the connection is successful there will be a login prompt visible. Log in 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.
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
|
|
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ports configuration commands
{{@170#bkmrk-list-of-all-commands}}
In{{@170#bkmrk-command-description-}}
{{@171#bkmrk-ports-configuration--1}}
{{@171#bkmrk-in-terms-of-ports-co}}
{{@171#bkmrk-uart-uart-helpprint-}}
{{@171#bkmrk-network-settings}}
{{@171#bkmrk-the-following-comman}}
{{@171#bkmrk-ipconfig-ipconfig-ad}}
{{@171#bkmrk-changing-username-or}}
{{@171#bkmrk-to-change-username-o}}
{{@171#bkmrk-user-helpprint-the-h}}
uartuart helpPrint the help message.uart listList available uarts in the system.Example:uart list0: baud: 9600 bits: 8 stop_bits: 1 parity: none (service console)1: baud: 115200 bits: 8 stop_bits: 2 parity: odd (covered by cons.)2: baud: 9600 bits: 8 stop_bits: 1 parity: none3: baud: 1200 bits: 8 stop_bits: 2 parity: even termination: ON (R-COM)3: baud: 38400 bits: 8 stop_bits: 2 parity: none termination: OFFuart PORT_NUMBER baud BAUDSet PORT_NUMBER baudrate to BAUD. BAUD value can be one of the following:2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200.Example:uart 1 baud 9600WARNING: UART covered by console. Changes will take place after the reset.uart PORT_NUMBER bits BITSSet bit length to BITS. BITS value can be one only 8.Example:uart 2 bits 8uart PORT_NUMBER stop_bits STOP_BITSSet stop_bits length to STOP_BITS. STOP_BITS value can be only 1 or 2.Example:uart 2 stop_bits 1uart PORT_NUMBER parity PARITYSet uart parity to PARITY. PARITY value can be one of the following: none, odd, even.Example:uart 3 parity evenuart PORT_NUMBER termination STATESet uart termination to new STATE. STATE can be only ON or OFF.Example:uart 3 termination ON
uart_serviceuart_service helpPrint the help message.uart_service listList of uarts services status.Example:uart_service list1 state: ON service: Remote COM port: 1504 enc: YES2 state: OFF service: TCP Socket port: 15103 state: OFF service: UDP Socket port: 1510uart_service UART_NUMBER state STATESet UART_NUMBER state to STATE. STATE value can be only ON or OFF.Example:uart_service 1 state ONuart_service UART_NUMBER service SERVICESet UART_NUMBER service to SERVICE. SERVICE value can be one of the following: Remote COM,TCP Socket, UDP Socket.Example:uart_service 1 service TCP Socketuart_service UART_NUMBER port PORT_NUMBERSet UART_NUMBER port to PORT_NUMBER. PORT_NUMBER value can be any in the range: 1-65535.Example:uart_service 1 port 1501uart_service UART_NUMBER enc ENC_STATESet UART_NUMBER encryption to ENC_STATE. ENC_STATE can be only YES or NO.Example:uart_service 1 enc YESIf ENC_STATE is YES then it will ask for a new password for encryption.
Network settings
The following commands might be helpful to change network settings according to target LAN parameters.
ipconfigipconfig addr ADDRESSSet IP address to ADDRESS.Example:ipconfig addr 192.168.0.10ipconfig mask NETMASKSet subnet mask to NETMASK (in dot-decimal format).Example:ipconfig mask 255.255.255.0ipconfig mask BIT_COUNTSet subnet mask to BIT_COUNT bits.Example:ipconfig mask 24ipconfig gateway GATEWAY_IPSet network gateway to GATEWAY_IP.Example:ipconfig gateway 192.168.0.1ipconfig dhcp enable/disableEnable or disable DHCP client.Example:ipconfig dhcp enableipconfig dns1 ADDRESSSet primary DNS to ADDRESS, disable getting DNS from DHCP if enabled.Example:ipconfig dns1 192.168.100.1ipconfig dns2 ADDRESSSet secondary DNS to ADDRESS, disable getting DNS from DHCP if enabled.Example:ipconfig dns2 1.1.1.1
eth_maceth_mac helpPrint the help message.eth_mac defaultSet device’s MAC address to factory-default one.eth_mac set MAC_ADDRSet device’s MAC address to MAC_ADDR. Accepts both dash and colon-separated formats.Example:eth_mac set 01-02-03-04-05-06Example:eth_mac set 01:02:03:04:05:06
http_porthttp_port helpPrint the help message.http_port PORT_NUMBERSet http port to PORT_NUMBER. A PORT_NUMBER value must be in range: 1-65535.Example:http_port 80http_port statusPrint current http port.Example:http_port statusA current http port is 80
telnet_porttelnet_port helpPrint the help message.telnet_port PORT_NUMBERSet Telnet port to PORT_NUMBER. A PORT_NUMBER value must be in range: 1-65535.Example:telnet_port 23telnet_port statusPrint current Telnet port.Example:telnet_port statusA current telnet port is 23
Changing username or password
To change username or password, use user command.
Available commands:
user helpPrint the help message.user mod_name USER_NAME NEW_NAMEChange the user name to NEW_NAME. It fails if the name is used by another user.Example:user mod_name admin johnuser passwd USER_NAMEChange USER_NAME's password.Example:user passwd admin****** <- here is entered password, but '*' appears insteadNote: Everyone can change the password for themselves.
Additional notes
After some time of inactivity, session will be disconnected automatically.
In order to avoid issues like connecting to the 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.