|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U
Length: 9272 (0x2438) Types: TextFile Notes: Uncompressed file
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦8b810879f⟧ »EurOpenD3/network/modems/telebit/UNISYS.setup.Z« └─⟦this⟧
==================================================================== Telebit Corporation Revision 1.02 01 APRIL 1990 ==================================================================== SETUP INSTRUCTIONS FOR TELEBIT MODEMS AND THE UNISYS S5000/50 The following examples should allow easy initialization of a TELEBIT modem for use with UUCP on a Unisys Model S5000/50 computer. It should also work will little or no modification on other Unisys systems running Unix V1.03 or earlier. Unisys releases may incorporate HoneyDanBer UUCP, so refer to the UNIX.setup configuration guide if this is required. 1. MODIFY /etc/inittab: This will set port ttya to enable modem operation at 9600 bps. ta:1:respawn:/etc/getty ttya 9600n1 ----NOTE: change "respawn" to "off" if you are dialing out. Use "ps -ale" to find the getty for ttya, "kill -9" the getty. If you need to go back to dialin, replace "off" with "respawn", then execute a "telinit q" to restart the getty. Also set ownership of /dev/ttya to uucp with the commands below: chown uucp /dev/ttya chgrp uucp /dev/ttya NOTE: It is highly recommended that TELEBIT modems be connected to the serial I/O ports most closely attached to the cpu. Use of serial I/O multiplexors may limit modem speed to 9600 bps or lower due to flow control, cpu/bus interrupt, or memory buffer problems. 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): 9600n1 # B9600 CS8 ECHO IXON HUPCL # B9600 HUPCL IXON TAB3 BRKINT OPOST ONCLR CS8 ISIG ICANON ECHO #login: #9600n1 --- save the file. The use of a rotary or autobaud in getty is not recommended due to the modems ability to lock interface speed (S66=1). The modem can then arbitrate a slow modem connection to the hard-set interface speed without the need for interface speed matching. If a rotary/autobaud getty is used, don't forget to set your getty to include 19200 in its cycle. You may have it trying 19200 first and moving to 2400 on the 1st receipt of a break and to 1200 on the second receipt of break. The order of the cycle is not important so long as the calling system knows to send breaks until it sees the login sequence. \f 3. MODIFY /usr/lib/uucp/L-devices: This may be copied literally. Add this to your file. DIR ttya 0 9600 4. CHECK YOUR MODEM CABLE: The Unisys uses a strange 15-pin D-type connector. The wiring for this cable is non-standard, and is presented below: 15-pin D-type Signal Name 25-pin D-type (Male) ====================================================== 1 Transmit Data 2 2 Request to Send 4 3 Data Set Ready 6 4 Data Term Ready 20 9 Receive Data 3 10 Clear to Send 5 11 Signal Ground 7 12 Carrier Detect 8 ====================================================== \f 5. CONFIGURE MODEM SETTINGS: In order to configure your TELEBIT modem correctly, it is best to start by resetting the modem to factory settings. Please consult your TELEBIT modem reference manual for the proper modem resetting procedure. With the modem now reset, tip to the modem (use "cu" to talk at 9600 bps) and configure it with command string below that is appropriate for your application, either outgoing, or incoming: OUTGOING MODEM CONFIGURATION: AT &F S51=4 S52=2 S53=0 S58=3 S110=1 S111=30 S66=1 Q6 E1 &W <CR> INCOMING MODEM CONFIGURATION: AT &F S51=4 S52=2 S53=2 S58=3 S110=1 S111=30 S45=0 Q6 E0 &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 Unisys 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 (S53=0) DSR is ON when the modem is ready to accept commands, and DCD is always ON. OR - 4th (S53=2) DSR is ON only when DCD is ON; DCD is ON when carrier is detected. NOTE: S53 maps to registers S130 and S131 in Release B_5.00, GA1.00, FA2.00, and above firmware. If S53 is not present in your modem firmware, be assured that its settings will map to the proper registers. - 5th (S58=3) enables XON/XOFF flow control for non-UUCP use. The UUCP protocol support handles flow control during file xfrs. - 6th (S110=1) enables data compression between TELEBIT modems. If desired, S110=0 will disable this feature. - 7th (S111=30) enables UUCP "g" protocol support in the TELEBIT modem. - 8th (S45=0) disables remote access. When the modem is reset, 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 (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. - 10th (E0) turns off echo for inbound calls. When outdialing, the chat script turns it on for feedback. - 11th (&W) writes these new values into the current EEPROM bank (1/2). This saves the new values as the modem's power on defaults, for either bank A or B, until you change them again. - 12th (<CR>) terminates the command to the modem. \f After this, when you want to talk directly to the modem, use "cu" to talk at 9600 bps. Remember to disable ttya to prevent getty from confusing your responses with a login. NOTES: (1) S58 sets the type of flow control to be used by the modems serial I/O port. It is highly recommended that RTS/CTS (hardware) flow control (S58=2) be used whenever possible. Please consult your systems manuals for instructions on proper software and hardware configurations for RTS/CTS flow control. Some hardware systems or operating systems may not be capable of this function. (2) S92 governs the sequence of modulation tones issued upon auto answer. To reverse the answering sequence, set S92=1, this will solve any "slow modem" connection problems caused by the issuance of PEP tones. ALL incoming PEP modems should have S50=255 set to connect using PEP. (3) If you would like to limit dialin/dialout connection access to high-speed (PEP mode), add "S50=255" to the above script to force the modem to use only the PEP mode. To allow dial OUT to slower speed modems, modify the L.sys script to: hostname Any ttya 9600 ttya "" ATE1S50=0\r OK ATDTNNNNNNNNNN\r gin:--ogin: Uyoursysname ssword: XXXXXXXX \f 6. ENABLE GETTY FOR DIALIN: Use "telinit q" and "respawn" in /etc/inittab to restart the getty as described above in Step 1. 7. 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 ttya 9600 ttya "" ATE1\r OK ATDTNNNNNNNNNN\r gin:--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 The "chat" script is the most common point of wasted connection time and login failure. Be sure to test this entry rigorously to verify a successful login in the fastest time possible. 8. TEST UUCP: UUCP can now be tested by issuing the following command. /usr/lib/uucp/uucico -r1 -x4 -shostname Upon success or failure of the UUCP session, the status file must be removed before another UUCP session can be started with the above command. rm /usr/spool/uucp/STST.hostname 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 high speed UUCP "g" via TELEBIT modems. Michael Ballard/Cerafin E. Castillo Telebit Corporation 1315 Chesapeake Terrace Sunnyvale, CA 94089 1-800-TELEBIT UUCP: {ames, uunet, sun, pyramid, decwrl}!telebit!modems INTERNET: modems@telebit.com