7855-10 ASYNCHRONOUS ANSWER.

ITEM: RTA000042807



QUESTION:                                                                       
I have an rs/6000 at aix v3.2.5 and have a 7855-10 modem connected to           
s1 and want to be able to dial in to it asynchronously.  I have the             
port set to 9600, 8,N,1 and cannot even get the modem to answer an              
incoming call.  Can you give me the settings for the modem as they              
would be entered from the front panel?  I have tried many iterations            
and still cannot get it to work.                                                
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A:    I will append the document "Setting up the IBM 7855 Modem".               
This document contains helpful information for configuring                      
your RISC/6000 so that you are able to dial in and out of                       
the same port using a 7855-10 modem.                                            
                                                                                
  Setting Up the IBM 7855 Modem                                                
                                                                                
  ----------------------------------------------------------------              
  NOTE:  This document is provided as an aid by the Austin AIX                  
  Support Center.  If you need further assistance on non-                       
  defect issues, contact your local branch office or point of                   
  sale, or call 1-800-CALL-AIX for information about support                    
  offerings.  All of the above services may be billable.  Faxes                 
  on a variety of subjects may be ordered  from                                 
  1-800-IBM-4FAX.                                                               
                                                                                
  DISCLAIMER:  The information contained in this document is                    
  distributed "AS IS" without any warranties of any kind either                 
  expressed or implied.  IBM will not be responsible for any direct,            
  incidental, consequential, special or indirect damages.  IBM                  
  EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY AND              
  ANY IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.                     
                                                                                
  The use of this information or the implementation of any of                   
  these techniques is the sole responsibility of the customer and               
  depends on the customer's ability to evaluate and integrate this              
  information or implementation into the customer's operational                 
  environment.                                                                  
 ________________________________________________________________________       
                                                                                
   This document contains the following sections:                               
                                                                                
      Dial-In and Dial-Out                                                      
      TTY Settings in SMIT                                                      
      Systems File                                                              
      Devices File                                                             
      Dialers File                                                              
      Programming the 7855                                                      
      Setting RTS Line Discipline                                               
                                                                                
   In the following instructions, "tty0" is an example; substitute the          
   appropriate tty# for the tty to which the modem is attached.                 
                                                                                
Dial-In and Dial-Out                                                            
                                                                                
   To be used as a dial-in or dial-out modem on the RISC System/6000,           
   the 7855 modem must be set up to accept AT commands.                         
                                                                                
   To set up the modem to accept AT commands, simultaneously press the          
   right and left arrow keys on the front of the modem.  The front panel        
   should then read:                                                           
                                                                                
                                                                
                                                                                
   Press the right arrow to Enter, and then press the down arrow until          
   you see "First Setup".  Then press the right arrow once.  Press the          
   up arrow until you see "Asynchronous AT", then keep pressing the left        
   arrow to exit out of the setup menu.                                         
                                                                                
TTY Settings in SMIT                                                            
                                                                                
   Change the tty settings in smit by selecting Devices, TTY, and               
   Change/Show Characteristics of a TTY.  Then select the appropriate           
   tty for the modem, and make the following entries in the screen.             
                                                                                
   Note:  SMIT options which are not necessary are not included in the         
   following figure.                                                            
                                                                                
   -------------------------------------------------------------------          
      Type or select values in entry fields.                                    
      Press Enter AFTER making all desired changes.                             
                                                                                
     .TOP.                                              Entry Fields            
      TTY                                             tty0                      
      TTY type                                        tty                       
      TTY interface                                   rs232                     
      Description                                     Async Terminal            
      Status                                          Available                 
      Location                                        00-00-S1-00               
      Parent adapter                                  sa0                       
      PORT number                                     .s1 .            +       
      Enable LOGIN                                    share            +        
      BAUD rate                                      .19200.           +        
      PARITY                                         .none.            +        
      BITS per character                             .8.               +        
      Number of STOP BITS                            .1.               +        
      TIME BEFORE ADVANCING TO NEXT PORT SETTING     .0.              +#        
      XON-XOFF handshaking                            no               +        
      TERMINAL type                                  .dumb.                     
      INPUT map file                                 .none.            +        
      OUTPUT map file                                .none.            +        
      CODESET map file                               .sbcs.            +        
    STTY attributes for RUN TIME should be:                                     
      .hupcl,cread,brkint,icrnl,opost,tab3,onlcr,icanon,echo,echoe,             
       echok, echoctl,echoke,imaxbel,iexten.                                    
                                   (No ixon/ixoff needed)                      
                                                                                
    STTY attributes for LOGIN should be:    .hupcl,cread,echoe,cs8.             
                                   (No ixon/ixoff needed)                       
   -------------------------------------------------------------------          
                                                                                
