From owner-freebsd-questions Fri Feb 16 09:38:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA18744 for questions-outgoing; Fri, 16 Feb 1996 09:38:02 -0800 (PST) Received: from wsantee.oz.net (wsantee.oz.net [204.118.240.207]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA18739 for ; Fri, 16 Feb 1996 09:37:58 -0800 (PST) Received: (from wsantee@localhost) by wsantee.oz.net (8.6.12/8.6.12) id JAA21846; Fri, 16 Feb 1996 09:36:37 -0800 Message-Id: <199602161736.JAA21846@wsantee.oz.net> Subject: Re: Solution: Telling if User PPP is up or down To: Mark.Olear@Colorado.EDU (Mark G. M. O'Lear) Date: Fri, 16 Feb 1996 09:36:37 -0800 (PST) From: "Wes Santee" Cc: questions@freebsd.org In-Reply-To: <3124A104.2C42@Colorado.EDU> from "Mark G. M. O'Lear" at Feb 16, 96 08:21:40 am X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk 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 | ) ( (backup) | No one told you when to run... ) ( http://www.oz.net/~wsantee \------------------------------- ) ( finger for PGP info Powered by FreeBSD )