
Using the Eiconcard Host PAD and Eiconcard Terminal PAD
page 32
Examples are used to help clarify how these uucp configuration files are used. Names and
other user-supplied items are chosen arbitrarily. To run these examples on your system, choose
user-supplied names and items that are defined for your system.
The uucp configuration files are usually located in the /etc/uucp directory. Check your Linux
documentation on uucp for the correct path on your system. There are several uucp
configuration files including call, dial, dialcode, passwd, port, and sys. The example below
uses the sys and port files.
Sys
In the sys file, add entries to define your connections. In the example below, the entry defines
a uucp connection via the PAD. The connection is named ‘pad’ and can be called at “any’ time
using a device type of ‘tpad’ at speed ‘38400’. This entry may be used with cu or an interactive
terminal-emulation program when direct user interaction is desired with the PAD.
system pad
time any
port tpad
speed 38400
Port
In the port file, add entries for each terminal tty line device.
port tpad
type direct
device /dev/tpadEt00
speed 38400
Using uucp and cu
uucp implementations are very flexible. They can be customized to suit the various types of
line connections and modems you use for uucp communications. Before running this example
on your system, the uucp configuration files must be set up according to specific requirements.
In the following examples, “#” is the system prompt, “*” is the Eiconcard Terminal PAD prompt,
and “$” is the remote system prompt.
Note: Verify that you have correctly configured the Eiconcard Terminal PAD device(s) before
attempting to establish a connection. For example, you may need to assign ports using the
tpadcfg -p command.
Example 1
Use the cu utility to login to a remote system. The pad entry of the Systems file connects you
to the Eiconcard Terminal PAD. You may then call a remote system over an X.25 network:
# cu pad // Connect to Terminal from system prompt
Connected
tpadEt 0 profile uucp port 1
* // Now in Terminal PAD
Komentáře k této Příručce