[BusyBox] Ethernet stat in ifconfig ?

Jean-Christophe Dubois jdubois at mc.com
Thu Aug 26 16:26:46 UTC 2004


Hello

The old busybox (0.60.5) was able to fill in the stat portion of the
Ethernet device in the "ifconfig" command. The new (1.00-rc3) seems
unable to retrieve any stat. My kernel is 2.6.7 (ppc) and my glibc is
2.3.3. The old busybox was compiled against glibc 2.2.3.

Anybody else seing the same behavior? Did I forget something or is there
a bug?

Thanks

JC

Please press Enter to activate this console.


BusyBox v0.60.5 (2003.09.12-16:06+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7436 (7.2 kiB)  TX bytes:7436 (7.2 kiB)

mcipr0    Link encap:Ethernet  HWaddr 40:00:00:00:00:02
          inet addr:10.0.0.2  Bcast:10.0.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:64000  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:128
          RX bytes:2816 (2.7 kiB)  TX bytes:1220 (1.1 kiB)

# uname -a
Linux node2 2.6.7 #2 Thu Aug 26 15:52:11 GMT 2004 ppc unknown
#

-------------------------------------------------------------

Please press Enter to activate this console.


BusyBox v1.00-rc3 (2004.08.20-12:55+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
~ # ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

mcipr0    Link encap:Ethernet  HWaddr 40:00:00:00:00:02
          inet addr:10.0.0.2  Bcast:10.0.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:64000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:128
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~ # uname -a
Linux node2 2.6.7 #2 Thu Aug 26 15:52:11 GMT 2004 ppc unknown
~ #

-- 
Jean-Christophe Dubois <jdubois at mc.com>
Mercury Computer Systems




More information about the busybox mailing list