Subject: Re: your mail
To: Ben Bogart <b_bogart@portal.ca>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: port-amiga
Date: 05/01/1999 22:14:16
On Sat, May 01, 1999 at 12:44:20PM -0700, Ben Bogart wrote:
> How do I make sure that pppd always starts with the same pid? I tried putting 
> an entry into /var/run/ but of course it was ereased at bootup, i alsp tried 
> putting a pppd.pid in the /etc/ppp dir and still not luck.. Also in the pppd 
> man page ones of the files listed is /var/run/ppp0.pid and i assume this is 
> not the same as the pid for pppd. I want to have a constant pid so that i can 
> stop ppp with a mouse click. (in fvwm)

nice idea, but you tried it the wrong way round.

Actually, /var/run/ppp0.pid will contain the process id of the pppd serving
the ppp0 interface. Do a

kill -TERM `/bin/cat /var/run/ppp0.pid`

to stop it.

Regards,
	Ignatios