[BusyBox] welcome ifconfig and route

Ray Olszewski ray at comarre.com
Mon Feb 19 16:49:35 UTC 2001


What about it? The sample you sent shows an "ip" command that closely
corresponds to "ifconfig". It is not, though, an equivalent to the
functionality of "ifconfig -a", which would list an *unconfigured* interface
(that is, one with no IP address). 

Do you know a way to make "ip" do that? If so, I've never found it. Neither
"ip addr show" nor "ip link show" reports unconfigured interfaces, and what
else is there?

At 07:44 AM 2/19/01 -0600, ssrat at mailbag.com wrote:
>On 18 Feb 2001, at 22:14, Ray Olszewski wrote:
>
>> You probably want to include "ifconfig -a" (show *all* interfaces,
>> not just *configured* interfaces, which is what plain "ifconfig"
>> does). It is a VERY basic troubleshooting tool. (The lack of an
>> equivalent is probably the main reason I hate working on systems
>> that use "ip" instead of "ifconfig" and "route".) 
>
>Ray, what about this?
>
># ip addr show
>1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue
>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
>2: eth0: <BROADCAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>    link/ether 00:00:c0:c0:94:e9 brd ff:ff:ff:ff:ff:ff
>    inet 172.16.30.9/16 brd 172.16.255.255 scope global eth0
>#



--
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA           	 	         ray at comarre.com        
----------------------------------------------------------------






More information about the busybox mailing list