Re:Detect PPP interface ?
- From: "Daniel M. German" <dmg csg uwaterloo ca>
- To: Magnus Wirström <asd mail bip net>
- To: gnome-devel-list gnome org
- Subject: Re:Detect PPP interface ?
- Date: Wed, 28 Jun 2000 14:16:26 -0400 (EDT)
Magnus> Hi ...
Magnus> I am writing a simple ppp0 dialer ... and I wonder if anyone knows how
Magnus> to detect if ppp0 is up and running in a simple way ... Would also be
Magnus> nice to to get some status stuff too =)
Magnus> All in this in GNOME of course =)
Try to open /proc/net/dev and scan for any ppp interface. It is the
most reliable way, at least under linux.
--
Daniel M. German "As De Gaulle used to say:
'Aim well, shoot fast
Henri Cartier Bresson -> and get the hell out.'"
http://csgwww.uwaterloo.ca/~dmg/home.html
dmg@csg.uwaterloo.ca
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]