Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: corrections

...

Serial port optionDescription
type

The serial port type determines the protocol used on the serial port. Possible values are:

  • dummyDUMMY: serial interface presented to emulator is not connected.
  • socket: the port is set to TCP raw mode.
  • telnet: the port supports the telnet protocol.
  • pty: indicates that the emulated serial line is connected to a Linux pseudo-terminal.
  • tty: emulated serial line is connected to physical hardware (serial hardware must be supported by Linux).
  • RFC2217: emulatied serial line is connected to a serial line server across the IP network.
port

Each port is mapped to a TCP socket on the emulator host or to a physical line. This parameter defines the TCP port used, the name of the physical device, or the port and address of a serial line server. A port number must be unique among all active port numbers on the host system.

A TCP port is specified as "<where-to-listen>:<portnumber>". It requires a port type of socket or telnet.

Default values (listening on all interfaces):

  • ":30000" for line 1
  • ":30002" for line 2

To restrict console connections to certain host interfaces or host IP addresses, set where-to-listen to the respective interface name or IP address. The settings lo:<portnumber> and <portnumber> (without the colon) are equivalent.

A physical device is specified as "<device-file>". It requires a port type of device.

Example:

  • "/dev/ttyS0"
  • "/dev/ttyUSB0"

A serial line server is specified as "<ip-address>:<port>".

commandThis parameter is optional. It can be used to specify a terminal emulation program that is started automatically when the emulated system is started. Charon-PAR provides preconfigured profiles for PuTTY (PAR-Socket PAR-Telnet PAR-Telnet-VT100) that can be used to connect to the emulated system via a serial line.

...