Summary of Autobaud question.

From: J. Craig Manning (manning@opus.nas.nasa.gov)
Date: Mon Oct 01 1990 - 05:38:12 CDT


  Thanks to all those who repied. This list comes through again.

    Anyway, my orginal guestion was if anybody had gotten autobaud
  to work on the SS1. Some people have gotten it to work and others
  have had problems. I even got a message saying it was a known
  bug ( ID #1034298 ) that was reported over a year ago. However,
  I did get it to work. I set things up it the following way, as suggested
  by Jose Navarro. This allows the user to send a <break> to step through
  the different baud rates.

/etc/ttytab:
------------
# name getty type status
ttya "/usr/etc/getty dial1200" dialup on

/etc/gettytab:
--------------
# 9600 - 2400 - 1200 - 9600
-|S9600|dial9600:\
        :fd#1:sp#9600:to#60:cb:ce:ck:\
        :nx=S2400:
-|S2400|dial2400:\
        :fd#1:sp#2400:to#60:cb:ce:ck:\
        :nx=S1200:
-|S1200|dial1200:\
        :fd#1:sp#1200:to#60:cb:ce:ck:\
        :nx=S9600:

eeprom
------
ttya-mode=9600,8,n,1,-
ttya-rts-dtr-off=false
ttya-ignore-cd=false

   I also got an interesting setup from Randy Holt. It allows dial-outs at 9600
 and dial-in at 9600 on the same port. It is as follows.

Try this info:
made these changes in the /dev directory:

mknod cua1 c 12 129 - using ttyb to dial out
ln -s /dev/ttyb /dev/ttyd1 - usind ttyb to dial in

(as suggested by Pekka Nikander)

added this entry to /etc/ttytab
ttyd1 "/usr/etc/getty D9600" vt100 on

added this entry to /etc/gettytab
D9600|Fast-Dial-9600:\
        :nx=D2400:tc=9600-baud:

eeprom shows the following
ttyb-mode=9600,8,n,1,-
ttyb-rts-dtr-off=false
ttyb-ignore-cd=false

the /etc/remote files includes
cua1:dv=/dev/cua1:br#9600

This entry appears in a ps -ax listing
 3665 ? IW 0:00 - D9600 ttyd1 (getty)

This configuration allows dial-out at 9600B and dial-in at 9600B, if the
dial-in modem is less than 9600, there is a step down to lower baud rate.

                   Again thanks to everyone,
                        Craig

----------------------------------------------------------------
J. Craig Manning (415) 604-4429
System Administrator for CSC manning@nas.nasa.gov
on site at NASA Ames Research Center
Moffet Field, Ca



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:05:58 CDT