mgetty and pppd locking problem

RH Linux User (amulyon@ipass.net)
Sun, 9 May 1999 14:13:49 -0400


Hi there,

Installed mgetty-1.1.14-5.rpm on RedHat 5.2 and changed /dev/modem to point
to /dev/ttyS1 intead of /dev/cua1 and in /etc/ppp/options file also 
according to mgetty docs.

Edited /etc/inittab file and issued 'init q' command as root.
additional line in /etc/inittab file:
7:2345:respawn:/sbin/mgetty -x 2 /dev/ttyS1

mgetty seems to be watching ttyS1 port correctly but when I started pppd,
it won't connect at all. mgetty should be able to do dial-in and dial-out
right?

I noticed pppd and mgetty created totally different lock file in /var/lock
directory.
pppd created LCK..modem and mgetty created LCK..ttyS1
I suspect this the cause of the problem.
How do i change pppd to create LCK..ttyS1 lock file during run-time?

Any help would be appreciated.

Aris


-- 
"All language designers are arrogant.  Goes with the territory..."
(By Larry Wall)