Dialin/out mgetty in IRIX 6.5

Gert Doering (gert@greenie.muc.de)
Sat, 8 May 1999 12:49:58 +0200


Hi,

On Sat, May 08, 1999 at 12:12:18PM +0200, Marco Masotti wrote:
> > (I'm copying the mgetty list on this - there are IRIX users out there)
> 
> Hello.
> Thanks for you reply.
> 
> Here below more information about my setup.
> 
> The program for dial out is either /usr/etc/ppp or /usr/bin/cu, so not
> self-compiled ones.
> 
> In fact, Irix should be SVR4, so it positevely  should use the
> LK.<device major>.<device minor>.<inode number> filename construction for
> the locks.
> 
> Unfortunately, and that probably is the focus of the problem, from the man
> page of the cu/ppp command I got:
> 
> FILES
>      /etc/uucp/Systems
>      /etc/uucp/Devices
>      /var/spool/locks/LCK..(tty-device)

Yup.  Seems like IRIX isn't consistently SVR4.  (I am not very surprised).

[..]
> I've tried to recompile without the -Dsgi or changing it to -DSVR3, but the
> behaviour is still the same, that I say again below:

Please go into mgetty's "locks.c".  There are two places that read 

#ifdef SVR4

change both of them to

#if defined(SVR4) && ! defined(sgi)

and try again.

> While in waiting for a call state, dialin out happens to produce characters
> on the line, fact that in turn misleads mgetty to believe that a call is
> incoming (it actually waits for a RING that never comes), until it times out
> claiming junk on the line.

No need to explain that again :-) - this is what MUST happen if the lock
files mismatch, and I've seen it a few hundred times by now.

> Also, I've tried to subscribe to the mgetty@muc.de list, but with no success
> - the mailer daemon replies that only the fc-bayern and linux-ha lists are
> defined on the server. Thanks for this help as well!

Don't write to majordomo@muc.de, write to mgetty-request@muc.de, as the
documentation says.  If that doesn't work, forward to me what you got.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de