[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: finding status of pppd in demand mode



also sprach ben <benfoley@rcn.com> [2002.07.15.2125 +0200]:
> > reflected in /proc/net/route (/sbin/route) or /proc/net/dev
> > (/sbin/ifconfig). pinging a host on the outside is not a good way to
> > query the status for obvious reasons, so i am wondering if you know of
> > a way to query a running on-demand pppd for its link status.
> >
> just thought of netstat -i pppd0. that should tell you if the link is up or 
> not.

thanks for the suggestion, but compare this to /proc/net/dev...
netstat -i also does not show a difference...

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
"in the country of the blind,
 the one-eyed man is not king.
 he is taken to be a hallucinating lunatic."
                                                     -marshall mcluhan

Attachment: pgpOj_ILeKkKJ.pgp
Description: PGP signature


Reply to: