[Top] [Table Of Contents] [Prev] [Next] [Index]
This chapter describes how to use the command line interface to configure the P0 parallel port included on some PortMaster products. Detailed command definitions follow a command summary table.
The following command is available to show the configuration of the parallel port:
The parallel port commands in Table 7-1 configure the parallel port P0. See Table 1-1, "Configurable Ports Available for Each PortMaster Model," on page 1, for the range of ports available on each PortMaster model.
These commands are used to configure the parallel port (P0) of the PortMaster.
set p0 device
This command sets the parallel port to operate as a host-controlled device.
set p0 device Device
In the following example, a PortMaster host device /dev/ttyrd is shown. To use the PortMaster device service, you must have the PortMaster in.pmd daemon installed on the specified host.
Command> set p0 device /dev/ttyrd
Port type for port P0 changed from Device to Host Device(/dev/ttyrd)
set p0 disabled
This command disables the parallel port.
set p0 disabled
This command disables the parallel port. To enable the port, set it as a host device-for example, set p0 device /dev/ttyrd.
Command> set p0 disabled
Port type for port P0 changed from Device to Disabled
set p0 device - page 7-2
set p0 disconnect
This command sets the disconnection timeout for the parallel port.
set p0 disconnect Seconds|infinity
The timeout feature disconnects a session from the port when the port has been inactive-flow control-for the designated time. The port is then available for other sessions.
The infinite timeout feature is useful, for example, for printers that go offline when they run out of paper, but that you do not want to disconnect and thereby terminate the print job.
Command> set p0 disconnect 240
Disconnect timeout for port P0 changed from 120 to 240
set p0 extended
This command sets the extended display mode on or off for the parallel port.
set p0 extended on|off
When extended mode is on, the show command provides more detailed output.
Command> set p0 extended on
Extended mode for port P0 changed from off to on
set p0 host
This command sets the device host for the parallel port.
set p0 host default|prompt|[1|2|3|4] Ipaddress
The host must have the in.pmd daemon installed.
Command> set p0 host 192.168.200.2
Host changed from default to 192.168.200.2 for P0
set host - page 5-22
set p0 service_device
This command indicates device service to be used by the parallel port.
set p0 service_device netdata|portmaster|rlogin|telnet [Tport]
The host device must be set as the port type for any port that is to act as a host-controlled device on a workstation. This capability allows users to connect through the PortMaster to shared devices such as printers.
Command> set p0 service_device portmaster
Device Service for port P0 changed from to portmaster
set p0 device - page 7-2
[Top] [Table Of Contents] [Prev] [Next] [Index]
spider@livingston.com
Copyright © 1998, Lucent Technologies. All rights
reserved.