Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 1996 09:36:37 -0800 (PST)
From:      "Wes Santee" <wsantee@wsantee.oz.net>
To:        Mark.Olear@Colorado.EDU (Mark G. M. O'Lear)
Cc:        questions@freebsd.org
Subject:   Re: Solution: Telling if User PPP is up or down
Message-ID:  <199602161736.JAA21846@wsantee.oz.net>
In-Reply-To: <3124A104.2C42@Colorado.EDU> from "Mark G. M. O'Lear" at Feb 16, 96 08:21:40 am

next in thread | previous in thread | raw e-mail | index | archive | help
Mark G. M. O'Lear sez:
> 
> What about ifconfig -au?  It only returns a list of interfaces
> that are up.  ifconfig -a lists all with their up/down status
> as well.
> 

The only problem is that the tunnel driver that the PPP daemon
communicates on is still marked up by ifconfig even if the actual
phone link is down.  Maybe I should just hack a command line switch
into ppp to bring the link down if it's up, or vice versa if the
daemon is already in memory.  Hmmm...

Cheers,
-- 
( -Wes Santee <wsantee@wsantee.oz.net>  |                                )
(             <wsantee@oz.net> (backup) | No one told you when to run... )
( http://www.oz.net/~wsantee            \------------------------------- )
( finger for PGP info                                 Powered by FreeBSD )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602161736.JAA21846>