List All Network Hardware from Command Line in Mac OS
The networksetup utility offers a command line interface to configuring the variety of Mac networking features available in Mac OS X. We’ve discussed networksetup and accompanying features many times here for more advanced purposes, but one of the simpler uses of networksetup is that it can list out every piece of networking hardware attached to a Mac, it’s accompanying device interface, and it’s associated address. This works to list both internal networking components and external connected networking devices as well, so if you’re using an external NIC card, you should find it here.