• Keine Ergebnisse gefunden

Outbound Modems

Im Dokument Using this Manual (Seite 123-127)

Set the mode parameter to slave.

• Define the type of modem that is connected to the port via the type_of_modem parameter. This 16-byte string should match the definition of the type_of_modem field in the modem section of the Remote Annex configuration file.

Setting the type parameter to dial_in registers the user with the who database as soon as the slave process attaches to the line.

Set the speed parameter to the speed of the modem. Do not use autobaud.

Set the control_lines, input_flow_control, and

output_flow_control parameters as desired (seeModem Signals on page 5-99 for more details).

The default setting for software flow control is start/stop (XON/

XOFF). This setting may not be suitable for file transfer applications, such as uucp, kermit, and xmodem.

When using a modem connected to a slave port, if the need_dsr parameter is enabled, the connection fails if no DSR signal is present; if need_dsr is disabled, the Remote Annex accepts the connection.

Set the data_bits, stop_bits, and parity parameters to match the requirements of the modem.

Set the broadcast_direction parameter to network. This sends all administrative broadcasts to users connected to the modem port.

Set the inactivity_timer to limit the amount of time the modem can be left idle with a connection. When this amount of time passes with no activity detected, the Remote Annex drops DTR, terminates all sessions to host(s), and resets the port. The default setting is off. Set the output_is_activity parameter to Y.

• If desired, enable security on the port using the

port_server_security parameter and/or the port_password parameter to prevent unauthorized access through the port server. If rtelnet is used to access the port, the host application, tip, cu, uucp, etc., must be configured to pass the password to the security subsystem.

In the following example, port 13 is configured for a 2400 bps outbound modem:

command:set port=13

command:set port speed 9600

command:set port control_lines modem_control command:set port type dial_in

command:set port mode slave

command:set port type_of_modem T2500 command:set port inactivity_timer 15

command:set port broadcast_direction network command:set port input_flow_control start/stop command:set port output_flow_control start/stop

Inbound Modems

Enable the modem’s quiet or quiet on answer mode (e.g., Q1 or Q2 for a Hayes) so that it does not send result codes to the port.

You can set the mode parameter to either cli or dedicated.

Setting mode to cli allows the user access to the command line interface. Setting mode to dedicated provides a connection to the designated host.

If mode is set to dedicated, define the host to which this connection is made using the dedicated_arguments parameter.

Set the dedicated_port parameter to either telnet or rlogin (the default is telnet).

• Define the type of modem that is connected to the port via the type_of_modem parameter. This 16-byte string should match the definition of the type_of_modem field in the modem section of the Remote Annex configuration file.

Setting the type parameter to dial_in registers the user with the who database as soon as the CLI process attaches to the line. For dedicated ports, the Remote Annex continuously retries the connection, regardless of errors.

Set the speed parameter to the speed of the modem.

Set the control_lines, input_flow_control, and

output_flow_control parameters as desired (seeModem Signals on page 5-99 for more details).

The default setting for software flow control is start/stop (XON/

XOFF). This setting may not be suitable for file transfer applications (uucp, kermit, xmodem). Do not set software flow control to start/stop if the port is configured for use with SLIP.

PPP can use start/stop if the ppp_acm parameter is set to escape the start and stop characters.

Set the data_bits, stop_bits, and parity parameters to match the requirements of the modem.

Set the cli_imask7 parameter to Y if a device dialing in sends seven bits with parity under normal interactive use, but sends eight bits when transferring binary files (some hosts, especially PCs do this). When cli_imask7 is set to Y, input to the CLI is masked to seven bits. When no longer at the CLI, input is not masked. If you are expecting eight–bit ASCII input, set cli_imask7 to N.

Setting the cli_inactivity parameter causes the port to reset after all CLI sessions have exited.

Set the inactivity_timer to limit the amount of time the modem can be left idle with a connection. When this amount of time passes with no activity detected, the Remote Annex drops DTR, terminates all sessions to host(s), and resets the port. The default is off. Set the input_is_activity parameter to Y.

If the port mode is set to either cli or dedicated, the typical setting for the term_var parameter is dialup.

To enable CLI security, set the cli_security and

connect_security parameters. To enable port access via a password, set the port_password parameter.

Set the attn_string parameter to define a control character or character string. Setting this parameter when using a modem is helpful because modems do not always respond to the Break key by signalling the Remote Annex to suspend the session with the host and return to the CLI prompt. However, set attn_string to off when using file transfer programs (uucp, kermit,

xmodem); otherwise the remote user must issue the CLI stty command to turn off the parameter.

In the following example, a CLI port is configured for a 2400 bps inbound modem:

command:set port=12

command:set port speed 2400

command:set port control_lines modem_control command:set port type_of_modem T2500

command:set port type dial_in command:set port mode cli

command:set port inactivity_timer 15 command:set port term_var dialup command:set port cli_security y command:set port cli_inactivity 10

Im Dokument Using this Manual (Seite 123-127)