A P P E N D I X A |
Setting Up a TIP Connection |
You can use the TTYA or TTYB ports on your SPARC system to connect to a second Sun workstation. By connecting two systems in this way, you can use a shell window on the Sun workstation as a terminal to your SPARC system. (See the tip man page for detailed information about terminal connection to a remote host.)
The TIP method is preferable to simply connecting to a dumb terminal, since it lets you use windowing and operating system features when working with the boot PROM. A communications program or another non-Sun computer can be used in the same way, if the program can match the output baud rate used by the PROM TTY port.
Note - In the following pages, "SPARC system" refers to your system, and "Sun workstation" refers to the system you are connecting to your system. |
Use the following procedure to set up the TIP connection.
1. Connect the Sun workstation TTYB serial port to your SPARC system TTYA serial port using a serial connection cable. Use a 3-wire Null Modem Cable, and connect wires 3-2, 2-3, and 7-7. (Refer to your system installation manual for specifications on null modem cables.)
2. At the Sun workstation, add the following lines to the / etc/remote file.
If you are running a pre-Solaris 2.0 version of the operating environment, type:
If you are running version 2.x of the Solaris operating environment, type:
3. In a Shell Tool window on the Sun workstation, type:
The Shell Tool window is now a TIP window directed to the Sun workstation TTYB.
Note Note - Use a Shell Tool, not a Command Tool; some TIP commands may not work properly in a Command Tool window. |
4. At your SPARC system, enter the Forth Monitor so that the
ok
prompt is displayed.
5. If you need to redirect the standard input and output to TTYA, type:
There will be no echoed response.
6. Press Return on the Sun workstation keyboard. The ok prompt shows in the TIP window.
Typing ~# in the TIP window is equivalent to pressing Stop-A at the SPARC system.
7. Redirect the input and output to the screen and keyboard, if needed, by typing:
8. When you are finished using the TIP window, end your TIP session and exit the window.
Note Note - When entering ~ (tilde character) commands in the TIP window, |
This section describes solutions for TIP problems occurring in pre-Solaris 2.0 operating environments.
Problems with TIP may occur if:
There should be a directory named /usr/spool/uucp . The owner should be uucp and the mode should be drwxr-sr-x .
The status field for TTYB (or the serial port you are using) must be set to off in /etc/ttytab . Be sure to execute kill -HUP 1 (see init(8) ) as root if you have to change this entry.
Sometimes, a program will have changed the protection of /dev/ttyb (or the serial port you are using) so that it is no longer accessible. Make sure that /dev/ttyb has the mode set to crw-rw-rw-.
If the TIP connection is in tandem mode, the operating system sometimes sends XON (^S) characters (particularly when programs in other windows are generating lots of output). The XON characters are detected by the Forth word key? , and can cause confusion. The solution is to turn off tandem mode with the ~s !tandem TIP command.
TIP opens a sub-shell to run cat , thus causing text to be attached to the beginning of your loaded file. If you use dl and see any unexpected output, check your .cshrc file.
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.