I'm guessing a bit here, but I *think* what Craig wants is a an "ip" command that lists ALL interfaces, not *just* CONFIGURED interfaces (that is, interfaces with an IP address assigned). The more familiar analogy in Linux circles would be the difference between "ifconfig" and "ifconfig -a" ... he wants an equivalent to the second.

If I am correct in my guess about what "ipconfig /all" reports (and I'm no Windows expert, though I do use Windows, so I may easily be wrong), then I think that "ip" lacks this capability. At least I've never found one. But you might check to see if unconfigured interfaces are listed directly in the pseudo-file /proc/net/dev ... I can't tell from the description in "man proc".

And if I may made a suggestion ... asking for a LEAF or Linux equivalent to a specific Windows command is a tough way to pose a question to a bunch of Linux experts ... not so much because you run into anti-Windows prejudice (though the assumption that Windows commands are the lingua franca of computing can easily annoy even people who are not Windows bashers), but because people who know the command you are asking about may not know that it is equivalent to an unfamiliar Windows command. By all means *refer* to the Windows command, but please also *describe* the sort of output you are looking for, to increase the chances of your getting a helpful response.

At 08:38 PM 10/27/02 +0200, Vladimir I. wrote:
The closest thing I can think of is "ip addr".
To get DNS settings, do "cat /etc/resolv.conf".

Craig wrote about "[leaf-user] Bering equivalent to ipconfig /all ?":

> Hi folks,
> I understand that, by default, Bering uses the iproute2 command suite
> (right?), and I'm trying to figure out how to perform the Windows
> equivalent to an ipconfig /all command. Suggestions? Thank you.



--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  [EMAIL PROTECTED]
-------------------------------------------------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to