### Configuring a Device for a Dial-in/Dial-out

Use this procedure to configure an AccelePort RAS device for a Dial-in/Dial-out modem connection. Configuring a device for a modem requires familiarity with both the operating system and the modem requirements. While the following procedure is sufficient for most cases, it may be necessary to take additional steps to properly configure an AccelePort device/modem or to set up the operating system for a specific application.

This procedure assumes that a tty has been created for the modem. See Creating and Configuring ttys.

#### Procedure

1. Log onto the AIX system as root.

2. Add an entry for the device in the file /usr/lib/uucp/Devices:

   `Direct tty3 - 38400 direct`

3. Use the following command to connect to the modem:

   `cu -ml ttyX`

   In this command, ttyX is the device name for the port.

   The modem should respond with an AT prompt.

4. Enable the modem for auto answer with this command:

   `ats0=#`

   where # is the number of rings before the modem answers.

5. Train the modem to the port speed by entering this command at the AT prompt:

   `at&w`

6. Terminate the connection by entering:

   `~.` (a tilde followed by a period)

   and pressing Enter at the AT prompt.

7. At an AIX root prompt, enter this command:

   `smit tty`

8. Choose Change/Show Characteristics of a TTY.

9. Choose a TTY device. This is an example of a listed device:

   `tty7 Available 00-00-04-02 Asynchronous Terminal`

10. Set Enable LOGIN to share.

11. Set BAUD rate to the modem's highest configurable baud rate.

12. Set PARITY, BITS per character, and number of STOP BITS.

13. Set FLOW CONTROL to be used to match the flow control used by the modem.