Previous | Table of Contents | Next |
You use three SAF commands to administer modems and alphanumeric terminals: sacadm, pmadm, and ttyadm.
The sacadm command adds and removes port monitors. This command is your main link with the Service Access Controller (SAC) and its administrative file (/etc/saf/_sactab).
The pmadm command adds or removes a service and associates a service with a particular port monitor.
The ttyadm command formats information for inclusion in various SAF administrative files. A ttyadm command often is embedded within a sacadm or pmadm command to provide some of the data needed by those commands. Table 3-15 lists the programs associated with specific SAF functions. See the manual pages for more information about each command.
Function | Program | Description |
---|---|---|
Overall administration | sacadm | Command for adding and removing port monitors |
Service Access Controller | sac | SAF's master program |
Port monitors | ttymon | Monitors serial port login requests |
listen | Monitors requests for network services | |
Port monitor service administrator | pmadm | Command for controlling port monitors' services |
Services | logins; remote procedure calls; other | Services to which SAF provides access |
This section provides steps for setting up port monitors for printing. Each SunOS 5.x print server and print client must have the port monitor configured to be able to handle network printing requests. If you use the Printer Manager (available with SunOS 5.1), you do not need to follow these steps. The Printer Manager automatically sets up the port monitors as part of the printer configuration process:
Option | Description |
---|---|
-a | Adds the -p port |
-t | Identifies the type of service |
-c | Tells which command to use to start the port monitor |
-v | Indicates the version of the network listen process |
-n | Specifies the number of times the Service Access Controller will restart the process, if it dies |
# sacadm -l PMTAG PMTYPE FLGS RCNT STATUS COMMAND tcp listen - 9999 ENABLED /usr/lib/saf/listen tcp #
NOTE: It may take several minutes before the network listen service is enabled.
# lpsystem -A ØØØ2Ø2Ø3819418ØeØØØØØØØØØØØØØØØØ
The universal address has four parts, as shown in Figure 3-15. The last part, RFU, means Reserved for Future Use and could be used for other families of addresses (for example, Open Systems Interface) in the future.
Figure 3-15 Parts of the universal address.
The first four digits identify the Internet family. The fifth through eighth digits identify the TCP port. For the modified version, replace the fifth through eighth digits with 0ACE. For example, the modified version of the universal address shown in the example above is:
ØØØ2ØACE819418ØeØØØØØØØØØØØØØØØØ
NOTE: You must type the characters x at the beginning of the universal (or modified universal) address in the next steps exactly as shown. In addition, the address must be enclosed in single quotation marks so the backslash is not stripped off.
Previous | Table of Contents | Next |