Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: additional information for model 720

...

Serial lineConfiguration path
Charon-PAR 64-bit models

1 = Console

serial.uart0.device
2serial.uart2.device
Charon-PAR 32-bit model 7000-720
1 = Consoleasp.uart0.device
2asp.uart1.device

Serial port configuration options are specified using the following syntax:

serial.uartX.device.<option>="<value>"

or (for model 720)

asp.uartX.device.<option>="<value>"



(info) If the Super/IO module has been loaded, there are two additional serial lines. In the configuration, they are identified by superio_001.uart0 and superio_001.uart1. The basic configuration options are the same as for the default serial lines.

...

Serial port optionDescription
type

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

  • socket: the port is set to TCP raw mode.
  • telnet: the port supports the telnet protocol.
  • device: indicates that the emulated serial line is connected to a physical terminal on the host.
port

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

A port number is specified as: ":<portnumber>". It requires a port type of socket or telnet.

Default values:

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

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

Example:

  • "/dev/ttyS0"
  • "/dev/ttyUSB0"
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 (HPAPAR-Socket HPAPAR-Telnet HPAPAR-Telnet-VT100) that can be used to connect to the emulated system via a serial line.

...

2
LineCharon-PA3Charon-PA9

Emulated serial console on port 30000 using the telnet protocol. PuTTY started automatically with preconfigured profile.
1 serial.uart0.device.type="telnet"
serial.uart0.device.port=":30000"
serial.uart0.device.command="putty -load HPAPAR-Telnet"

PA9-64

serial.uart0.device.type="telnet"
serial.uart0.device.port=":30000"
serial.uart0.device.command="putty -load HPAPAR-Telnet-VT100"

PA9-32

asp.uart0.device.type="telnet"
asp.uart0.device.port=":30000"
asp.uart0.device.command="putty -load PAR-Telnet-VT100"


Emulated second serial line in raw mode on port 30002.second serial line in raw mode on port 30002.
2 serial.uart2.device.type="socket"
serial.uart2.device.port=":30002"


PA9-64

serial.uart2.device.type="socket"
serial.uart2.device.port=":30002"

PA9-32

serial

asp.

uart2

uart1.device.type="socket"

serial

asp.

uart2

uart1.device.port=":30002"


Div
classpagebreak


HP-UX Interactive Login Activation

...

By default, the emulator configuration is set up to start PuTTY on the console port with the commanda command similar to the following example:

serial.uart0.device.command="putty -load HPAPAR-Telnet" (default port 30000). 

...


StepCommand / Action
1Make sure the preconfigured PuTTY profiles are in the directory .putty/sessions or .config/putty/sessions in your home directory.(see Charon-PAR Software Installation#PARSoftwareInstallation-Post-InstallationTasks)
2Start PuTTY from the command-line. 

$ putty -load HPAPAR-Telnet

3Should you get an error that a font was not found, change the font.

Start PuTTY from the command-line.

$ putty

  • Select and load the required profile.
  • Select Fonts on the left and select a monospace font.
  • Select Session on the left and save the profile.
4To connect from a remote host, change localhost in the template to the correct hostname or IP address.

Start PuTTY from the command-line.

$ putty

  • Select and load the required profile.
  • Change the hostname to the one of the Charon-PAR host as required.
  • Connect to the remote Charon-PAR system.

...

If working without a block-mode Enter key, you can navigate using the function keys of your keyboard. They correspond to the selection fields at the bottom of the screen.

For example, in the above window,

  • F1 would correspond to Open Config,
  • F8 would correspond to Exit Program.

Mapping the Block-Mode Enter key

...

By default, the emulator configuration is set up to start PuTTY on the console port with the commanda command similar to the following example
   serial.uart0.device.command="putty -load HPAPAR-Telnet-VT100".

To start an terminal emulator manually, perform the following steps:


StepCommand / Action
1Make sure the preconfigured PuTTY profiles are in the directory .putty/sessions or .config/putty/sessions in your home directory.(see Charon-PAR Software Installation#PARSoftwareInstallation-Post-InstallationTasks)
2Start PuTTY from the command-line. $ putty -load HPAPAR-Telnet-VT100
3Should you get an error that a font was not found, change the font.


Start PuTTY from the command-line.

$ putty

  • Select and load the required profile.
  • Select Fonts on the left and select a monospace font.
  • Select Session on the left and save the profile.
4To connect from a remote host, change localhost in the template to the correct hostname or IP address.

Start PuTTY from the command-line.

$ putty

  • Select and load the required profile.
  • Change the hostname to the one of the Charon-PAR host as required.
  • Connect to the remote Charon-PAR system.

...

StepCommand
To enable better line drawing with the VT100 setting do the following on system where PuTTY runs
PuTTY versions before 0.71
Temporary set locale to C before starting PuTTY if you use a different locale. 

$ export LC_ALL=C

Then start PuTTY.

This setting will enable proper line-drawing.

PuTTY versions starting with 0.71
Use the new UTF8linedraw parameter in the PuTTY configuration.

Either add the line UTF8linedraw=1 to your session configuration file

or

Start PuTTY from the command-line, load the HPAPAR-Telnet-VT100 session, enable VT100 line drawing for UTF-8 (the last parameter in Window > Translation), and save the session.

On the HP-UX guest system
Set the terminal type to vt100 after logging in to the system (this can be added to the login profile, if required).

$ TERM=vt100

$ export TERM

This will configure a terminal type known to HP-UX. Without a known terminal type many screen-based applications (e.g., editor, SAM) will not work.

...


StepCommand
1Connect to the emulator host via SSH specifying that X11 should be tunneled.$ ssh -X <user>@<emulator-host>
2Enter the password of user to log into the emulator host system.
3Start the terminal emulation program (e.g., PuTTY, assuming the Charon-PAR session configurations have been installed for the user).$ putty -load HPAPAR-Telnet-VT100


Div
classpagebreak


...