pppstats and ppp

Mathieu Arnold mat at mat.cc
Sat Apr 26 11:29:07 PDT 2003


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<UP,POINTOPOINT,RUNNING,MULTICAST> 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


More information about the freebsd-net mailing list