www.digi.com
  Advanced Search
Product Selector
     
  Technical Support
Drivers

Firmware Upgrades

FAQs

Product Documentation

Cabling

Support Tools

Legacy Products

About Digi Support

Knowledge Base

Online Support Request

FTP Site



Related Links
Inside Out Networks


 
Solutions Partners Support and Training Corporate Info Where to Buy Order Where to Buy Site Map Contact Us
Home > Support >kbase >
Modem Configuration in Linux
Modem Configuration in Linux Modem Configuration in Linux

Modem Configuration requires familiarity with both the specific OS and the specific modem being used.
While the following procedure is sufficient for most cases, it may be necessary to take additional steps to
properly configure your modem or to set up the OS for a specific application.

1) The Cable

Use the Standard Modem Cable as diagrammed in The Digi Standard Cables

2) The Linux Server

  • In inittab, create entries for the appropriate tty (see below for tty naming information), using the format of the example modem device in /etc/inittab. For modems it is recommended that mgetty is used.
    If your distribution doesn't have an example, consult these examples, or your system documentation.

  • Set the device for respawn in /etc/inittab.

  • init q [re-read inittab entries]

    NOTE: This step requires that the 'uucp' package be installed.

    chown uucp:uucp /dev/[ttyid]*

    Example for RAS/Xp devices:

    chown uucp:uucp /dev/ttyG*

    Example for AccelePort Xem devices:

    chown uucp:uucp /dev/ttyD*

  • Connect to the modem to train the DTE baud rate:
  • cu -l /dev/[ttyname] -s 57600
    at&w
    [train modem to port speed] ~. [ tilde period, to end cu ]

  • Finish configuring the port for normal DCD functionality and hardware flow control:
  • ditty altpin ctspace rtspace -ixon -ixoff [ttyname]

    For RealPort:

    ditty-rp ctspace rtspace -ixon -ixoff [ttyname]


    *NOTE: Only use the altpin setting if you are using 8-wire (non-digi) cables on your modem. On PortServer and Digi One products, this is set on the units themselves.

    Possible error messages when doing the step 2, above:

    • getty respawning too rapidly -- check /etc/inittab file for errors.

     

solutions | partner programs | corporate info | support and training | where to buy
site map | contact us | press releases |
events | promotions | advertising

Copyright © 1996-2001 Digi International. All rights reserved.