PDA

View Full Version : busybox tool to view current network settings?


hoopsbwc34
03-07-2007, 03:25 AM
just want to write the current settings down before I do a slice update, but I can't remember what binary to use :o

xdz
03-11-2007, 03:19 AM
Not a busybox tool, but "ifconfig -a" will show you your interface settings.

Butch
03-11-2007, 03:33 AM
From a Fresh TiVo REstart I get

HD TIVO-TiVo/var/tmp$ ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 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 coll:0

eth0 Link encap:Ethernet HWaddr 00:E0:98:8F:E9:6B
inet addr:192.168.0.222 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:940 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:25543 dropped:272 overruns:186 carrier:0 coll:0

HD TIVO-TiVo/var/tmp$ ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 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 coll:0

eth0 Link encap:Ethernet HWaddr 00:E0:98:8F:E9:6B
inet addr:192.168.0.222 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:946 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:26494 dropped:275 overruns:189 carrier:0 coll:0

I am getting about 1000 errors ever few seconds as you can see from when I ran the command right after each other.
Is the normal is should I start investigating the problem?

Jamie
03-11-2007, 01:23 PM
I am getting about 1000 errors ever few seconds as you can see from when I ran the command right after each other.
Is the normal is should I start investigating the problem?Use the ifconfig in the backport package. The one that tivo ships in some software versions is broken and incorrectly reports errors when there aren't any.