[SUNOS] /etc/ttytab and mgetty configuration..

Udo Erdelhoff (udo@iml.fhg.de)
Mon, 7 Apr 1997 12:07:08 +0200


Ricardo Marek (ricky@ornet.co.il) wrote:
Hi,
: As far I know, in the file /etc/ttytab, there is no instance of the
: /dev/cua* devices but /etc/tty* devices.
the documentation contains a correct prototype of the entry, it looks
like this:

cua0	"/usr/local/mgetty/lib/mgetty"	unknown on remote

: Can someone help me on configuring the /etc/ttytab file, the
: mgetty.config file for SunOS 4.1.4
You can use the sample from the mgetty distribution, just make sure
that you use the cua-device (cua0 for serialA, cua1 for serialB).
You may have to create /dev/cua0 (or /dev/cua1). Unfortunately, it is
not possible to create them with /dev/MAKEDEV.sh, you'll have to do
it manually:
cd /dev
rm cua0 cua1
mknod cua0 c 12 128
mknod cua1 c 12 129

The "defaults" for ownership and permissions are uucp.tty and 0600,
I use root/modem and 0660. The group modem contains all the users who
are allowed to use the modem for dialout.

You may need to install the "tty jumbo patch" to make things work. This
patch may already be a part of SunOS 4.1.4, the documentation should
contain a list of patches incorporated into 4.1.4.

You may also want to check out Celeste Stokeley's tips on unix and serial
ports on www.stokely.com/stokely. Look for "Celeste's Tutorail on SunOS
4.1.X and modems". 

/s/Udo
-- 
I have the heart of an innocent child
- in a small jar beside my bed
.