Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 1998 07:16:09 +0200 (SAT)
From:      Peter van Heusden <pvh@leftside.wcape.school.za>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Detecting state of PPP
Message-ID:  <Pine.BSF.3.95.980305071307.15655F-100000@leftside.wcape.school.za>

next in thread | raw e-mail | index | archive | help
Hi 

How does one go about writing a program to check if a PPP link is up or
down? I'm running PPP in -auto mode, and I'd like to be able to tell
whether the PPP link is actually up (i.e. the modem connection is in
place) at any particular time. Unfortunately, the flags on tun0 stay the
same (0x8051 on my system) whether the modem is connected or not. What
should I be looking at?

Thanks,
Peter
--
Peter van Heusden |    Computers Networks Reds Greens Justice Peace Beer Africa
pvh@leftside.wcape.school.za | Support the SAMWU 50 litres campaign!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980305071307.15655F-100000>