[2836] in linux-net channel archive
Re: co-existance of pppd and mgetty ?
daemon@ATHENA.MIT.EDU (Chris Bagwell)
Thu May 9 00:42:18 1996
Date: Tue, 7 May 96 13:10:10 CDT
From: cbagwell@rockdal.aud.alcatel.com (Chris Bagwell)
To: linux-ppp@vger.rutgers.edu, linux-net@vger.rutgers.edu,
ajcurtis@westworld.com
By default, they are both attempting to put a lock file in two different locations
so mgetty never see's pppd using the modem and so it hangs it up and resets.
This is from memory since I'm not at home but mgetty places it at
/var/spool/uucp/LCK..?? and ppd places it at /var/lock/LCK..??
You can either change mgetty's config files or a file in pppd and recompile.
I did it in pppd since I already had mgetty set up. The file in pppd
is "sys-linux.c". Change the line with /var/lock/LCK to /var/spool/uucp/LCK
and then recompile.
It would be nice if the location of the locking string was mentioned in the
pppd documention (I've never seen it but I didn't look real hard).
Hope it helps,
Chris
> 1) Added mgetty to my inittab file:
>
> d2:45:respawn:/usr/local/sbin/mgetty -x 3 -D ttyS1
>
> 2) When I attempt to use pppd it dials the phone but it appears to loose
> the connection immediately after it is made.
>
> 3) Remove mgetty and everything works again.
----------
Chris Bagwell | Alcatel Network Systems
cbagwell@aud.alcatel.com | Richardson, Texas