Michael Talbot-Wilson wrote:
> 
> On Wed, 24 Mar 1999, Oliver Schulze wrote:
> 
> > Hi,
> > I'm trying to obtain the pid of a pppd that creates a ppp interface given
> > the interface name.
> > I'm working in Linux 2.2.2
> >
> > ...
> > for the string "ppp" in 'icf.ifc_req[i].ifr_name'. The variable 'i' grow until
> > ...
> 
> It is in /var/run/$IFNAME.pid.
> 
> If you mean given the IP address of the peer, put this in ip-up:
> 
> FILENAME=/var/run/ppp_$IPREMOTE
> echo $IFNAME >$FILENAME
> chmod 644 $FILENAME

Hi Michael,
this file (/var/run/$IFNAME.pid) is created by default by the ppp package?

I'm developing a program that need to know the pid of the running ppp(s).
And I want to obtain that info while keeping the system/packege requirement
as low as posible.
My app currently need gtk+1.2 and Linux and I dont't know if there is another
ppp packege out there for Linux.

Best Regards
Oliver
-- 
Oliver Schulze L.
[EMAIL PROTECTED]
Asuncion-Paraguay
http://www.pla.net.py/home/oliver/gpppkill/

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to