No Account Yet?

You are not logged in.

Add to: JBookmarks Add to: Facebook Add to: Windows Live Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Google Information
OpenSolaris serial console howto E-mail
OpenSolaris HowTos - Beginner OpenSolaris HowTo's
Written by Allen Sanabria   
Wednesday, 20 August 2008 10:05

The other day I was ripping at my hair because I could not figure out how to console into OpenSolaris on my X86 box at home. I had my serial connection connected correctly.... But, I just could not figure out what command to use to console into Solaris as I always used minicom for Linux.

After much searching I found the command tip, which is the Solaris command equivalent to Linux's minicom.  The command tip is actually quite easy to use, you just need to know some basics and modify your /etc/remote configuration file if you are running on a x86 system.

Follow the steps below....

  1. Verify that you have configured your system so that it can be serial console into.. Here is a tutorial that I have created on how to setup serial console on Linux
    ( http://www.linuxdynasty.org/how-to-setup-serial-console-on-linux.html )

  2. Make sure you have a serial cable and that it is appropriately connected to what ever Unix/Linux server that you are using.

  3. Before modifying anything please make sure you are logged in as root or have sudo privileges.
    Example.. { su - } or { sudo su - } to gain root access.

  4. Modify /etc/remote  by adding the line below into it... But before you add the line below into the /etc/remote file, you should understand why you are doing so. The reason is that by default Solaris install has a entry in /etc/remote that is called hardwire with almost the exact same entry as below except it is using Serial B instead of Serial A, and this is an issue if you are running on an x86 box with only one Serial connection. So by adding the below, this will fix your dillema.
    serial1:\
            :dv=/dev/term/a:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
  5. Now type the command tip with the entry name of the above... Example { tip serial1 }
    -bash-3.2$ tip ser1
    connected

    opensolaris console login:

 

You should now be at the login prompt of what ever Unix/Linux system you are trying to connect to. Here are some extra command sequences that are extremely helpful while using tip..

  • You can logout of a tip session by typing the following key sequence... { ~~. }
    opensolaris console login: ~

    [EOT]

  • You can transfer a file from the console session that you are connected to back to the system you are consoleing from like this.. { ~t }
    -bash-3.2$ tip ser1
    connected
    opensolaris console login: root
    Password:
    Last login: Wed Aug 20 07:37:46 on console
    Sun Microsystems Inc.   SunOS 5.11      snv_95  January 2008
    You have mail.
    # bash
    bash-3.2# ls
    WE_NEED
    { here is where you type ~t and will look like the following }
    bash-3.2# ~[take] WE_NEED
    { Once the lines stop increasing you can run ( ctrl+c ),
    then you will see right after the line number the following below }
    2 lines transferred in 51 seconds
    !
    bash-3.2#
Comments
Search RSS
Only registered users can write comments!

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Wednesday, 20 August 2008 10:55 )