Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
11.  Setting Up Terminals and Modems (Tasks) Setting Up Terminals and Modems with Serial Ports Tool How to Set Up a Terminal  Previous   Contents   Next 
   
 

How to Set Up a Modem

  1. Start the Solaris Management Console, if it's not already running.

    % /usr/sadm/bin/smc &

    For information on starting the Solaris Management Console, see "Starting the Solaris Management Console" in System Administration Guide: Basic Administration.

  2. Click This Computer icon in the Navigation pane.

  3. Click Devices and Hardware-->Serial Ports.

    The Serial Ports menu is displayed.

  4. Select the port that will be used with a modem.

  5. Choose one of the following Configure options from the Action menu.

    1. Configure-->Modem (Dial In)

    2. Configure-->Modem (Dial Out)

    3. Configure-->Modem (Dial In/Out)

    The Configure Serial Port window appears in the Basic Detail mode.

    For a description of the Modem menu items, see Table 11-3.

  6. Click OK.

  7. To configure the advanced items, select the port configured as a modem. Then, select Properties from the Action menu.

  8. Change the values of template entries if desired.

  9. Click OK to configure the port.

  10. Verify that the modem service has been configured.

    $ pmadm -l -s ttyn

How to Initialize a Port

  1. Start the Solaris Management Console, if it's not already running.

    % /usr/sadm/bin/smc &

    For information on starting the Solaris Management Console, see "Starting the Solaris Management Console" in System Administration Guide: Basic Administration.

  2. Click This Computer icon in the Navigation pane.

  3. Click Devices and Hardware-->Serial Ports.

    The Serial Ports menu is displayed.

  4. Select the port to be initialized.

  5. Choose Configure-->Initialize Only - No Connection

    The Serial Port window appears in the Basic Detail mode.

    For a description of the Initialize Only menu items, see Table 11-4.

  6. Click OK.

  7. To configure the advanced items, select the port configured as a initialize only. Then, select Properties from the Action menu.

  8. Change the values of template entries if desired.

  9. Click OK to configure the port.

  10. Verify that the modem service has been initialized.

    $ pmadm -l -s ttyn

Troubleshooting Terminal and Modem Problems

If users are unable to log in over serial port lines after you have added a terminal or modem and set up the proper services, consider the following possible causes of failure.

  • Check with the user.

    Malfunctions in terminals and modem use are typically reported by a user who has failed to log in or dial in. For this reason, it is best to begin troubleshooting by checking for a problem on the desktop.

    Some common reasons for login failure include:

    • Login ID or password is incorrect.

    • Terminal is waiting for X-ON flow control key (Control-q).

    • Serial cable is loose or unplugged.

    • Terminal configuration is incorrect.

    • Terminal is shut off or otherwise has no power.

  • Check the terminal.

    Continue to troubleshoot by checking the configuration of the terminal or modem. Determine the proper ttylabel for communicating with the terminal or modem. Verify that the terminal or modem settings match those of the ttylabel.

  • Check the terminal server.

    If the terminal checks out, continue to search for the source of the problem on the terminal or modem server. Use the pmadm command to verify that a port monitor has been configured to service the terminal or modem and that it has the correct ttylabel associated with it.

    $ pmadm -l -t ttymon

    Examine /etc/ttydefs and double check the label definition against the terminal configuration. Use sacadm to check the port monitor's status. Use pmadm to check the service associated with the port the terminal uses.

  • Check the serial connection.

    If the Service Access Controller is starting the TTY port monitor and pmadm reports that the service for the terminal's port is enabled, and if the terminal's configuration matches the port monitor's, then continue to search for the problem by checking the serial connection. A serial connection comprises serial ports, cables, and terminals. Test each of these parts by using it with two other parts that are known to be reliable.

    Test all of the following:

    • Serial ports

    • Modems

    • Cables

    • Connectors

  • Do not use Serial Ports Tool to modify serial port settings if the serial port is being used as a console. The correct procedure for changing console settings is by modifying the following line in the /etc/inittab file:

    co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console
    login: " -T terminal_type -d /dev/console -l console -m
    ldterm,ttcompat
 
 
 
  Previous   Contents   Next