Path: utzoo!attcan!uunet!eda!jim From: jim@eda.com (Jim Budler) Newsgroups: comp.dcom.modems Subject: Telebit Setup script Message-ID: <260@eda.com> Date: 1 Nov 88 02:21:05 GMT Reply-To: jim@eda.com (Jim Budler) Organization: EDA Systems,Inc. Santa Clara, CA Lines: 72 Here's the script I use to configure my Telebit TB+. It's based on an earlier posting whiched used 'cu' scripts. My version of 'cu' couldn't hack it. Some other variations are based on a How To Technote from Telebit. I still wonder about that "no flow control" statement below, but they oughta know. #! /bin/sh # $Header: /files/home/staff/jim/etc/RCS/tbreset,v 1.2 88/10/18 15:48:29 jim Exp Locker: jim $ # speed=19200 remote=disabled case "$1" in -9600) speed=9600 # The -9600 option is # for those times when it has to be manually reset first # the phone numbers will not be set, run it a second time without # the -9600 option ;; "") ;; *) echo "usage: `basename $0` args..." exit 1;; esac (stty $speed -echo sleep 2 echo "at&fs7=100s51=5s52=2s54=3s110=1s111=30s45=255s58=0s53=3s66=1q6x0m0&w1" # # (&F) recalls factory defaults (start with known configuration). # (S7=100) longer wait for carrier. Too many dropped lines # (S51=5) sets the serial port to 19200 bps. # (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). # (S54=3) says pass BREAKs through the modem transparently. # (S110=1) enables data compression between TrailBlazers. # If desired, S110=0 will disable this feature. # (S111=30) enables UUCP "g" protocol support in the TrailBlazer. # (S45=0) disables remote access. # (S58=0) disables flow control. # The UUCP protocol support handles flow control instead. # (S53=3) sets DSR "ON" when modem is off-hook. # It also sets DCD "ON" when carrier is detected. # (S66=1) locks the interface speed. # (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. # (M0) Turns off speaker # (&W1) writes these new values into the EEPROM, configuration A) # This saves the new values as the modem's power on defaults from # now until you change them again. sleep 2 echo "atn2=xxxxxxxxxx\\decwrlfast\\" sleep 1 echo "atn3=xxxxxxxxxx\\decwrlslow\\" sleep 1 echo "atn4=xxxxxxxxxx\\uunet\\" sleep 1 echo "atn5=xxxxxxxxxx\\uunetld\\" sleep 1 # add additional phone numbers here, as desired echo "at&w1" # (W1) writes phone numbers into EEPROM. sleep 1 echo "atm1&w2" # (M1) turns speaker on. # (&W2) writes everything into EEPROM configuration B. # This last in effect makes the A/B switch a speaker switch. ) /dev/cua0 -- uucp: {decwrl,uunet}!eda!jim Jim Budler internet: jim@eda.com EDA Systems, Inc.