[16002] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: sun4 8.1.18: modem/kermit

daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Sun Jun 28 19:53:22 1998

Date: Sun, 28 Jun 1998 19:53:20 -0400 (EDT)
To: "Roger A. Roach" <rar@MIT.EDU>
Cc: Greg Hudson <ghudson@MIT.EDU>, "Roger A. Roach" <rar@MIT.EDU>,
        bugs@MIT.EDU
In-Reply-To: "[16000] in Athena Bugs"
From: Jonathon Weiss <jweiss@MIT.EDU>


> > It's unfortunate that you can only run kermit from the modem locker as
> > root, because of its UUCP locking support (the /var/spool/locks
> > problem).  I'm not sure if it's wise to disable UUCP locking or not.
> > I'm also not sure what our behavior is under 8.2, where kermit is
> > actually built as part of the release.

The behavior is the same in 8.2.  Instead of disabling UUCP locking,
what do we have to do to make it work correctly?  Maybe create the dir
and use setuid or setgid?

> I don't think the set line failed.  I don't know how the error message gets
> generated.  This is what I got by going to su mode before invoking kermit.
> Note the line and buad rate were set. 
> Roger

> rar# kermit -l /dev/term/a -b 19200
> Sorry, can't open connection: No such file or directory
> /dev/tty00: ?Sorry, you must 'set line' first

I suspect the problem here is that either you or root or both have a
~/.kermrc that has some configurations left over from when rar.mit.edu
was a DECstation.

> BTW, what would I do to allow term/a to be used as a console port,
> e.g. to be able to login to it?

For the DECstation mkserv modem would enable this.  Unfortunately
that's never been set up for the sun.  However I have set up somethign
like this on one of my suns, so I can tell you how I did that.  I
added a line that looks a lot like the foolowing to /etc/inittab:

sa:234:respawn:/usr/lib/saf/ttymon -g -h -p "\\n\\nMIT Athena on `uname -n` (`uname -rs`)\\n\\nlogin: " -T vt100 -d /dev/term/a -l console -m ldterm,ttcompat

The only problem with this is that version updates will remove this
change.  To get around that problem, I added something like the
following to /ver/server/.private (with is a script that mkserv runs
whenever it is invoked):

(grep "^sa" /etc/inittab  >> /dev/null || \
        echo 'sa:234:respawn:/usr/lib/saf/ttymon -g -h -p "\\n\\nMIT Athena on `uname -n` (`uname -rs`)\\n\\nlogin: " -T vt100 -d /dev/term/a -l console -m ldterm,ttcompat' >> /etc/inittab )


	Jonathon

home help back first fref pref prev next nref lref last post