SUMMARY: Telebit T3000 Configuration w/SunOS 4.1.x

From: Ralph C. Wolman (rcw@netrix.com)
Date: Thu Apr 28 1994 - 23:04:26 CDT


-------------------- ORIGINAL MESSAGE -------------------------
Okay, I took your earlier advice and bought a pair of Telebit
T3000s for our Sparc 2 (running SunOS 4.1.3) server. Now I am
having trouble correctly configuring them, the gettytab, and
the ttytab entries correctly.

Does anyone have a set of these entries that allow dial in at
14.4kbps that they are willing to share with me?

What I need is a screen dump of your modem configuration (at&v),
a screen dump of the part of your gettytab file that is used on
the modem, and a screen dump of the part of your ttytab that is
used.

I will summarize in a few days.

Thanks in advance for your time.
-----------------------------------------------------------------------

In summary, if you ftp to ftp.telebit.com and go to the
/pub/tech-support/modems/setup-guides directory and get
the file sun.set you will have the information you need.

I have included the file at the end of this message in case
you have trouble getting it from Telebit.

Many thanks to the following people for this and other
information:

Jeff Allen <jallen@synopsys.com>
Michael D. Reynolds <reynolds@icgmfg.mke.ab.com>
BRS Administrator <brsadm@stti-sun.iupui.edu>
Michael Sullivan <mike@trdlnk.com>
James R. Miller <jimm@csdc02.orl.mmc.com>

-----------------------------------------------------------------------
------------------ ADDITIONAL SETUP FROM OTHER USERS ------------------
-----------------------------------------------------------------------

T3000SA - Version LA3.00 - Active Configuration
 B1 E1 L2 M0 Q2 T V1 X1 Y0
&C1 &D3 &G0 &J0 &L0 &Q0 &R3 &S1 &T4 &X0
S000:1 S001=0 S002=43 S003=13 S004=10 S005=8 S006=2 S007=40
S008=2 S009=6 S010=14 S011=70 S012=50 S018=0 S025=5 S026=1
S038=0 S041=0 S045=0 S046=0 S047=4 S048:1 S050=0 S051:6
S056=17 S057=19 S058:2 S059=0 S060=0 S061:0 S062=15 S063=0
S064=0 S068=255 S069=0 S090=0 S093=8 S094=1 S100=0 S102=0
S104=0 S105=1 S111=255 S112=1 S180=2 S181=1 S183=25 S190=1
S253=10 S254=255 S255=255

#
# @(#)ttytab 1.7 92/06/23 SMI
#
# name getty type status comments
#
console "/usr/etc/getty cons8" sun on local secure
ttya "/usr/etc/getty modem.38400" dialup on
...

#
# @(#)gettytab 1.11 92/06/23 SMI; from UCB 5.7 2/16/86
#
...
#
# modem with interface rate locked
#
modem.38400:\
        :ms=crtscts:ht:sp#38400:

|------------------------------------------------------------------------------|
Our T3000's are connected to Suns running 4.1.3

ACTIVE PROFILE:
B16 B1 B41 B60 E1 L3 M0 N1 Q0 T V0 W0 X4 Y0 &C1 &D0 &G0 &J0 &K3 &Q5 &R0 &S0 &T4
&U0 &X0 &Y0
S00:001 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:050 S08:002 S09:006
S10:014 S11:095 S12:050 S18:000 S25:005 S26:001 S36:007 S37:000 S38:020 S44:003
S46:002 S48:007 S49:008 S50:016 S97:030

/etc/ttytab

# ttya is for incoming calls
# cua0 is for outgoing calls
#

ttya "/usr/etc/getty std.19200" dialup on remote
cua0 "/usr/etc/getty std.19200" unknown off remote

/etc/gettytab

g|std.19200|19200-baud:\
        :p8:sp#19200:

-----------------------------------------------------------------------
-------------------- TELEBIT GUIDE FROM FTP SERVER --------------------
-----------------------------------------------------------------------

 ============================================================================
  Telebit/SunOS 4.1.x Setup - Revision 2.02 - 5 MARCH 1993 - Page 1 of 5
 ============================================================================

 SETUP INSTRUCTIONS FOR TELEBIT MODEMS AND SUN WORKSTATIONS WITH SUNOS 4.1.x

 The following examples should allow easy initialization of a TELEBIT modem
 on a Sun workstation running SunOS 4.1.x. This guide describes the steps
 for installing any Telebit modem except for the QBlazer transportable modem.
 QBlazer installations are described in another guide.

 Most installations use the modem for both dial-in and dial-out, so this
 guide describes how to configure the computer and modem for combined dial-in
 and dial-out operation. If you're not going to use the modem for both types
 of operations, skip the section that doesn't apply to your installation.

 These examples assume the modem will be attached to the computer's "ttya",
 port, which is one of the on-board ports in most Sun workstations. If the
 modem is on a different port, substitute the other port name in your setup.

 Although the WorldBlazer, T3000, and T1600 modems can support RS232 port
 speeds higher than 19200 bps, this guide configures them for 19200 bps on
 dial-in. 38400 bps operation may not be reliable on some workstations or
 serial port boards, so it's wise to start with the slower speed first.
 Later, when you're sure everything else works, you can try boosting the
 speed up to 38400 bps.

 ---[ Section 1 - Pre-Installation ]-----------------------------------------

 Before performing any other installation steps, the computer and modem need
 to be prepared for each other.

 1.1 Turn off any getty processes that might be running on the modem port by
      editing the /etc/ttytab file and re-starting init.

      Edit the /etc/ttytab file with a text editor. Find the entry for the
      modem port and change that entry's status field to "off". It should
      look like this:

         # name getty type status comments
         #
         ttya "/usr/etc/getty std.9600" unknown off local secure

      Save the changes and exit the editor.

      Enter this command:

                 kill -HUP 1

 1.2 Reset the modem to its factory default settings as documented in the
      Reference Manual or User's Guide.

      WorldBlazer/T3000/T1600 modems: Reset modem to TTY defaults (&F0).

      T2500/TrailBlazer Plus/T2000/T1000 modems: Reset modem to Enhanced
      Command Mode (ECM) Asynchronous defaults.

 1.3 Connect the modem to the computer through the RS232 serial cable,
      and plug the telephone line into the modem's LINE jack.

 ============================================================================
  Telebit/SunOS 4.1.x Setup - Revision 2.02 - 5 MARCH 1993 - Page 2 of 5
 ============================================================================
 ---[ Section 2 - Modem Configuration ]--------------------------------------

 2.1 Change directories to /dev and enter the following command to create
      the dial-out device file for the ttya port:

            mknod cua0 c 12 128 (for ttyb enter: mknod cub0 c 12 129)

      If the mknod command returns a "file exists" error, skip to Step 2.2.
      Otherwise, enter the following command:

            chmod 666 cua0 (for ttyb enter: chmod 666 cub0)

 2.2 Change directories to /etc and edit the /etc/remote file with a
      text editor. Create the following entries:

            tb38400:dv=/dev/cua0:br#38400:el=^C^S^Q^U^D:ie=%$:oe=^D:

            tb19200:dv=/dev/cua0:br#19200:el=^C^S^Q^U^D:ie=%$:oe=^D:

            tb9600:dv=/dev/cua0:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:

      Save the changes and exit the editor.

 2.3 Enter this command to connect to the modem:

              tip tb9600

 NOTE: If tipping through the SUN Open Windows environment, use a SHELL
        tool, *not* a COMMAND tool.

 2.4 Type the following commands to the modem. Use only the commands
      for your particular modem:

            WorldBlazer, T3000, or T1600 modem:
                    AT &F3 E1 X0 &S0 S2=255 S45=255 S48=0 S58=2 &W
                    AT S59=15 S68=255 S111=255 S180=2 &C1 &W
                        S51=253

            T2500, TrailBlazer Plus, T2000 or T1000 modem:
                    AT &F X0 Q4 S45=255 S48=1 S51=254 S52=2 S54=3 &W
                    AT S58=2 S64=1 S66=1 S95=2 S97=1 S106=1 S131=1 &W

      When you press Return at the end of a command, the modem should
      respond with "OK". If you get disconnected on the first command,
      repeat steps 2.3 and 2.4. You can review the modem's settings by
      typing "AT&V" or "ATN?".

      Exit tip by pressing Return, Tilde (~), and then Period (.).

 ----------------------------------------------------------------------------
 NOTE: Check your modem reference manual for descriptions of each
        register and the meanings for each of the above settings.

        In the TrailBlazer Plus, T2500, T2000 and T1000 settings, the
        S97 and S106 registers control V.42/LAP-M error correction.
        If your modem doesn't have V.42 support, you can omit S97 and
        S106 from the modem commands. The S131 register controls the
        modem's DCD signal. Older modems used the S53 register to
        control DCD instead of S131. If your modem doesn't support
        S131, then set S53=1 instead.

 ============================================================================
  Telebit/SunOS 4.1.x Setup - Revision 2.02 - 5 MARCH 1993 - Page 3 of 5
 ============================================================================
 ---[ Section 3 - Setup for Dial-Out Operation ]-----------------------------

 3.1 Edit the /etc/remote file with a text editor and add the following
      entry:

               TELEBIT|Telebit autodialing parameters:\
                      :el=^D^U^C^S^Q^O^@:du:at=hayes:ie=#$%:oe=^D:\
                      :dv=/dev/cua0:

      Save the changes and exit the editor.

      The entry above describes to tip how to talk to the Telebit modem.
      You can add entries for dialing other computers and have them
      reference the Telebit info using the "tc" parameter. For example:

               home|call my computer at home:\
                      :pn=5551212:br#19200:tc=TELEBIT:

 3.2 Change directories to /etc/uucp and edit the Dialers file with a
      text editor. Create the following lines:

     # tbnorm: for 'normal' calls with modem error control
     # tbplain: for 'plain' calls without error control
     # tbuumnp: for selecting UUCP protocol support in MNP mode
     # tbuupep: for selecting UUCP protocol support in PEP mode
     tbnorm =W-, "" ATE0X1 OK ATDT\T CONNECT
     tbplain =W-, "" ATE0X1S180=0S95=0S97=0S106=0 "" \dATDT\T CONNECT
     tbuumnp =W-, "" ATE0X1S111=30S180=3 OK ATDT\T CONNECT
     tbuupep =W-, "" ATE0X1S7=60S50=255S111=30 OK ATDT\T CONNECT-\c-CONNECT

      Save the changes and exit the editor.

 3.3 Edit the Devices file with a text editor. If there are any lines
      that reference the modem dial-in port (ttya) or dial-out port (cua0),
      comment them out by inserting a "#" at the beginning of each line.

      If you have a WorldBlazer, T3000, or T1600, create these entries:

               ACUNORM cua0 - 300-38400 tbnorm
               ACUPLAIN cua0 - 300-38400 tbplain
               ACUUMNP cua0 - 300-38400 tbuumnp

      If you have a WorldBlazer, also add this entry:

               ACUUPEP cua0 - 300-38400 tbuupep

      If you have a T2500, TrailBlazer Plus, T2000 or T1000 create
      these entries instead of the ones above:

               ACUNORM cua0 - 300-19200 tbnorm
               ACUPLAIN cua0 - 300-19200 tbplain
               ACUUPEP cua0 - 300-19200 tbuupep

      Note the highest RS232 port speed for these modems is 19200.

      Save the changes and exit the editor.

 ============================================================================
  Telebit/SunOS 4.1.x Setup - Revision 2.02 - 5 MARCH 1993 - Page 4 of 5
 ============================================================================
 ---[ Section 4 - Setup for Dial-In Operation ]------------------------------

 4.1 Change directories to /etc and edit the gettytab file with a text
      editor. Look for the entry named "std.19200". Modify the entry
      to match the following example. If the entry doesn't exist, create
      it as a new entry:

               std.19200|19200-baud:\
                       :sp#19200:ms=crtscts:

      Save the changes and exit the editor.

 4.2 If the modem is not connected to one of the on-board serial ports
      (ttya or ttyb), then skip this step. Go to Step 4.3.

      Before getty is started, the computer must have its "software" carrier
      detection disabled. Without software carrier detection the computer
      will respond to the modem's DCD signal. This is critical for correct
      operation with a modem. The computer must respond to DCD. Enter the
      following command:

               ttysoftcar -n ttya

      You can confirm the kernel's handling of the modem port by entering:

               ttysoftcar ttya

      The system should report "ttya is n".

 4.3 Edit the ttytab file with a text editor. If there are any lines
      that reference the dial-out port (cua0), delete them. The system
      must NOT run getty on the dial-out port device. Getty should only
      be run on the dial-in port device (ttya). Modify the dial-in port
      line to look like this:

               ttya "/usr/etc/getty std.19200" dialup on

      You may add other status keywords after the "on" keyword, but be
      sure you do NOT add the "local" keyword. "Local" defeats the
      hardware carrier detect configuration we did in Step 4.2. If you
      are installing the modem on a multiport board, follow the setup
      instructions for your multiport board to create the ttytab entry.

      Save the changes and exit the editor.

 4.4 Start getty running on the dial-in port by entering this command:

                 kill -HUP 1

 ============================================================================
  Telebit/SunOS 4.1.x Setup - Revision 2.02 - 5 MARCH 1993 - Page 5 of 5
 ============================================================================
 ---[ Section 5 - Configuration Notes ]--------------------------------------

 Some users turn the speaker off (M0) and disable remote access (S45=0) when
 the modem installation is finished and everything is working properly.

 Dial-In configuration:
 ----------------------
 The dial-in configuration uses a "fixed speed" getty, and the modem is
 configured to always communicate with the computer at 19200 bps. Even if
 someone calls in at a different speed (e.g. 2400 bps), the modem will
 manage the difference in speeds.

 The modem is configured to use RTS/CTS flow control, also known as "hardware
 handshaking". The computer must also use RTS/CTS flow control, or data
 could be lost in some situations. The "ms=crtscts" code in gettytab turns
 on the computer's RTS/CTS flow control, however this code may not work on
 all Sun workstations. Multiport boards may use other methods for enabling
 RTS/CTS flow control on the computer's serial port. Contact your Sun
 support group for more information on whether your computer can support
 RTS/CTS flow control. If your computer cannot handle RTS/CTS flow control,
 configure the modem for 'compromise' XON/XOFF flow control (S58=0 S68=3) in
 Step 2.4, and remove the "ms=crtscts" code in the /etc/gettytab entry.

 If you want your dial-in configuration to use a different port speed (for
 example, 9600 bps), adjust the modem's S51 register accordingly and use the
 correct speed entry in /etc/gettytab.

 Dial-Out Configuration:
 -----------------------
 Tip's dial-out configuration is controlled by the /etc/remote file. Check
 the man page for tip and remote, or contact your Sun support group if you
 need more information about configuring tip (e.g. turning on RTS/CTS flow
 control). The uucp dial-out configuration supports port speeds from 300 bps
 to 38400 bps for the WorldBlazer/T3000/T1600 modem family, and speeds from
 300 bps to 19200 bps for the T2500/TrailBlazer Plus/T2000/T1000 modem family
 (see note above). The dial-out scripts in the Dialers file are used to
 configure the modem for the most common types of calls. Note that the
 "tbplain" script takes advantage of certain capabilities among the older and
 newer families of Telebit modems, where the modems can accept commands
 intended for the other modem family.

 Example Systems file entries to access the different dialers:

   mysystem Any ACUNORM 19200 5551212 ogin: hello ssword: itsme
   mysystem Any ACUPLAIN 19200 5551212 ogin: hello ssword: itsme
   mysystem Any ACUUPEP 19200 5551212 ogin: hello ssword: itsme
   mysystem Any ACUUMNP 19200 5551212 ogin: hello ssword: itsme

 The third field in each Systems file entry declares the 'device type'
 to be used for the call. This field is matched to the first field in
 the Devices file entry to select the dialer. The different device types
 in these examples will select the appropriate features in the modem.

 NOTE: The "ACUPEP" device type is not appropriate for T3000 or T1600
        modems (they don't support PEP). The "ACUMNP" device type is
        not appropriate for the T2500/TrailBlazer Plus/T2000/T1000 family
        of modems (they don't have UUCP protocol support in MNP modes).
 ====================[ End of Setup Guide ]==================================

-----
Ralph Wolman rcw@netrix.com
Netrix Corporation voice: 703-793-1213
13595 Dulles Technology Drive fax: 703-713-3805
Herndon, VA. 22071



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:59 CDT