Systems File                                                                    
                                                                                
   Add the following two lines to /usr/lib/uucp/Systems file.  Be sure          
   to start in the leftmost column.                                             
      ibm7855 Nvr IBMPROG 19200                                                 
      slip Nvr SLIPPROG 19200                                                   
                                                                                
Devices File                                                                    
                                                                                
 Add the following lines to /usr/lib/uucp/Devices file.  Be sure to            
 start in the leftmost column.                                                  
                                                                                
    IBMPROG tty0 - Any IBMProgrm                                                
    SLIPPROG tty0 - Any SlipProgrm                                              
                                                                                
    # Usual ACU entry                                                           
    ACU tty0 - Any ibm                                                          
                                                                                
    # ACU entry to quietly dial the modem.                                      
    ACUQ tty0 - Any ibmq                                                        
                                                                                
    # IBM7855 ACU entry to negotiate for error correction and compression       
    ACUECLC tty0 - Any ibmeclc                                                  
                                                                                
    # IBM7855 ACU entry to negotiate for error correction and compression      
    # using large (256 byte) data block size                                    
    ACUECLB tty0 - Any ibmeclclb                                                
                                                                                
    # IBM 7855 ACU entry to use ECL without compression                         
    ACUECL tty0 - Any ibmecl                                                    
Dialers File                                                                    
                                                                                
 Add the following lines to /usr/lib/uucp/Dialers file.  Be sure to             
 start in the leftmost column.                                                  
                                                                                
-------------------------------------------------------------------------       
                                                                                
# IBM 7855 program. Use ibmeclcbc for 256 byte block size.  However,            
# noisy lines may obtain better throughput by setting the block size to         
# be 64 bytes; compressed files will show better throughput by turning         
# off compression.                                                              
# The following 3 lines should be joined into one line:                         
IBMProgrm       =,-,    "" \dATQ0\r\c OK AT&F\r\c OK ATM1\r\c OK                
AT&D3\r\c OK AT&C1\R2\Q2\M14\r\c OK AT&B8N1L0E0\r\c OK ATS0=1\r\c               
OK ATQ1&W0&Y0\r\c ""                                                            
                                                                                
# IMPORTANT:                                                                    
# The following 3 lines should be joined into one line:                         
SlipProgrm      =,-,    "" \dATQ0\r\c OK AT&F\r\c OK ATM1\r\c OK                
AT&D3\r\c OK AT&C0\R2\Q2\r\c OK AT&B8N1L0E0\r\c OK                              
ATS0=1\r\c OK ATQ1&W\r\c ""                                                     
                                                                                
ibm     =,-,    "" \dATQ0\r\c OK ATDT\T\d\r\c CONNECT                           
ibmq    =,-,    "" \dATQ0\r\c OK ATM0DT\T\d\r\c CONNECT                         
                                                                               
#IBM 7855 with ECLC and Compression                                             
# (Note two backslashes are needed before the N; cu won't send \N               
# without preceding it with a \)                                                
ibmeclc =,-,    "" \dAT\\N3 C1Q0\r\c OK ATDT\T\d\r\c CONNECT                    
                                                                                
#IBM 7855 ECLC Compression with 256 byte block size                             
ibmeclclb       =,-,    "" \dAT\\N3 C1Q0\A3\r\c OK ATDT\T\d\r\c CONNECT         
                                                                                
