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
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]