[comp.dcom.modems] Telebit TrailBlazers and Masscomp 5600

modems@telebit.UUCP (Modem Mail Account) (03/10/88)

This posting covers the configuration of the Telebit TrailBlazer and the
Masscomp 5600 computer, to run UUCP. It is in response to several inquiries.
If you have any questions or comments about this, please email to:

================================================================================
Richard Siegel                           Phone:                   (408) 996-2644
Senior Systems Engineer                  UUCP:  {uunet,ames,hoptoad}!telebit!rls
Telebit Corporation                      ARPA:  telebit!rls@ames.ARPA
                                
            "When the going gets tough, the weird turn pro"...HST
================================================================================

  SETUP INSTRUCTIONS FOR TELEBIT TRAILBLAZERS and the MASSCOMP 5600

The following examples should allow easy initialization of a Telebit 
TrailBlazer Plus modem for use with UUCP on a Masscomp Model 5600
computer. It should also work will little or no modification on other
Masscomp systems.

1. MODIFY /etc/inittab:
   This will set port tty2 to enable modem operation at 9600 bps.
   Note that the init state '3' must change to a '2' if dialing out.

        02:3:respawn:/etc/getty tty2 9600m # \
                modem callout: init2  modem callin: init3

   Also set ownership of /dev/tty2 to uucp with the commands below:

        chown uucp /dev/tty2
        chgrp uucp /dev/tty2


2. MODIFY /etc/gettydefs:
   This allows modem operation at 9600 bps.

        cd /etc
        --- edit gettydefs, add this entry to the list (all as one line):

        9600m # B9600 CS8 ECHO IXON IXOFF # B9600 CLOCAL IXON IXOFF IXON 
         IXOFF TAB3 BRKINT OPOST ONCLR CS8 ISIG ICANON ECHO #login: #9600m 

        --- save the file.

3. CONFIGURE MODEM
   If the modem is NOT fresh out of the box from the factory, the reset button 
   on the back of the TrailBlazer Plus should be pressed.  Use a paperclip or 
   some handy tool like that to depress the small micro switch located 
   (recessed) through a small hole next to the RS232 serial connector. 
   Make sure the modem is powered ON when depressing the switch.

   With the modem now reset, tip to the modem (use "cu" to talk at
   9600 bps) and configure it with the command string below:

   AT &F S51=4 S52=2 S58=3 S110=1 S111=30 S54=3 S45=0 S55=3 S66=1 Q6 &W <CR>

   This string (the spaces are optional if you prefer to remove them) will:

         - 1st (&F) recalls factory defaults (start with known configuration).
         - 2nd (S51=4) sets up the serial port to 9600 baud.
               (It's not clear that the Masscomp supports 19,200.)
         - 3rd (S52=2) says drop the connection when DTR is dropped to the modem
               and reload the modem's stored EEPROM values (do a soft reset).
         - 4th (S58=3) enables XON/XOFF flow control for non-UUCP use.
               The UUCP protocol support handles flow control during file xfrs.
         - 5th (S110=1) enables data compression between TrailBlazers.
               If desired, S110=0 will disable this feature.
         - 6th (S111=30) enables UUCP "g" protocol support in the TrailBlazer.
         - 7th (S54=3) says pass BREAKs through the modem transparently.
         - 8th (S45=0) disables remote access.  
               When the reset button is pressed, remote access is enabled to 
               allow easier customer support from Telebit.  This is not the 
               case when the modem is originally shipped from the factory.  
               Remote access is not necessary for this application.
         - 9th (S55=3) sends the escape character to the remote DTE in sequence
               with the data stream. In Command Mode, it sends it immediately
               to the remote DTE.
         - 10th (S66=1) locks the interface speed to the speed set in
               register S51 (9600 baud).
         - 11th (Q6) silences the modem when an inbound call arrives.  
               This prevents getty battles between the RING result code and 
               getty's echo of the same.
         - 12th (&W) writes these new values into the EEPROM.
               This saves the new values as the modem's power on defaults from 
               now until you change them again.
         - 13th (<CR>) terminates the command to the modem.

   After this, when you want to talk directly to the modem, use "cu" 
   to talk at 9600 bps. Remember to disable tty2 to prevent getty from confusing
   your responses with a login.

   NOTE: If you want to prevent anyone from dialing IN at other than
         high speed (PEP mode), add "S50=255" to the above script to
         force the modem to use only PEP mode in dial IN.

4. ENABLE GETTY FOR DIALIN:

   Use "telinit q" to restart the getty described above in Step 1.

5. MODIFY /usr/lib/uucp/L-Devices: 
   This may be copied almost literally. Fill in the correct port #

   DIR tty2 tb 9600 direct
   ACU tty2 tb 9600 hayes

6. MODIFY /usr/lib/uucp/L.sys:  
   Don't copy this literally. Modify the info for your application.
   Also note that this is ONE line of data, not two.

   hostname Any ACU 9600 NNNNNNNNNN  ogin:--ogin: Uyoursysname ssword: XXXXXXXX

   NOTES:
   hostname     = THEIR System name
   NNNNNNNNNN   = THEIR System phone number
   Uyoursysname = Your UUCP account on THEIR machine
   XXXXXXXX     = Your UUCP passwd on THEIR machine


You should now be able to run UUCP between two machines attached to your
modems just as you always have with slower modems.  Enjoy the new world of
of high speed UUCP "g" via the Telebit TrailBlazer Plus.

       Richard Siegel
       Telebit Corporation
       Suite 200
       20410 Town Center Lane
       Cupertino, California 95014
       {ames, uunet, hoptoad, sun, dwon}!telebit!modems