Mike's PBX Cookbook

Configuring Pseudo TTY's (PTY's)

To enable network login access to the Call Server, either via putty or rlogin, you'll need to have some Pseudo TTY's.
It's recommended to build a few, say three, incase one locks up.

Configure a Pseudo TTY in LD 17 - ADAN: CTYP = PTY and USER = SCH MTC BUG

Configure 3 PTY (TTY) ports:

Print the ADAN block in LD 22 to check what is available, we need to note the TTY and DNUM numbers:

    >ld 22

    REQ  prt
    TYPE adan tty
    ADAN     TTY 0 
      CTYP QSDI 
      GRP  
      DNUM 0 
      DES  
      FLOW NO  
      USER MTC OSN 
      XSM  YES 
      TTYLOG       0 
      BANR YES 
    ADAN     TTY 1 
      CTYP QSDI 
      GRP  
      DNUM 1 
      DES  
      FLOW NO  
      USER MTC TRF SCH BUG OSN 
      XSM  NO  
      TTYLOG       0 
      BANR YES 
    ADAN     TTY 2 
      CTYP QSDI 
      GRP  
      DNUM 2 
      DES  
      FLOW NO  
      USER MTC TRF SCH BUG OSN 
      XSM  NO  
      TTYLOG       0 
      BANR YES 

Configure the new PTY ports, starting at a vacant TTY number, incrementing TTY, PORT, and DNUM numbers as you go.

If you are building a 5.5 or newer system, delete the TTY's with CTYP QSDI (upto four), and rebuild them as PTY's. DNUM will automatically increment as you build them. The QSDI (Quad Serial Data) card is not longer supported, but the legacy TTY's still linger in the default customer database.

    >ld 17
                  
    REQ  chg
    TYPE adan
    ADAN new tty 3
    CTYP pty
    PORT 1
    DNUM 03
    DES  ELAN
    FLOW 
    USER mtc bug sch
    TTY
    LOG 
    BANR 

    ADAN new tty 4
    CTYP pty
    PORT 2
    DNUM 04 
    DES  ELAN2
    FLOW 
    USER mtc bug sch
    TTY
    LOG 
    BANR 

    ADAN new tty 5
    CTYP pty
    PORT 3
    DNUM 05 
    DES  ELAN3
    FLOW 
    USER mtc bug sch
    TTY
    LOG 
    BANR 
    
    ADAN (press return twice to exit...)

Home » Meridian » Admin » Makepty