Subject: Re: ppp problems all over again.
To: Dave Huang <khym@bga.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 04/02/1997 09:49:11
> When pppd is running, it creates a file called ppp0.pid containing its own
> process ID in /var/run... so, instead of having to ps and grep for pppd, 
> you can do
> 
> kill `cat /var/run/ppp0.pid`
> 
> instead.

Another option is to add the "lock" option. pppd will then generate a
uucp lock file, which lives somewhere in var. The advantage of this
method is that it is named based on the tty port rather than the ppp
number. The difference comes when you have two pppd's up at once. This
way, it doesn't matter in what order you start the pppd's. You can always
kill the modem or the printer one.

:-)

Take care,

Bill