Hardware Identification (NICs)

From: Shane (aka froggy) (spamspamuber.l33t.god_at_spamgmail.com)
Date: 03/11/05


Date: Fri, 11 Mar 2005 21:20:52 +1300

I'm not sure how to google for this (that should cover my ass for some
flames)
what I want is to issue a command at a prompt that will tell me the NIC's
I have installed on my box
now before I get overloaded with 'ifconfig -a' or 'man ifconfig' replys
the problem is I want only the 'rl0' or 'xl0' or w/ever the case may be
My guess is some grep or other needs piping in.. but guesses so far havent
got the desired result
Also dmesg is no good because its also giving too much info
TIA

-- 
Hardware, n.: The parts of a computer system that can be kicked
\|/ ____ \|/
"@'/ ,. \'@"
/__|\__/|__\
   \__U_/	    


Relevant Pages

  • Re: [SLE] 10.0: no net, now what, contd
    ... > When you're in Linux open a console shell issue the command ... > the ifconfig command, and place it at the beginning of that line, left ... > hardware problem. ... >> YaST from the desktop, and how to add its icon there.) ...
    (SuSE)
  • Re: Desired behaviour of "ifconfig -alias"
    ... ifconfig bce0 -alias ... It turns out that this command eliminated the primary IP for the ... are running in automated scripts, ... an interface are equal, just like hardlinks on a file. ...
    (freebsd-stable)
  • Re: ifconfig command shows only loopback device.
    ... unix syzadmin wrote: ... command shows 2 entries for Intel Corporation 82544EIGigbit Ethernet ... However the "ifconfig" shows only loopback device. ...
    (RedHat)
  • Re: networking: fixed ip address and dhcp
    ... "route -n" command) ... ifconfig eth1 XXX.YYY.ZZZ.WWW netmask 255.255.255.0 ... This does not work now - I can't ping out. ...
    (Debian-User)
  • Re: [SLE] Adding a secondary IP onto NIC
    ... > You appear to have found a bug in the ifup script of SuSE 9.1. ... I don't see any bug in ifup script. ... But, ifup uses ip command, not ifconfig, to configure interfaces. ...
    (SuSE)