From owner-freebsd-net@FreeBSD.ORG Sat Apr 26 11:29:07 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4960837B401 for ; Sat, 26 Apr 2003 11:29:07 -0700 (PDT) Received: from mx3.absolight.com (mx3.absolight.net [212.43.217.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E88E43F75 for ; Sat, 26 Apr 2003 11:29:06 -0700 (PDT) (envelope-from mat@mat.cc) Received: by mx3.absolight.com (Postfix, from userid 1007) id 192D42A0E; Sat, 26 Apr 2003 20:29:05 +0200 (CEST) X-Original-To: freebsd-net@freebsd.org Received: from sauron.in.mat.cc (sauron.in.mat.cc [212.43.217.122]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client did not present a certificate) by mx3.absolight.com (Postfix) with ESMTP id 57B432A0B for ; Sat, 26 Apr 2003 20:28:59 +0200 (CEST) Date: Sat, 26 Apr 2003 20:28:46 +0200 From: Mathieu Arnold To: freebsd-net@freebsd.org Message-ID: <89158390.1051388926@sauron.in.mat.cc> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: pppstats and ppp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 18:29:07 -0000 Hi, I'm using ppp to establish vpns, and I wanted to use pppstats to gather some instant statistics on it, but it seems that pppstats only works with pppd (which I never saw before). Is there a way to have it work with ppp ? # ifconfig tun0 tun0: flags=8051 mtu 1498 inet6 fe80::2a0:ccff:fe5e:c93d%tun0 prefixlen 64 scopeid 0x4 inet 212.43.217.121 --> 10.0.5.2 netmask 0xffffffff Opened by PID 33485 # pppstats tun0 pppstats: invalid interface 'tun0' specified pppstats: couldn't get PPP statistics: Invalid argument I can have some things with netstat -i, but it's not what pppstats can give me. -- Mathieu Arnold