Re: ifconfig accounting wrong?

Linux Kernel List (kernel@lab.housing.fsu.edu)
Mon, 10 Feb 1997 16:47:07 -0500 (EST)


This could account for my Massive amount of errors/ dropped packets in
ppp0 when tcpdump did not show anything funny (I don't think so I am not
quite shure what should be there), also ppp0 for some reason made two
route entries for the terminal server and would not let me remove them
unless I did an ifconfig ppp0 down.

ppp0 Link encap:Point-Point Protocol
inet addr:128.186.227.250 P-t-P:128.186.227.102 Mask:255.255.255.255
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:0 errors:3892 dropped:1 overruns:1
TX packets:0 errors:0 dropped:4041 overruns:0

I am running 2.1.26 with glibc 2.0

On Sat, 8 Feb 1997, Chris Lo wrote:

>
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
> UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
> RX packets:0 errors:20 dropped:0 overruns:0
> TX packets:0 errors:0 dropped:20 overruns:0
>
> dummy0 Link encap:10Mbps Ethernet HWaddr 00:00:00:00:00:00
> inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0
> UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0
> TX packets:0 errors:0 dropped:0 overruns:0
>
> ppp0 Link encap:Point-Point Protocol
> inet addr:152.101.192.5 P-t-P:152.101.254.1 Mask:255.255.255.255
> UP POINTOPOINT RUNNING MTU:1500 Metric:1
> RX packets:0 errors:7 dropped:0 overruns:0
> TX packets:0 errors:0 dropped:8 overruns:0
>
>
> hkucs92:~# ifconfig -V
> Linux NET-3 Base Utilities
> Source: net-tools 1.32-alpha net-tools@lina.inka.de (Bernd Eckenfels)
> Kernelsource: 2.1.7
> ifconfig 1.22 (1996-05-09)
>
>
> I am recompiling net-tool 1.32 alpha, but it complains incomplete field,
> probably this is the problem...
>
> gcc -O2 -Wall -fomit-frame-pointer -I. -Ilib -c ifconfig.c -o
> ifconfig.o
> ifconfig.c:76: field `stats' has incomplete type
>
> Chris
>
>