Solaris 7 System Administration Supplement

New Console Features for Remote Systems

This feature was new in the Solaris 7 5/99 software release.

The new console features in the Solaris 7 5/99 software release update the Solaris operating environment. This information supplements information on troubleshooting Solaris systems found in "Troubleshooting Software Problems (Overview)" in System Administration Guide, Volume II and in the Solaris Transition Guide.

The following new console features improve your ability to troubleshoot remote systems:

Using Auxiliary Console Messaging During Run Level Transitions

Keep the following in mind when using auxiliary console messaging during run level transitions:

Using the consadm Command During an Interactive Login Session

If you want to run an interactive login session by logging in to a system using a terminal that is connected to a serial port, and then using the consadm command to see the console messages from the terminal, note the following behavior.

How to Enable an Auxiliary (Remote) Console

The consadm daemon does not start monitoring the port until after you add the auxiliary console with the consadm command. As a security feature, console messages are only redirected until carrier drops, or the auxiliary console device is unselected. This means carrier must be established on the port before you can successfully use the consadm command.

See the man page consadm(1M) for more information on enabling an auxiliary console.

  1. Log in to the system as superuser.

  2. Enable the auxiliary console.


    # consadm -a devicename
    
  3. Verify that the current connection is the auxiliary console.


    # consadm
    

Example--Enabling an Auxiliary (Remote) Console


# consadm -a /dev/term/a 
# consadm
/dev/term/a

How to Display a List of Auxiliary Consoles

  1. Log in to the system as superuser.

  2. Select one of the following steps:

    1. Display the list of auxiliary consoles.


      # consadm
      /dev/term/a

      or

    2. Display the list of persistent auxiliary consoles.


      # consadm -p
      /dev/term/b

How to Enable an Auxiliary (Remote) Console Across System Reboots

  1. Log in to the system as superuser.

  2. Enable the auxiliary console across system reboots.


    # consadm -a -p devicename     
    

    This adds the device to the list of persistent auxiliary consoles.

  3. Verify that the device has been added to the list of persistent auxiliary consoles.


    # consadm
    

Example--Enabling an Auxiliary (Remote) Console Across System Reboots


# consadm -a -p /dev/term/a  
# consadm
/dev/term/a

How to Disable an Auxiliary (Remote) Console

  1. Log in to the system as superuser.

  2. Select one of the following steps:

    1. Disable the auxiliary console.


      # consadm -d devicename
      

      or

    2. Disable the auxiliary console and remove it from the list of persistent auxiliary consoles.


      # consadm -p -d devicename
      
  3. Verify that the auxiliary console has been disabled.


    # consadm
    

Example--Disabling an Auxiliary (Remote) Console


# consadm -d /dev/term/a 
# consadm