[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
System Management Guide: Communications and Networks
To configure Serial Line Interface
Protocol (SLIP) between two systems that communicate through a modem, you can
use the Web-based System Manager, wsm, or use the following
procedure, which alternates between the System Management Interface Tool
(SMIT) interface and the command line to complete the configuration.
For clarity, the following instructions use the names bronze and gold for the
two hosts.
- Physically connect the
modems to bronze and gold.
- To create a tty on
bronze using SMIT:
- Enter:
smit maktty
- Select rs232
as the type of tty you wish to create.
- Select an available
serial port, for example sa0 (system serial port 1).
- Select a port number for
this tty from the list.
- Set the BAUD rate to the
baud rate of your modem.
- Set Enable LOGIN to
disable.
- Exit SMIT.
- Create a tty on
gold.
Follow the same procedure as you
did for bronze (in step 2), except set Enable LOGIN to
enable.
The rest of these instructions
assume that the tty number on both bronze and gold is tty1.
- Test the physical
connection with ATE.
- On bronze, enter:
ate
- At the Unconnected Main
Menu, select the Alter subcommand. Set the Rate to the baud
rate of your modem and the Device to tty1.
- At the Unconnected Main
Menu, select the Connect subcommand. When ATE prompts you
for a phone number, enter the phone number of gold and press Enter.
- At this point, you
should receive a login prompt for gold. Login.
- Return to the connected
screen, logout from gold, press Ctrl-v (to get to the ATE CONNECTED
MAIN MENU), press t to terminate the connection, and press
q to exit ATE.
Note: If you do not receive a login prompt, return to step 1
and verify that your configuration is correct. Do not proceed until you
can login to gold.
Because the tty configuration for use with ATE is slightly different
from the configuration for use with SLIP, you must make the following
changes:
- On bronze, enter:
smit chgtty
- On gold, enter:
smit chgtty-pdisable tty1
Select tty1, then select Change/Show TTY
Program. Set Enable LOGIN to disable, then exit SMIT.
- Add the following line
to the /usr/lib/uucp/Devices file on both bronze and gold:
Direct tty1 - 9600 direct
or replace 9600 with whatever your modem speed is.
- Create a SLIP network
interface on bronze.
- Enter:
smit mkinet1sl
- For TTY PORT for SLIP
Network Interface, select tty1.
- Specify an INTERNET
ADDRESS, for example, 130.130.130.1.
- Specify the DESTINATION
address (of gold), for example, 130.130.130.2.
- Specify the BAUD RATE of
your modem.
- Specify the DIAL STRING,
for example:
- "" AT OK ATDT555-1234
CONNECT ""
- The meaning of this
command is: Use tty1 at 9600 baud. Send AT
to the modem. The modem should respond with OK. Dial the phone
number 555-1234. The modem should respond with
CONNECT. The spaces before and after the "" characters are
necessary.
- Exit SMIT.
- Create a SLIP network
interface on gold.
Follow the same procedure as you
did for bronze (in step 5), except exchange the INTERNET ADDRESS and the
DESTINATION address.
- Add the following two
entries to the /etc/hosts file on both bronze and gold:
130.130.130.1 bronze
130.130.130.2 gold
The name you assign must be unique. In other words, if the
Token-Ring interface on bronze is already assigned the name bronze,
assign the SLIP interface a name such as
bronze_slip.
Note: For a simplified interface to the slattach
command, you might use the script /usr/sbin/slipcall.
- Test the SLIP
connection.
- On bronze, enter:
ping gold
- On gold, enter:
ping bronze
If both tests succeed, the SLIP connection is ready for use. If
not, return to step 5 and verify that the configuration on both bronze and
gold is correct.
To configure SLIP between two
systems that are attached using a null modem cable, you can use the Web-based
System Manager, wsm, or use the following procedure, which
alternates between the System Management Interface Tool (SMIT) interface and
the command line to complete the configuration. For clarity, these
instructions use the names bronze and gold for the two hosts.
- Physically connect
bronze and gold by the null modem cable. The following cables are
required.. (The cables are listed in the order they will be
connected from bronze to gold.)
- Cable B (part number
00G0943). Serial Port Jumper Cable; two are provided with each
system, except models 220, 340, and 350 do not require them.
- Cable D (part number
6323741, feature code 2936). Asynchronous Cable
EIA-232/V.24.
- Cable E (part number
59F2861, feature code 2937). Printer/Terminal Interposer EIA-232 (null
modem cable).
- Changer Adapter (both
sides of the adapter are sockets).
- Create a tty on
bronze.
- Enter:
smit maktty
- Select rs232
as the type of tty you wish to create.
- Select an available
serial port, for example sa0 (system serial port 1).
- Select a port number for
this tty from the list.
- Set the BAUD rate to
19200. (Later, you will change this to 38400. But for now, use
19200.)
- Set Enable LOGIN to
disable, and then exit SMIT.
- Create a tty on
gold.
Follow the same steps as you did
for bronze (in step 2), except set Enable LOGIN to enable.
Note: The rest of these instructions assume that the tty
number on both bronze and gold is tty1.
- Test the physical
connection with ATE.
- On bronze, enter:
ate
- At the Unconnected Main
Menu, select the Alter subcommand. Set the Rate to 19200,
and the Device to tty1.
- At the Unconnected Main
Menu, select the Connect subcommand. When ATE prompts you
for a phone number, press Enter. You should receive the message:
ate: 0828-010 The Connect command has made a connection through port tty1
- Press Enter. You
should receive a login prompt for gold. Login to gold.
- Finally, return to the
connected screen, logout from gold, press Ctrl-v (to get to the ATE
CONNECTED MAIN MENU), press t to terminate (end) the connection,
and press q to exit ATE.
Note: If you do not receive a login prompt, return to step 1
and verify that your configuration is correct. Do not proceed until you
can login to gold.
Since the tty configuration for use with ATE is slightly different from
the configuration for use with SLIP, you must make the following
changes:
- On bronze, enter:
smit chgtty
Select tty1. Set the BAUD rate to 38400, and then exit
SMIT.
- On gold, enter:
pdisable tty1
- On gold, enter:
smit chgtty
Select tty1. Set Enable LOGIN to disable, set the BAUD
rate to 38400, and then exit SMIT.
- Add the following line
to the /usr/lib/uucp/Devices file on both bronze and gold:
Direct tty1 - 38400 direct
- Create a SLIP network
interface on bronze.
- Enter:
smit mkinet1sl
- For TTY PORT for SLIP
Network Interface, select tty1.
- Specify an INTERNET
ADDRESS, for example 130.130.130.1.
- Specify the DESTINATION
address (of gold), for example, 130.130.130.2, and then
select OK or Enter.
- Create a SLIP network
interface on gold.
Follow the same procedure as you
did for bronze (in step 5), except exchange the INTERNET ADDRESS and the
DESTINATION address.
- Add the following two
entries to the /etc/hosts file on both bronze and gold:
130.130.130.1 bronze
130.130.130.2 gold
The name you assign must be unique. In other words, if the
Token-Ring interface on bronze is already assigned the name bronze,
assign the SLIP interface a name such as bronze_slip.
- Start SLIP on both
bronze and gold.
Enter:
slattach tty1
- Test the SLIP
connection.
- On bronze, enter:
ping gold
- On gold, enter:
ping bronze
If both tests succeed, the SLIP connection is ready for use. If
not, return to step 5 and verify that the configuration on both bronze and
gold is correct.
To deactivate a SLIP
connection:
- Enter:
ps -ef | grep slatt
Note the process numbers of processes associated with the
slattach command.
- For each process number,
enter:
kill process_number
Do not use the -9 flag of the kill command.
If slattach is
accidentally killed with a -9 flag, a slip lock might remain in
/etc/locks. Delete this lock file to clean up after
slattach.
To remove a tty, you can use the
Web-based System Manager, wsm, or the System Management Interface
Tool (SMIT) fast path, smit rminet.
[ Previous | Next | Table of Contents | Index |
Library Home |
Legal |
Search ]