Select Page

RUTX11 USB Tools

Summary #

The USB Tools page is used to manage services related to the device’s USB connector.

This manual page provides an overview of the USB Tools page in RUTX11 devices.

Printer Server #

The Printer Server feature provides the possibility to configure access to a printer that is connected to the USB port of the device. After the printer is connected to the device’s USB port and configured, it can be utilized by users in the local network (LAN, WiFi) or remotely.

The ‘Add’ button lets you add and manage additional printers. To configure a printer instance, click the Edit button located next to it:

Networking rutx manual printer server printer server v1.png
Enableoff | on; default: offTurns printer support on or off.
Devicefile path; default: /dev/usb/lp0Printer’s device file.
Portinteger [9100..9109]; default: 9100Printer’s TCP port.
Bidirectional modeoff | on; default: onTurns bidirectional mode on or off.

PC and printer setup #

USB to Serial #

The device’s USB connector can also be used as a serial port.

Networking rutos manual usb tools usb to serial v1.png
Enabledoff | on; default: offTurns the USB to Serial service on or off.
Baud rate300 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200; default: 115200Data rate for serial data transmission (in bits per second).
Data bits5 | 6 | 7 | 8; default: 8Number of data bits for each character
ParityNone | Odd | Even; default: NoneIn serial transmission, parity is a method of detecting errors. An extra data bit is sent with each data character, arranged so that the number of 1 bits in each character, including the parity bit, is always odd or always even. If a byte is received with the wrong number of 1s, then it must have been corrupted. However, an even number of errors can pass the parity check.None (N) – no parity method is usedOdd (O) – the parity bit is set so that the number of “logical ones (1s)” has to be odd.Even (E) – the parity bit is set so that the number of “logical ones (1s)” has to be even.
Stop bits1 | 2; default: 1Stop bits sent at the end of every character allow the receiving signal hardware to detect the end of a character and to resynchronise with the character stream. Electronic devices usually use one stop bit. Two stop bits are required if slow electromechanical devices are used.
Flow controlNone | RTS/CTS | Xon/Xoff; default: NoneIn many circumstances a transmitter might be able to send data faster than the receiver is able to process it. To cope with this, serial lines often incorporate a “handshaking” method, usually distinguished between hardware and software handshaking.RTS/CTS – hardware handshaking. RTS and CTS are turned OFF and ON from alternate ends to control data flow, for instance when a buffer is almost full.Xon/Xoff – software handshaking. The Xon and Xoff characters are sent by the receiver to the sender to control when the sender will send data, i.e., these characters go in the opposite direction to the data being sent. The circuit starts in the “sending allowed” state. When the receiver’s buffers approach capacity, the receiver sends the Xoff character to tell the sender to stop sending data. Later, after the receiver has emptied its buffers, it sends an Xon character to tell the sender to resume transmission.
Serial typeConsole | Over IP | Modbus gateway | NTRIP client; default: ConsoleSpecifies the serial connection type.
Look to the sections below for information on different USB to Serial type options.

Console #

Console mode requires no further configuration than the settings above and is used as a direct-access method to the device’s shell interface. For this purpose you may want use such applications as PuTTY on Windows and microcom, minicom, picocom or similar applications on Linux.

Networking rutos manual usb tools usb to serial console v1.png

Over IP #

The Over IP serial type is used to manage serial connections over a TCP/IP network.

Networking rutos manual usb tools usb to serial over ip v1.png
ProtocolTCP | UDP; default: TCPProtocol used in the communication process.
ModeServer | Client | Bidirect; default: ServerThis device’s role in the connection:Server – the device waits for incoming connections.Client – the device initiates the connection.Bidirect – acts as client by default but waits for incoming connections at the same time.
No leading zerosoff | on; default: offWhen checked, indicates that the first hex zeros should be skipped.
Server settings: Portinteger [0..65535]; default: noneInternal port number used to listen for incoming connections.
Server settings: Timeout (s)integer; default: noneSpecifies an inactivity time limit (in second) after which an inactive clients is disconnected.
Server settings: Open port automaticallyoff | on; default: onAutomatically adds a traffic rule in the firewall configuration to open the required port for NTRIP communication.
Client settings: Server Addressip | host; default: noneIP address or hostname of the server that this client will connect to.
Client settings: Portinteger [0..65535]; default: noneServer’s listening port number.
Client settings: Reconnect interval (s)integer; default: noneTime period (in seconds) between reconnection attempts in case a connection fails.
Echooff | on; default: offTurn USB to serial echo on or off.

Modbus gateway #

The Modbus gateway serial type allows redirecting TCP data coming to a specified port to an RTU specified by the Slave ID. The Slave ID can be specified by the user or be obtained directly from the Modbus header.

Networking rutos manual usb tools usb to serial modbus gateway v1.png
Listening IPip; default: address to listen for incoming connections. The default value ( means that this device will listen for incoming connections on any interface or IP address.
Portinteger [0..65535]; default: 502Port number to listen for incoming connections.
Slave ID configuration typeUser defined | Obtained from TCP;
default: User defined
Specifies whether slave IDs are user defined or automatically obtained from TCP.
Slave ID | Permitted slave IDsinteger | range of integers;
default: 1 or 1-247
Specifies the slave ID of range of permitted slave IDs. The way this field is named and its function depends on the value of the Slave ID configuration field.
A range of IDs can be specified by placing a hyphen () between two integer numbers. For example, if you permit slave IDs in the range of 10 to 20, you would specify it as: 10-20
You can also specify multiple values that are not connected in a range using commas (,). For example, to specify 6, 50 and 100 as permitted slave IDs, you would have to use: 6,50,100
Open port automaticallyoff | on; default: onAutomatically adds a traffic rule in the firewall configuration to open the required port for serial communication.
Caution: use with care if listening IP is left as the default value ( Leaving it as such will leave the device open for remote connections on the specified port.
Echooff | on; default: offTurn USB to serial echo on or off.

NTRIP client #

Networked Transport of RTCM via Internet Protocol (NTRIP) is a protocol for streaming differential GPS (DGPS) data over the Internet in accordance with specification published by RTCM.

Networking rutos manual usb tools usb to serial ntrip client v1.png
IP addressip; default: address of an NTRIP server.
Portinteger [0..65535]; default: noneTCP/UDP port used for NTRIP communication.
Mount pointfile path | string; default: noneNTRIP mount point.
Data formatNTRIP V2.0 TCP/IP | NTRIP V2.0 RSTP/RTP | NTRIP V1.0 | Automatic detection | NTRIP V2.0 UDP; default: NTRIP V1.0Version of NTRIP protocol.
Usernamestring; default: noneUser name for authentication to NTRIP server.
Passwordstring; default: nonePassword for authentication to NTRIP server.
Default NMEA stringstring; default: noneOptional NMEA string that will be used as the default value when initiating the connection to the NTRIP server (this value is only sent to the server if there is no NMEA from router’s GPS device).
Use device GPSoff | on; default: offAllows to obtain default NMEA string from the router’s GPS device. Only works if GPS service is enabled and location fix is obtained at the time of NTRIP service start.
Open port automaticallyoff | on; default: onAutomatically adds a traffic rule in the firewall configuration to open the required port for serial communication.
Echooff | on; default: offTurn USB to serial echo on or off.

Submit a Comment

Your email address will not be published. Required fields are marked *