# IBM 7855 ECL without compression                                              
ibmecl  =,-,    "" \dAT\\N3 C0Q0\r\c OK ATDT\T\d\r\c CONNECT                    
                                                                                
-----------------------------------------------------------------------         
                                                                                
Programming the 7855                                                            
                                                                               
   Pdisable the port (temporarily) with this command: "pdisable tty0".          
   On the command line enter "cu -d ibm7855".                                   
                                                                                
   The command will fail since we will not connect with anyone, but if          
   you see that the following in the output:                                    
                                                                                
      Sendthem (ATQ1&W0&Y0¬MNO CR)                                              
      expect: ("")                                                              
      got it                                                                    
                                                                                
   the modem is successfully programmed.  The LED on the front should           
   read                                                                         
                                                                                
      ASYN8N A  9600 a                                                          
   You can then enter "pshare tty0".                                           
                                                                                
Setting RTS Line Discipline                                                     
                                                                                
   After the modem is programmed, you can set RTS line disipline to             
   allow hardware flow control.  To do that, the modem must be connected        
   to another system (to bring carrier high) and this command must be run       
   (substitute tty0 with your tty number):                                      
                                                                                
      stty add rts < /dev/tty0                                                  
                                                                                
   This will be good until next reboot; then it will need to be done            
   again.                                                                       
                                                                                
   Alternately, you can type in and compile the following addrts.c              
   program, and place a line in /etc/rc which will call the program on         
   system startup to add RTS to the line.                                       
                                                                                
   This program does not require carrier to be high.                            
                                                                                
-------------------------------------------------------------------------       
                                                                                
/*             C Program to add RTS discipline to tty port(s).                  
                                                                                
   Tips:                                                                        
                                                                                
   To make the program more permanent, insert the file name of                  
   the compiled version (complete with path) at the end of your                 
   "/etc/rc" file and the changes will take effect again at next                
   program, and place a line in /etc/rc which will call the program on          
   system startup to add RTS to the line.                                      
                                                                                
   This program does not require carrier to be high.                            
                                                                                
-------------------------------------------------------------------------       
                                                                                
/*             C Program to add RTS discipline to tty port(s).                  
                                                                                
     Tips:                                                                      
                                                                                
     To make the program more permanent, insert the file name of                
     the compiled version (complete with path) at the end of your               
     "/etc/rc" file and the changes will take effect again at next              
     reboot.  Usage is "addrts /dev/tty##".                                     
                                                                                
     NOTE: This program is supplied "as is" and is NOT supported by            
           IBM.  It is intended as an aid to administrators only.               
 _______________________________________________________________________        
                                                                                
     To create:     vi addrts.c                                          
     To compile:    cc -o addrts  addrts.c                                      
 ___________________________________________________________________ */         
                                                                                
/*                         Program starts now                  */               
                                                                                
#include                                                               
#include                                                               
#include                                                             
#include                                                             
                                                                                
main (argc,argv)                                                               
      int argc;                                                                 
      char *argv..;                                                             
                                                                                
      int fd;                                                                   
      if ( (fd = open(argv.1., O_NDELAY|O_RDWR)) <0 ) {                         
              printf(" s: could not open  s\n",argv.0.,argv.1.);                
              exit (22);                                                        
              }                                                                 
      ioctl(fd, TXADDCD, "rts");  /* adds rts to the tty in the                 
argument */                                                                     
      close(fd);                                                                
                                                                                
                                                                                
-------------------------------------------------------------------------       
082192RAYSC                                                                    
END OF DOCUMENT                                                                 
                                                                                
Thank you.                                                                      
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q660141      CRRGZ                      
                                                                                
Additional search words:                                                        
ANSWER ASYNC ASYNCHRONOUS CRRGZ DEVICE HARDWARE IX JUN94 OZNEW                  
RISCADEV RISCSYSTEM 10 7855                                                     
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000042807 ITEM: RTA000042807
Dated: 06/1996 Category: RISCADEV
This HTML file was generated 99/06/24~12:43:17
Comments or suggestions? Contact us