Wednesday, July 10, 2024
HomeSolarisSolaris system administrationSerial Communication to a Console from Solaris Using Tip

Serial Communication to a Console from Solaris Using Tip

When working with Sun systems or networking hardware, it is often necessary to connect over an RS-232 serial connection. This recipe describes the means of establishing the serial connection from a Sun system to another device using tip.

Connect the appropriate serial cable from serial port B on the local Sun system and to serial port A on another Sun system or the appropriate port of another device, for example, the console port on a Cisco router. These ports are the default ports and can be changed if required.

From a Solaris shell prompt on the local system, issue the command:

tip hardwire

You should be connected. Press enter a few times to see if you are getting a response. If you are not, check your connections and make sure you have the right cable.

The hardwire parameter in the tip command refers to an entry in the file /etc/remote which describes the serial port connections. By default, hardwire specifies port B with 9600 baud, 8 data bits, no stop bits, and 1 parity bit.

From within tip, you can access a tip menu by pressing ~? after a carriage return. To quit the tip session, press ~. and to send a break character, type ~#

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.


Please enter your comment!
Please enter your name here

Most Popular


Recent Comments

error: Content is protected !!