[BusyBox] ifconfig: RX=TX bytes always?

Giulio Orsero giulioo at pobox.com
Wed Mar 14 21:01:50 UTC 2001


2.2.16/glibc-2.1.2/egcs-2.91.66
cvs 2001-03-14 20.47 UTC

The bytes counters for TX and RX are the same even though /proc shows they are
different:

$ uname -r
2.2.16-22.g3
$ grep eth0 /proc/net/dev;./busybox ifconfig eth0|egrep "RX|TX"
  eth0:2164740676 29494874 7991    0 4135  7991          0         0 2385140487
28490644    0    0    0 254777      38          0
          RX packets:29494874 errors:7991 dropped:0 overruns:4135 frame:7991
          TX packets:28490644 errors:0 dropped:0 overruns:0 carrier:38
          RX bytes:2164740676 (2064.4 Mb)  TX bytes:2164740676 (2064.4 Mb)

$ grep eth0 /proc/net/dev;./busybox ifconfig eth0|egrep "RX|TX"
  eth0:2164741010 29494879 7991    0 4135  7991          0         0 2385141117
28490647    0    0    0 254777      38          0
          RX packets:29494879 errors:7991 dropped:0 overruns:4135 frame:7991
          TX packets:28490647 errors:0 dropped:0 overruns:0 carrier:38
          RX bytes:2164741010 (2064.4 Mb)  TX bytes:2164741010 (2064.4 Mb)

$ grep eth0 /proc/net/dev;./busybox ifconfig eth0|egrep "RX|TX"
  eth0:2164825969 29496218 7991    0 4135  7991          0         0 2387106416
28492870    0    0    0 254943      38          0
          RX packets:29496218 errors:7991 dropped:0 overruns:4135 frame:7991
          TX packets:28492870 errors:0 dropped:0 overruns:0 carrier:38
          RX bytes:2164825969 (2064.5 Mb)  TX bytes:2164825969 (2064.5 Mb)
$

The funny thing is that this morning cvs (and it seems ifconfig was not touched
since then) was working even if
./busybox ifconfig eth0
produced no output, see
http://busybox.net/lists/busybox/2001-March/002496.html

Do you think I have something misconfigured on my system?

-- 
giulioo at pobox.com





More information about the busybox mailing list