Alm-2 on Sun 490
Steven Sakata
steven at uhccux.uhcc.hawaii.edu
Sun Dec 9 09:07:00 AEST 1990
SYSTEM:
SPARCserver 490 running SunOS 4.1 PSR.
OUR GOAL:
What we want here at the University is to allow the users to dial up and
connect to our Sun machines. They will connect to the Gandalf Starmaster
(which is a data switch; a fancy terminal server) which will connect them
to a Sun 490 via the ALM-2 boards.
PROBLEM:
The above set up works well with speeds 4800 and below. However, when we
use 9600, there is a slight difference. The following is an explanation
of the difference:
When connecting to the Starmaster, it gives an "enter class" prompt. When
the correct class is entered, there is a short delay while the connection
is being made with the Sun via the alm-2 port. Once the connection is
made, the "login:" prompt is displayed and the user can go through the
normal login procedure. When the baud rate is set to 4800 and below, the
user can hit many returns after entering the class, and it will work.
However, at 9600 baud, the user can hit return only once after typing in
the class, and then he must wait for the "login:" prompt. If he hits
another return, then garbage is displayed and the user never gets to the
"login:" prompt. This might seem minor, but it brings up two problems:
1) It is an inconsistency.
2) Many users are impatient (I for one), and they are always tempted to
continuosly hit returns after there is no response from an entry.
WHAT WE DID:
The following are the steps that were taken to get the terminal hooked up
to the ALM-2 boards:
1. The Sun SE Installed the ALM-2 Boards.
2. I changed the kernel's entry for the device mcp0-mcp3 so that the flags
were set to 0's (to set the hardware carrier detect). The kernel file is
attached below. Remade the kernel, and rebooted the system with the new
kernel.
3. I created the /dev entries with the "MAKEDEV mcp0 mcp1" command.
4. I added the /etc/ttytab entries for /dev/ttyh0-/dev/ttyif. The
/etc/ttytab is attached below. Ran "kill -HUP 1" to reset init and start
the "gettys".
5. I changed the /etc/gettytab default entry to use 8-bit No parity. The
7-bit any parity didn't work.
Has anyone done a similar set up? Have I done the correct things? Any
ideas? Any suggestions would be greatly appreciated. Thanks, Steven
(UHCC).
The following is the /etc/ttytab and /etc/gettytab files:
THE /etc/ttytab FILE:
---------------------------------------------------------------------------
#
# @(#)ttytab 1.6 89/12/19 SMI
#
# name getty type status comments
#
console "/usr/etc/getty std.9600" sun on local secure
ttya "/usr/etc/getty std.9600" unknown off local secure
ttyb "/usr/etc/getty std.9600" unknown on local secure
ttyh0 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh1 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh2 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh3 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh4 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh5 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh6 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh7 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh8 "/usr/etc/getty Auto-baud" vt100 on modem
ttyh9 "/usr/etc/getty Auto-baud" vt100 on modem
ttyha "/usr/etc/getty Auto-baud" vt100 on modem
ttyhb "/usr/etc/getty Auto-baud" vt100 on modem
ttyhc "/usr/etc/getty Auto-baud" vt100 on modem
ttyhd "/usr/etc/getty Auto-baud" vt100 on modem
ttyhe "/usr/etc/getty Auto-baud" vt100 on modem
ttyhf "/usr/etc/getty Auto-baud" vt100 on modem
ttyi0 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi1 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi2 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi3 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi4 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi5 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi6 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi7 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi8 "/usr/etc/getty Auto-baud" vt100 on modem
ttyi9 "/usr/etc/getty Auto-baud" vt100 on modem
ttyia "/usr/etc/getty Auto-baud" vt100 on modem
ttyib "/usr/etc/getty Auto-baud" vt100 on modem
ttyic "/usr/etc/getty Auto-baud" vt100 on modem
ttyid "/usr/etc/getty Auto-baud" vt100 on modem
ttyie "/usr/etc/getty Auto-baud" vt100 on modem
ttyif "/usr/etc/getty Auto-baud" vt100 on modem
tty00 "/usr/etc/getty std.9600" unknown off local secure
tty01 "/usr/etc/getty std.9600" unknown off local secure
tty02 "/usr/etc/getty std.9600" unknown off local secure
tty03 "/usr/etc/getty std.9600" unknown off local secure
tty04 "/usr/etc/getty std.9600" unknown off local secure
tty05 "/usr/etc/getty std.9600" unknown off local secure
tty06 "/usr/etc/getty std.9600" unknown off local secure
tty07 "/usr/etc/getty std.9600" unknown off local secure
tty08 "/usr/etc/getty std.9600" unknown off local secure
tty09 "/usr/etc/getty std.9600" unknown off local secure
tty0a "/usr/etc/getty std.9600" unknown off local secure
tty0b "/usr/etc/getty std.9600" unknown off local secure
tty0c "/usr/etc/getty std.9600" unknown off local secure
tty0d "/usr/etc/getty std.9600" unknown off local secure
tty0e "/usr/etc/getty std.9600" unknown off local secure
tty0f "/usr/etc/getty std.9600" unknown off local secure
ttyp0 none network off secure
ttyp1 none network off secure
ttyp2 none network off secure
ttyp3 none network off secure
ttyp4 none network off secure
ttyp5 none network off secure
ttyp6 none network off secure
ttyp7 none network off secure
ttyp8 none network off secure
ttyp9 none network off secure
ttypa none network off secure
ttypb none network off secure
ttypc none network off secure
ttypd none network off secure
ttype none network off secure
ttypf none network off secure
ttyq0 none network off secure
ttyq1 none network off secure
ttyq2 none network off secure
ttyq3 none network off secure
ttyq4 none network off secure
ttyq5 none network off secure
ttyq6 none network off secure
ttyq7 none network off secure
ttyq8 none network off secure
ttyq9 none network off secure
ttyqa none network off secure
ttyqb none network off secure
ttyqc none network off secure
ttyqd none network off secure
ttyqe none network off secure
ttyqf none network off secure
ttyr0 none network off secure
ttyr1 none network off secure
ttyr2 none network off secure
ttyr3 none network off secure
ttyr4 none network off secure
ttyr5 none network off secure
ttyr6 none network off secure
ttyr7 none network off secure
ttyr8 none network off secure
ttyr9 none network off secure
ttyra none network off secure
ttyrb none network off secure
ttyrc none network off secure
ttyrd none network off secure
ttyre none network off secure
ttyrf none network off secure
ttys0 none network off secure
ttys1 none network off secure
ttys2 none network off secure
ttys3 none network off secure
ttys4 none network off secure
ttys5 none network off secure
ttys6 none network off secure
ttys7 none network off secure
ttys8 none network off secure
ttys9 none network off secure
ttysa none network off secure
ttysb none network off secure
ttysc none network off secure
ttysd none network off secure
ttyse none network off secure
ttysf none network off secure
ttyt0 none network off secure
ttyt1 none network off secure
ttyt2 none network off secure
ttyt3 none network off secure
ttyt4 none network off secure
ttyt5 none network off secure
ttyt6 none network off secure
ttyt7 none network off secure
ttyt8 none network off secure
ttyt9 none network off secure
ttyta none network off secure
ttytb none network off secure
ttytc none network off secure
ttytd none network off secure
ttyte none network off secure
ttytf none network off secure
ttyu0 none network off secure
ttyu1 none network off secure
ttyu2 none network off secure
ttyu3 none network off secure
ttyu4 none network off secure
ttyu5 none network off secure
ttyu6 none network off secure
ttyu7 none network off secure
ttyu8 none network off secure
ttyu9 none network off secure
ttyua none network off secure
ttyub none network off secure
ttyuc none network off secure
ttyud none network off secure
ttyue none network off secure
ttyuf none network off secure
ttyv0 none network off secure
ttyv1 none network off secure
ttyv2 none network off secure
ttyv3 none network off secure
ttyv4 none network off secure
ttyv5 none network off secure
ttyv6 none network off secure
ttyv7 none network off secure
ttyv8 none network off secure
ttyv9 none network off secure
ttyva none network off secure
ttyvb none network off secure
ttyvc none network off secure
ttyvd none network off secure
ttyve none network off secure
ttyvf none network off secure
ttyw0 none network off secure
ttyw1 none network off secure
ttyw2 none network off secure
ttyw3 none network off secure
ttyw4 none network off secure
ttyw5 none network off secure
ttyw6 none network off secure
ttyw7 none network off secure
ttyw8 none network off secure
ttyw9 none network off secure
ttywa none network off secure
ttywb none network off secure
ttywc none network off secure
ttywd none network off secure
ttywe none network off secure
ttywf none network off secure
ttyx0 none network off secure
ttyx1 none network off secure
ttyx2 none network off secure
ttyx3 none network off secure
ttyx4 none network off secure
ttyx5 none network off secure
ttyx6 none network off secure
ttyx7 none network off secure
ttyx8 none network off secure
ttyx9 none network off secure
ttyxa none network off secure
ttyxb none network off secure
ttyxc none network off secure
ttyxd none network off secure
ttyxe none network off secure
ttyxf none network off secure
ttyy0 none network off secure
ttyy1 none network off secure
ttyy2 none network off secure
ttyy3 none network off secure
ttyy4 none network off secure
ttyy5 none network off secure
ttyy6 none network off secure
ttyy7 none network off secure
ttyy8 none network off secure
ttyy9 none network off secure
ttyya none network off secure
ttyyb none network off secure
ttyyc none network off secure
ttyyd none network off secure
ttyye none network off secure
ttyyf none network off secure
ttyz0 none network off secure
ttyz1 none network off secure
ttyz2 none network off secure
ttyz3 none network off secure
ttyz4 none network off secure
ttyz5 none network off secure
ttyz6 none network off secure
ttyz7 none network off secure
ttyz8 none network off secure
ttyz9 none network off secure
ttyza none network off secure
ttyzb none network off secure
ttyzc none network off secure
ttyzd none network off secure
ttyze none network off secure
ttyzf none network off secure
ttyP0 none network off secure
ttyP1 none network off secure
ttyP2 none network off secure
ttyP3 none network off secure
ttyP4 none network off secure
ttyP5 none network off secure
ttyP6 none network off secure
ttyP7 none network off secure
ttyP8 none network off secure
ttyP9 none network off secure
ttyPa none network off secure
ttyPb none network off secure
ttyPc none network off secure
ttyPd none network off secure
ttyPe none network off secure
ttyPf none network off secure
ttyQ0 none network off secure
ttyQ1 none network off secure
ttyQ2 none network off secure
ttyQ3 none network off secure
ttyQ4 none network off secure
ttyQ5 none network off secure
ttyQ6 none network off secure
ttyQ7 none network off secure
ttyQ8 none network off secure
ttyQ9 none network off secure
ttyQa none network off secure
ttyQb none network off secure
ttyQc none network off secure
ttyQd none network off secure
ttyQe none network off secure
ttyQf none network off secure
ttyR0 none network off secure
ttyR1 none network off secure
ttyR2 none network off secure
ttyR3 none network off secure
ttyR4 none network off secure
ttyR5 none network off secure
ttyR6 none network off secure
ttyR7 none network off secure
ttyR8 none network off secure
ttyR9 none network off secure
ttyRa none network off secure
ttyRb none network off secure
ttyRc none network off secure
ttyRd none network off secure
ttyRe none network off secure
ttyRf none network off secure
ttyS0 none network off secure
ttyS1 none network off secure
ttyS2 none network off secure
ttyS3 none network off secure
ttyS4 none network off secure
ttyS5 none network off secure
ttyS6 none network off secure
ttyS7 none network off secure
ttyS8 none network off secure
ttyS9 none network off secure
ttySa none network off secure
ttySb none network off secure
ttySc none network off secure
ttySd none network off secure
ttySe none network off secure
ttySf none network off secure
ttyT0 none network off secure
ttyT1 none network off secure
ttyT2 none network off secure
ttyT3 none network off secure
ttyT4 none network off secure
ttyT5 none network off secure
ttyT6 none network off secure
ttyT7 none network off secure
ttyT8 none network off secure
ttyT9 none network off secure
ttyTa none network off secure
ttyTb none network off secure
ttyTc none network off secure
ttyTd none network off secure
ttyTe none network off secure
ttyTf none network off secure
-----------------------------------------------------------------------------
THE /etc/gettytab FILE:
-----------------------------------------------------------------------------
#
# @(#)gettytab 1.9 89/09/29 SMI; from UCB 5.7 2/16/86
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
# Most of the table entries here are just copies of the
# old getty table, it is by no means certain, or even likely,
# then any of them are optimal for any purpose whatever.
# Nor is it likely that more than a couple are even correct
#
#
# The default gettytab entry, used to set defaults for all other
# entries, and in cases where getty is called with no table name
#
# [JEFF] Modified to try to get the Starmaster terminals working
#
default:\
:fd#1000:im=\r\n\r\n\
SunOS UNIX (uhunix2 - async) \
\r\n\r\n:\
:p8:sp#1200:
# :ap:lm=\r\n%h login\72 :sp#9600:
#
# Fixed speed entries
#
# The "std.NNN" names are known to the special case
# portselector code in getty, however they can
# be assigned to any table desired.
# The "NNN-baud" names are known to the special case
# autobaud code in getty, and likewise can
# be assigned to any table desired (hopefully the same speed).
#
a|std.110|110-baud:\
:nd#1:cd#1:uc:sp#110:
b|std.134|134.5-baud:\
:ep:nd#1:cd#2:fd#1:td#1:sp#134:ht:nl:
1|std.150|150-baud:\
:ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
c|std.300|300-baud:\
:nd#1:cd#1:sp#300:
d|std.600|600-baud:\
:nd#1:cd#1:sp#600:
f|std.1200|1200-baud:\
:fd#1:sp#1200:
6|std.2400|2400-baud:\
:sp#2400:ht:
7|std.4800|4800-baud:\
:sp#4800:ht:
2|std.9600|9600-baud:\
:sp#9600:
g|std.19200|19200-baud:\
:sp#19200:
h|std.38400|38400-baud:\
:sp#38400:
#
# Dial in rotary tables, speed selection via 'break'
#
0|d300|Dial-300:\
:nx=d1200:cd#2:sp#300:
d1200|Dial-1200:\
:nx=d150:fd#1:sp#1200:
d150|Dial-150:\
:nx=d110:lm@:tc=150-baud:
d110|Dial-110:\
:nx=d300:tc=300-baud:
#
# Odd special case terminals
#
-|tty33|asr33|Pity the poor user of this beast:\
:tc=110-baud:
4|Console|Console Decwriter II:\
:co:nd@:cd@:rw:tc=300-baud:
e|Console-1200|Console Decwriter III:\
:fd@:nd@:cd@:rw:tc=1200-baud:
i|Interdata console:\
:uc:sp#0:
l|lsi chess terminal:\
:sp#300:
X|Xwindow|X window system:\
:fd@:nd@:cd@:rw:sp#9600:
#
# Fast dialup terminals, 2400/1200/300 rotary (can start either way)
#
D2400|Fast-Dial-2400:\
:nx=D1200:tc=2400-baud:
3|D1200|Fast-Dial-1200:\
:nx=D300:fd@:tc=1200-baud:
5|D300|Fast-Dial-300:\
:nx=D2400:tc=300-baud:
#
# Wierdo special case for fast crt's with hardcopy devices
#
8|T9600|CRT with hardcopy:\
:nx=T300:tc=9600-baud:
9|T300|CRT with hardcopy (300):\
:nx=T9600:tc=300-baud:
#
# Plugboard, and misc other terminals
#
p|P9600|Plugboard-9600:\
:nx=P300:tc=9600-baud:
q|P300|Plugboard-300:\
:nx=P1200:tc=300-baud:
r|P1200|Plugboard-1200:\
:nx=P9600:tc=1200-baud:
#
# XXXX Port selector
#
s|DSW|Port Selector:\
:ps:sp#2400:
#
# Auto-baud speed detect entry for Micom 600.
# Special code in getty will switch this out
# to one of the NNN-baud entries.
#
A|Auto-baud:\
:ab:sp#2400:f0#040:
------------------------------------------------------------
Steven Sakata (University of Hawaii Computing Center)
Internet: steven at uhccux.uhcc.Hawaii.Edu
BITNET: steven at uhccux.BITNET
More information about the Comp.sys.sun
mailing list