OpenBoot 3.x Command Reference Manual

Appendix 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 termina, 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:

    hostname% tip hardwire 

    The Shell Tool window is now a TIP window directed to the Sun workstation TTYB.

    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.

    Note -

    If you do not have a video monitor attached to your SPARC system, connect the SPARC system TTYA to the Sun workstation TTYB and turn on the power to your SPARC system. Wait for a few seconds, and press Stop-Auto interrupt the power-on sequence and start the Forth Monitor. Unless the system is completely inoperable, the Forth Monitor is enabled, and you can continue with the next step in this procedure.

  5. If you need to redirect the standard input and output to TTYA, type:

    ok ttya io

    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 pressng Stop-A at the SPARC system.

    Note -

    Do not type Stop-A from a Sun workstation being used as a TIP window to your SPARC system. Doing so will abort the operating system on the workstation. (If you accidentally type Stop-A, you can recover by immediately typing go at the ok prompt.)

  7. When you are finished using the TIP window, end your TIP session and exit the window:

  8. Redirect the input and output to the screen and keyboard, if needed, by typing:

    ok screen output keyboard input

    Note -

    When entering ~ (tilde character) commands in the TIP window, ~ must be the first character entered on the line. To ensure that you are at the start of a new line, press Return first.

Common Problems With TIP

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.