Serial communication to a console from Solaris using tip

Home -> UNIX -> Solaris -> System administration

21519 views

From the computer of: qmchenry (339 recipes)
Created: Oct 02, 2003


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

It is often necessary when working with Sun systems or networking hardware 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 ~#

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Solaris 10: connect or login to zone console
  Solaris 10: shutdown or stop a zone
  Troubleshoot SCSI devices with probe-scsi-all
  Determine the CD-ROM device target id in Solaris
  Fun with Reboot!
  Change BootPROM settings from the Solaris command line
  Change Solaris DNS client settings
  Enable/configure FC-AL/SAN devices with cfgadm in Solaris
  Simple Solaris BIND/DNS Server Setup with Failover
  Solaris Processor Info

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.